forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[consensus] block metadata uses a bitmap of validators
Convert block metadata to use a bitmap of validators to denote voters instead of the previous list of voters. This will make the block metadata smaller; it will be especially noticeable with a large set of validators and a small number of transactions. This change deprecates the existing previous_block_votes column in indexer. The new column previous_block_votes_bitmap contains the information as a bitmap. For users of indexer (e.g., explorer) to map this to the actual addresses, the sorted validator list per epoch is also needed. This is future work. Closes: aptos-labs#712
- Loading branch information
Showing
43 changed files
with
594 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.