mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-24 09:30:36 +00:00
7633439845
Our block.Block was JSONized in a bit different fashion than result.Block in its NextConsensus and Index fields. It's not good for notifications because third-party clients would probably expect to see the same format. Also, using completely different Block representation is probably making our client a bit weaker as this representation is harder to use with other neo-go components. So use the same approach we took for Transactions and wrap block.Block which is to be serialized in proper way. Fix `Script` JSONization along the way, 3.0 node wraps it within `witnesses`. |
||
---|---|---|
.. | ||
account_state.go | ||
application_log.go | ||
asset_state.go | ||
block.go | ||
block_header.go | ||
claimable.go | ||
contract_state.go | ||
invoke.go | ||
nep5.go | ||
peers.go | ||
peers_test.go | ||
tx_output.go | ||
tx_raw_output.go | ||
unclaimed.go | ||
unspents.go | ||
validate_address.go | ||
validator.go | ||
version.go |