Repository navigation
Conversation
optout21
force-pushed
the
2610-delayed-broadcast1
branch
from
October 2, 2026 07:56
d66ab8d to
e022b78
Compare
Core support for delayed private broadcast: - Add target release time to submitted transactions; `release_time` field added to `TxBroadcastInfo` and `TxSendStatus` - Adapt logic to handle delayed submission (Add, Remove, etc.)
Only send delayed transactions after they are due.
Add constants and the RandomizeDelay() helper to randomize the release time of a delayed private broadcast, and use it in PeerManager. The randomized delay is never shorter than requested, and the requested delay is capped at MAX_DELAY.
If set, and private broadcast is enabled (prerequisite), the submitted transaction will be delayed.
optout21
force-pushed
the
2610-delayed-broadcast1
branch
from
October 3, 2026 14:12
e022b78 to
ec12202
Compare
Owner
Author
|
--> bitcoin#36429 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
First minimal implementation for "Delayed Transaction Broadcast" new feature.
Goal: Allow a user to submit a transaction for delayed broadcasting, that will be broadcast only later, at a randomized time. The aim is increased privacy, by making time-correlation-based tracking more difficult.
This fits together with private broadcast: private connection broadcast tries to hide the originator node; randomized delay tries to hide the creation time.
Goals in this PR: Extend the
sendrawtransactionRPC with an optionaldelay_forparameter, and if set, postpone the initial broadcast to that later time, with some extra jitter.Use case Details, with the limitations of the current changeset:
sendrawtransaction). Alternative: with node level config.getprivatebroadcastinfoRPC.abortprivatebroadcastRPC can be used to cancel a pending transaction submission.nLockTimehandling.Solution Details:
m_transactionscollection.ReattemptPrivateBroadcast).