Commit Graph

46 Commits (f260a9edb98e001670c50959532b1811025f45f6)

Author SHA1 Message Date
Martin Holst Swende 58d0f6440b
rlp: support for uint256 (#26898) 2 years ago
Roberto Bayardo 4a81e5afea
rlp: add more tests for nil pointer / optional field encoding (#26077) 2 years ago
Delweng b196ad1c16
all: add whitespace linter (#25312) 2 years ago
lmittmann bc013bc42e
all: prefer `new(big.Int)` over `big.NewInt(0)` (#25087) 2 years ago
s7v7nislands 7caa2d8163
all: replace strings.Replace with string.ReplaceAll (#24835) 3 years ago
Felix Lange 9b93564e21
rlp/rlpgen: RLP encoder code generator (#24251) 3 years ago
Felix Lange 4d33de9b49
rlp: optimize big.Int decoding for size <= 32 bytes (#22927) 4 years ago
Felix Lange 154ca32a8a
rlp: optimize byte array handling (#22924) 4 years ago
Felix Lange 700df1442d
rlp: add support for optional struct fields (#22832) 4 years ago
Or Neeman 9ec32a9e7b
rlp: handle case of normal EOF in Stream.readFull (#22336) 4 years ago
Felix Lange 44b41641f8 rlp: fix staticcheck warnings (#20368) 5 years ago
Felix Lange 96fb839133
rlp: improve nil pointer handling (#20064) 5 years ago
Felix Lange 8deec2e45a
rlp: fixes for two corner cases and documentation (#19527) 6 years ago
Péter Szilágyi 63246e2542
rlp: fix decoding long strings into RawValue types 7 years ago
Felix Lange eee96a5bb7 rlp: add support for "-" struct tag 8 years ago
Felix Lange bb07ce3eed rlp: add "tail" struct tag 9 years ago
Felix Lange 24bb68e7cf rlp: add RawValue 9 years ago
Felix Lange bc17dba8fb rlp: add Split functions 9 years ago
Péter Szilágyi 1d2420323c rlp: add support for boolean encoding/decoding 9 years ago
Felix Lange bfbcfbe4a9 all: fix license headers one more time 9 years ago
Felix Lange 3f047be5aa all: update license headers to distiguish GPL/LGPL 9 years ago
Felix Lange 345590f27f rlp: fix check for canonical byte array size 9 years ago
Felix Lange ea54283b30 all: update license information 10 years ago
Felix Lange dd49c8e43d rlp: fix list bounds check overflow (found by go-fuzz) 10 years ago
Felix Lange 7180699d40 rlp: require declared number of input elements for array types 10 years ago
Felix Lange 4d5a518a0b rlp: stop accepting lists for byte slices and byte arrays 10 years ago
Felix Lange cad64fb911 rlp: stricter rules for structs and pointers 10 years ago
Felix Lange 1e2c93aa2d rlp: reject non-minimal input strings 10 years ago
Felix Lange 6e9f8035a1 rlp: stricter validation of canonical integer format 10 years ago
Felix Lange 6788f955c2 rlp: fix handling of single byte zero when decoding into a pointer 10 years ago
Felix Lange 2750ec47b7 rlp: fix integer overflow in list element size validation 10 years ago
Felix Lange c35f4fd0bd rlp: check top-level value sizes against input limit 10 years ago
obscuren 59597d23a5 Reject integers w/ appended zero's 10 years ago
Felix Lange a829a56587 rlp: add Stream.Raw 10 years ago
Felix Lange b41185a68f rlp: fix nil pointer decoding 10 years ago
Felix Lange fc92abec2c rlp: allow encoding non-empty interface values 10 years ago
Felix Lange 29c46cdf34 rlp: fix Decode benchmarks 10 years ago
Felix Lange 552f5b2693 rlp: add functions for encoding 10 years ago
obscuren 6abf8ef78f Merge 10 years ago
Felix Lange 6cf4e0329c rlp: display decoder target type in more error messages 10 years ago
Felix Lange 93e858f88e rlp: remove support for signed integer types 10 years ago
Felix Lange f816fdcb69 rlp: include target type in decoder error messages 10 years ago
Felix Lange 205af02a1f rlp: add NewListStream (for p2p) 10 years ago
Felix Lange 5a5560f105 rlp: add Stream.Reset and accept any reader (for p2p) 10 years ago
Felix Lange bd0a50fdc3 rlp: fix pointer reuse 10 years ago
Felix Lange 74266d5bbd rlp: new package for streaming RLP decoder 10 years ago