• zelig's avatar
    test for invalid rlp encoding of block in BlocksMsg · 82da6bf4
    zelig authored
    - 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
    82da6bf4
protocol_test.go 9.65 KB