Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Low priority) Add disabled-by-default quorum storage support #702

Merged
merged 2 commits into from
Jul 17, 2019

Conversation

jagerman
Copy link
Member

@jagerman jagerman commented Jul 2, 2019

This adds support for storing N blocks of recent expired quorum state
history in lokid (and dumping to/from the lmdb).

This isn't useful for regular nodes (and that's why we don't store it)
but is incredibly useful for the block explorer to be able to report
which node got deregistered/decommissioned/etc. by a given
state_change tx.

I'm not sure that we should necessarily worry about merging this for the 4.0.0 release, but it is very nice to have on the block explorer, for example to be able to see these details from a tx a day ago: https://tn.imaginary.stream/tx/009add352449842d8d99af736ff584e1a16574487675739355161f66a862d11a

@jagerman jagerman changed the title Add disabled-by-default quorum storage support (Low priority) Add disabled-by-default quorum storage support Jul 2, 2019
Copy link
Collaborator

@Doy-lee Doy-lee left a comment

Choose a reason for hiding this comment

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

When rebased, this should be good to go.

This adds support for storing N blocks of recent expired quorum state
history in lokid (and dumping to/from the lmdb).

This isn't useful for regular nodes (and that's why we don't store it)
but is incredibly useful for the block explorer to be able to report
*which* node got deregistered/decommissioned/etc. by a given
state_change tx.
@jagerman
Copy link
Member Author

Rebased (and squashed) in 401aa32; 32a17df fixes the copy bug.

@Doy-lee Doy-lee merged commit 5b819ba into oxen-io:dev Jul 17, 2019
jagerman added a commit to jagerman/loki that referenced this pull request Jul 17, 2019
Doy-lee pushed a commit that referenced this pull request Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants