Skip to content

Delayed transaction broadcast, post-rebase - #26

Closed
optout21 wants to merge 7 commits into
masterfrom
2610-delayed-broadcast2
Closed

optout21 wants to merge 7 commits into
masterfrom
2610-delayed-broadcast2

Conversation

@optout21

@optout21 optout21 commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Part of #25 , post-rebase verification .

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.):
  a transaction is not sent before it is released, has no planned
  sends to cancel on Remove(), and is forgotten by MarkResolved()
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
optout21 force-pushed the 2610-delayed-broadcast2 branch from 882e58a to 24bd876 Compare October 6, 2026 21:42
@optout21

optout21 commented Nov 2, 2026

Copy link
Copy Markdown
Owner Author

--> bitcoin#36429

@optout21 optout21 closed this Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant