This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 458
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve chain connector storage (#9198)
* ♻️ Add ability to save inclusion proofs at every new block - Add config to take keepInclusionProofsForHeights and inclusionProofKeys - Add DB update to get/set/delete inclusionProofs - Add handler in new block event to save inclusion proofs - Add endpoint for chain to get inclusion proofs by height * ♻️ Move inclusion proof collection to consensus * ♻️ Save inclusionProofs on both block receive and generate * ♻️ Improve chain connector plugin - Improve storage to retrieve by key/val and delete efficiently instead of managing full array - Reduce number of RPC calls during new block event - Improve cleanup * ♻️ Update plugin to manage last sent CCU and CCM * ♻️ Update interop examples * 🌱 Add license * ♻️ Manage validatorsHash by height * ♻️ Improve CCU storage management * ♻️ Add tests and improve code base * ✅ Add tests for block event handler * ✅ Add ccmHandler unit tests * ♻️ Unable CCU sending when receiving chain is syncing * ♻️ Handle error at new block subscribe
- Loading branch information
Showing
26 changed files
with
4,839 additions
and
3,518 deletions.
There are no files selected for viewing
9 changes: 7 additions & 2 deletions
9
examples/interop/pos-mainchain-fast/config/custom_config_node_one.json
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
9 changes: 7 additions & 2 deletions
9
examples/interop/pos-mainchain-fast/config/custom_config_node_two.json
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
9 changes: 0 additions & 9 deletions
9
examples/interop/pos-mainchain-fast/config/default/config.json
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.