Commit graph

9 commits

Author SHA1 Message Date
Daniel Liu
f781cee1b8
feat(rlp): add RawList for working with un-decoded lists #33755 (#2040)
This adds a new type wrapper that decodes as a list, but does not
actually decode the contents of the list. The type parameter exists as a
marker, and enables decoding the elements lazily. RawList can also be
used for building a list incrementally.

Co-authored-by: Felix Lange <fjl@twurst.com>
2026-02-28 16:53:16 +04:00
Daniel Liu
56b353bda6
rlp: no need to repeat called len method #29936 (#1400)
rlp: no need to repeat calling len

Co-authored-by: Marquis Shanahan <29431502+9547@users.noreply.github.com>
2025-08-31 15:50:51 +08:00
Daniel Liu
f6bddb669f rlp: upgarde package rlp to 2024-05-15 2024-05-17 10:10:15 +08:00
Daniel Liu
01e1728a94 all: add support for EIP-2718, EIP-2930 transactions (#21502) 2024-05-14 23:15:35 +08:00
Felix Lange
2499b1b139
rlp: fix string size check in readKind (#15625)
Issue found by @guidovranken
2017-12-11 22:47:10 +01:00
S. Matthew English
061889d4ea rlp, trie, contracts, compression, consensus: improve comments (#14580) 2017-06-12 14:45:17 +02:00
Felix Lange
fc8b246109 rlp: move ListSize to raw.go 2015-09-10 19:41:51 +02:00
Felix Lange
24bb68e7cf rlp: add RawValue 2015-09-10 19:41:51 +02:00
Felix Lange
bc17dba8fb rlp: add Split functions
These functions allow destructuring of raw rlp-encoded bytes
without the overhead of reflection or copying.
2015-09-10 19:41:51 +02:00