diff options
author | zelig <viktor.tron@gmail.com> | 2015-03-30 20:48:07 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-04-01 19:32:42 +0800 |
commit | 82da6bf4d213784cfc7ba45432f9f96c2d6b4d9d (patch) | |
tree | 6d286d1ba2aad4234efd16f87024f287ce12106a /common | |
parent | d677190f3916c5bee276d9abba69814022ab967f (diff) | |
download | dexon-82da6bf4d213784cfc7ba45432f9f96c2d6b4d9d.tar dexon-82da6bf4d213784cfc7ba45432f9f96c2d6b4d9d.tar.gz dexon-82da6bf4d213784cfc7ba45432f9f96c2d6b4d9d.tar.bz2 dexon-82da6bf4d213784cfc7ba45432f9f96c2d6b4d9d.tar.lz dexon-82da6bf4d213784cfc7ba45432f9f96c2d6b4d9d.tar.xz dexon-82da6bf4d213784cfc7ba45432f9f96c2d6b4d9d.tar.zst dexon-82da6bf4d213784cfc7ba45432f9f96c2d6b4d9d.zip |
test for invalid rlp encoding of block in BlocksMsg
- rename Validate -> ValidateFields not to confure consensus block validation
- add nil transaction and nil uncle header validation
- remove bigint field checks: rlp already decodes *big.Int to big.NewInt(0)
- add test for nil header, nil transaction
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions