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.
Showing
core/types/json.go
0 → 100644
core/types/json_test.go
0 → 100644
This diff is collapsed.
core/vm/log_test.go
0 → 100644
Please register or sign in to comment