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 | |
---|---|---|
.. | ||
block.go | Merge branch 'develop' into jae/literefactor4 | 6 years ago |
errors.go | replace errors.go with github.com/pkg/errors (2/2) (#3890) | 5 years ago |
proof.go | General Merkle Proof (#2298) | 6 years ago |
proxy.go | Fix linter errors thrown by `lll` (#3970) | 5 years ago |
query.go | fix linter errors thrown by `unconvert`, `goconst`, and `nakedret` (#3960) | 5 years ago |
query_test.go | add staticcheck linting (#3828) | 5 years ago |
validate_test.go | types.NewCommit (#3275) | 6 years ago |
verifier.go | Fix linter errors thrown by `lll` (#3970) | 5 years ago |
wrapper.go | rpc: remove duplication of data in `ResultBlock ` (#3856) | 5 years ago |