aboutsummaryrefslogtreecommitdiffstats
path: root/rlp/typecache.go
Commit message (Collapse)AuthorAgeFilesLines
* rlp: stricter rules for structs and pointersFelix Lange2015-04-171-14/+37
| | | | | | | | | | The rules have changed as follows: * When decoding into pointers, empty values no longer produce a nil pointer. This can be overriden for struct fields using the struct tag "nil". * When decoding into structs, the input list must contain an element for each field.
* rlp: add functions for encodingFelix Lange2015-01-151-5/+24
| | | | | | | | I'm reasonably confident that the encoding matches the output of ethutil.Encode for values that it supports. Some of the tests have been adpated from the Ethereum testing repository. There are still TODOs in the code.
* rlp: remove support for signed integer typesFelix Lange2014-12-091-2/+2
| | | | | There is no agreement on how to encode negative integers across implementations. cpp-ethereum doesn't support them either.
* rlp: move decoder type switch to decode.goFelix Lange2014-12-091-32/+3
|
* rlp: new package for streaming RLP decoderFelix Lange2014-11-171-0/+91