erigon-pulse/rlp
battlmonstr 04f3e9004c
rlp: add support for optional struct fields (#22832) (#3977)
This adds support for a new struct tag "optional". Using this tag, structs used
for RLP encoding/decoding can be extended in a backwards-compatible way,
by adding new fields at the end.

see geth commit 700df1442d

Co-authored-by: Felix Lange <fjl@twurst.com>
2022-04-26 18:24:23 +07:00
..
decode_tail_test.go
decode_test.go rlp: add support for optional struct fields (#22832) (#3977) 2022-04-26 18:24:23 +07:00
decode.go rlp: add support for optional struct fields (#22832) (#3977) 2022-04-26 18:24:23 +07:00
doc.go rlp: add support for optional struct fields (#22832) (#3977) 2022-04-26 18:24:23 +07:00
encode_test.go rlp: add support for optional struct fields (#22832) (#3977) 2022-04-26 18:24:23 +07:00
encode.go rlp: add support for optional struct fields (#22832) (#3977) 2022-04-26 18:24:23 +07:00
encoder_example_test.go
iterator_test.go
iterator.go
raw_test.go Try to solve sentry hanging problem + p2p impovement from geth (#2191) 2021-06-18 12:47:46 +01:00
raw.go Try to solve sentry hanging problem + p2p impovement from geth (#2191) 2021-06-18 12:47:46 +01:00
typecache.go rlp: add support for optional struct fields (#22832) (#3977) 2022-04-26 18:24:23 +07:00