plugeth/rlp
Or Neeman 9ec32a9e7b
rlp: handle case of normal EOF in Stream.readFull (#22336)
io.Reader may return n > 0 and io.EOF at the end of the input stream.
readFull did not handle this correctly, looking only at the error. This fixes
it to check for n == len(buf) as well.
2021-02-18 10:19:49 +01:00
..
decode_tail_test.go all: update license information 2016-04-15 09:48:05 +02:00
decode_test.go rlp: handle case of normal EOF in Stream.readFull (#22336) 2021-02-18 10:19:49 +01:00
decode.go rlp: handle case of normal EOF in Stream.readFull (#22336) 2021-02-18 10:19:49 +01:00
doc.go rlp: improve nil pointer handling (#20064) 2019-09-13 11:10:57 +02:00
encode_test.go all: simplify nested complexity and if blocks ending with a return statement (#21854) 2020-11-25 09:24:50 +01:00
encode.go rlp: reduce allocations for big.Int and byte array encoding (#21291) 2020-07-06 11:17:09 +02:00
encoder_example_test.go rlp: improve nil pointer handling (#20064) 2019-09-13 11:10:57 +02:00
iterator_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
iterator.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
raw_test.go core/types, rlp: optimize derivesha (#21728) 2020-11-04 19:29:24 +01:00
raw.go core/types, rlp: optimize derivesha (#21728) 2020-11-04 19:29:24 +01:00
typecache.go rlp: reduce allocations for big.Int and byte array encoding (#21291) 2020-07-06 11:17:09 +02:00