neoneo-go/pkg
Roman Khimov de2eeb4671 rpc: add one to the block height for the getblockcount response
There is a difference in interpretation of what a block count is. neo-go nodes
currently respond to this request with the latest block number which is the
same number that neoscan.io shows. However, C# nodes deliberately do add one
to this number when answering to the getblockcount request to account for the
genesis block number 0.

This patch makes us consistent with C# nodes wrt to getblockcount behaviour.
2019-11-01 20:13:00 +03:00
..
core Merge pull request #463 from nspcc-dev/smartcontract-fixes 2019-10-29 20:54:46 +03:00
crypto fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
internal/keytestcases *: add/fix godoc comments to satisfy golint 2019-09-03 17:57:51 +03:00
interop fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
io fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
network network: add default MinPeers 2019-11-01 13:39:47 +03:00
rpc rpc: add one to the block height for the getblockcount response 2019-11-01 20:13:00 +03:00
smartcontract smartcontract: fix PropertyState definitions 2019-10-25 11:05:58 +03:00
util fix spelling and godoc comments 2019-10-22 17:56:03 +03:00
vm Merge pull request #463 from nspcc-dev/smartcontract-fixes 2019-10-29 20:54:46 +03:00
wallet fix spelling and godoc comments 2019-10-22 17:56:03 +03:00