Skip to content
This repository was archived by the owner on Feb 23, 2022. It is now read-only.

add basic description of ABCI Commit.ResponseHeight - #85

Merged
melekes merged 1 commit into
tendermint:masterfrom
erikgrinaker:erik/retain_height
Apr 14, 2020
Merged

melekes merged 1 commit into
tendermint:masterfrom
erikgrinaker:erik/retain_height

Conversation

@erikgrinaker

Copy link
Copy Markdown
Contributor

Documentation for block pruning, once it's merged: tendermint/tendermint#4588.

Minimum documentation, for now - we probably shouldn't encourage using this feature too much until we release state sync.

@tac0turtle tac0turtle left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, should RetainHeight be a uint64, will it ever be negative?

@melekes melekes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@melekes
melekes merged commit ebda9dc into tendermint:master Apr 14, 2020
@erikgrinaker
erikgrinaker deleted the erik/retain_height branch April 14, 2020 08:39
@erikgrinaker

Copy link
Copy Markdown
Contributor Author

should RetainHeight be a uint64, will it ever be negative?

Yes, it should, but all the other height parameters in ABCI use int64 so I kept it for consistency. At some point we should move them all to uint64.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants