Marko
41403d5261
rpc: remove duplication of data in `ResultBlock ` (#3856)
## Issue: Removed BlockMeta in ResultBlock in favor of BlockId for /block Added block_size to BlockMeta this is reflected in /blockchain fixes #3188 added breaking as some clients may be using header from blockmeta instead of block in /block ## Commits: * cleanup block path Remove duplication of data in `/block` fixes #3188 Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * Remove duplication of data in `/block` - Created a secondary type to be used for /block fixes #3188 Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * remove commented out code * fix ci * add changelog_pending entry * remove extra variable * update swagger * change int to uint for blocksize * fix swagger * remove extensive comments * update changelog * fix conflicts after merge * use int for BlockSize and NumTxs in BlockMeta - with 99.9% guarantee, the size of either will never reach int32 - most of the Go "Size" stdlib functions return int |
5 years ago | |
---|---|---|
.. | ||
client | rpc: remove duplication of data in `ResultBlock ` (#3856) | 5 years ago |
core | rpc: remove duplication of data in `ResultBlock ` (#3856) | 5 years ago |
grpc | Fix linter errors thrown by `lll` (#3970) | 5 years ago |
lib | rpc/lib: fix RPC client, which was previously resolving https protocol to http (#4131) | 5 years ago |
swagger | rpc: remove duplication of data in `ResultBlock ` (#3856) | 5 years ago |
test | Relocate GenesisDocProvider and DefaultGenesisDocProviderFunc (#3693) | 6 years ago |