diff options
author | Felix Lange <fjl@twurst.com> | 2016-08-04 09:55:33 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-08-04 09:55:33 +0800 |
commit | 704fde01e8ed28877fe0f69fc8059b1f0c850d04 (patch) | |
tree | b57e6dd9b93806d5803b6a45c5d4c9ac8d382481 /p2p/rlpx_test.go | |
parent | 0c9a858f2d8094d48371deee97493a1b1412e7de (diff) | |
download | go-tangerine-704fde01e8ed28877fe0f69fc8059b1f0c850d04.tar.gz go-tangerine-704fde01e8ed28877fe0f69fc8059b1f0c850d04.tar.zst go-tangerine-704fde01e8ed28877fe0f69fc8059b1f0c850d04.zip |
core/types, core/vm: improve docs, add JSON marshaling methods
In this commit, core/types's types learn how to encode and decode
themselves as JSON. The encoding is very similar to what the RPC API
uses. The RPC API is missing some output fields (e.g. transaction
signature values) which will be added to the API in a later commit. Some
fields that the API generates are ignored by the decoder methods here.
Diffstat (limited to 'p2p/rlpx_test.go')
0 files changed, 0 insertions, 0 deletions