-
Notifications
You must be signed in to change notification settings - Fork 132
supplyverifier: add push syncer and universe server verification #1674
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
Open
ffranr
wants to merge
39
commits into
main
Choose a base branch
from
wip/supplycommit/add-verifier
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+7,350
−1,394
Open
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
4fc779b
supplycommit: simplify file name from multi_sm_manager.go to manager.go
ffranr a668d28
supplycommit: simplify struct names for clarity
ffranr 55a0810
supplycommit: add StartSupplyPublishFlow method to Manager
ffranr c4bcf0b
supplycommit: add AssetLookup interface to SupplyCommitManager
ffranr a786c59
supplycommit: check asset metadata before starting state machine
ffranr 25c4c47
supplyverifier: add SupplySyncer for syncing supply commit leaves
ffranr 2e60bca
tapdb: add supply syncer push log table
ffranr 97d2d0e
tapdb: add SQL queries for supply syncer push log
ffranr a200c2a
tapdb: add SupplySyncerStore
ffranr a673676
proof: rename txSpendsPrevOut for export
ffranr 5dd1b64
supplycommit: rename applyTreeUpdates for export
ffranr 4e2f32d
supplycommit: add UpdateRootSupplyTree for verifier use
ffranr b528cc4
tapdb: extract fetchRootSupplyTreeInternal from FetchRootSupplyTree
ffranr 2f2fcca
tapdb: add FetchSupplyTrees to retrieve all supply trees atomically
ffranr d8bbc5e
supplyverifier: add placeholder supply verifier state machine manager
ffranr 76c7449
taprootassets: add supply verifier manager to main server config
ffranr aa57d6e
universerpc: add InsertSupplyCommit RPC endpoint
ffranr 7dfd228
taprpc: remove FetchSupplyLeaves from public uni whitelist
ffranr 8645530
multi: move inclusion proof feature to FetchSupplyLeaves RPC
ffranr 6993f4c
rpcserver: add helper function unmarshalGroupKey
ffranr 6e983e6
rpcserver: add marshalSupplyLeaves and unmarshalSupplyLeaves
ffranr 17ea581
supplycommit: push supply commit to remote uni in CommitFinalizeState
ffranr cb1d7b6
tapdb+universe: consolidate code, link commitment to previous one
ffranr 2fda505
rpcserver: set previously added BlockHeader and MerkleProof fields
ffranr bd0b3b4
tapdb+universe: add SpentCommitment to RootCommitment
guggero ac04f32
rpc: add field spent_commitment_outpoint to InsertSupplyCommitRequest
ffranr 06c4679
taprootassets: add RpcSupplySync to bridge RPC and verifier syncer
ffranr f8086d4
tapcfg: pass the supply syncer into the supply commit manager
ffranr f38f51c
supplycommit: improve robustness of ApplyTreeUpdates
ffranr 3b002ca
supplyverifier: add verification logic and use in uni server insert
ffranr 2927455
supplyverifier+tapdb: add supply commit insert functionality
ffranr 00d8bc5
mssmt: add CopyFilter to Tree interface and tree implementations
ffranr ce9135e
supplycommit+tapdb: extend FetchSubTrees with block height end param
ffranr a2c5a17
supplyverifier: add FetchCommitment method
ffranr ffe5775
supplycommit: add CalcTotalOutstandingSupply helper function
ffranr 4ab7ebe
universerpc: add locator and update response in FetchSupplyCommit RPC
ffranr 408338d
supplycommit: remove FetchCommitment from manager
ffranr 52627bf
itest: extend testSupplyCommitIgnoreAsset to fetch from universe server
ffranr 32f18c8
docs: add release notes
ffranr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.