forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Implement LLMQ based InstantSend #2735
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
2bbac8f
Introduce NotifyChainLock signal and invoke it when CLSIGs get processed
codablock 5bbc122
Implement PushReconstructedRecoveredSig in CSigningManager
codablock 83dbcc4
Implement CInstantSendManager and related P2P messages
codablock 1959f3e
Handle incoming TXs by calling CInstantXManager::ProcessTx
codablock 5ff4db0
Downgrade TXLOCKREQUEST to TX when new IX system is active
codablock 34a8b29
Disable old IX code when the new system is active
codablock 3a6cc2c
Show "verified via LLMQ based InstantSend" in GUI TX status
codablock 1d2d370
Whenever we check for locked TXs, also check for the new system havin…
codablock 68cfdc9
Also call ProcessTx from sendrawtransaction and RelayWalletTransaction
codablock dc97835
Disable explicit lock requests when the new IX system is active
codablock 7945192
Enforce IX locks from the new system
codablock bd7edc8
Track txids of new blocks and first-seen time of TXs in CChainLocksHa…
codablock 0a5e8eb
Move ChainLock signing into TrySignChainTip and call it periodically
codablock 96291e7
Cheaper/Faster bailout from TrySignChainTip when already signed before
codablock 2a7a5c6
Only sign ChainLocks when all included TXs are "safe"
codablock baf8b81
Fix no-wallet build
codablock f44f09c
Fix crash in BlockAssembler::addPackageTxs
codablock 5b8344e
Use scheduleFromNow instead of schedule+boost::chrono
codablock e2f99f4
Set llmqForInstantSend for mainnet and testnet
codablock 9e90811
Add override keywork to CDSNotificationInterface::NotifyChainLock
codablock 2806907
Combine loops in CChainLocksHandler::NewPoWValidBlock
codablock f5dcb00
Introduce spork SPORK_20_INSTANTSEND_LLMQ_BASED to switch between new…
codablock 2299ee2
Rename IXLOCK to ISLOCK and InstantX to InstantSend
codablock 55152cb
Move IS block filtering into ConnectBlock
UdjinM6 a8da11a
update p2p-instantsend.py to test both "old" and "new" InstantSend
UdjinM6 843b6d7
update p2p-autoinstantsend.py to test both "old" and "new" InstantSend
UdjinM6 41a71fe
update autoix-mempool.py to test both "old" and "new" InstantSend (an…
UdjinM6 3e60d2d
Adjust LLMQ based InstantSend tests for new spork20
codablock f8f867a
Sync blocks after generating in mine_quorum()
codablock fae33e0
Let ProcessPendingReconstructedRecoveredSigs return void instead of bool
codablock 4d3365d
Completely disable InstantSend while filling mempool in autoix-mempoo…
codablock 041a1c2
Move safe TX checks into TestForBlock and TestPackageTransactions
codablock 06fc655
Actually remove from finalInstantSendLocks in CInstantSendManager::Re…
codablock 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
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.