mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-09 22:28:51 +02:00
Merge bitcoin/bitcoin#34329: rpc,net: Add private broadcast RPCs
2a1d0db799doc: Mention private broadcast RPCs in release notes (Andrew Toth)c3378be10btest: Cover abortprivatebroadcast in p2p_private_broadcast (Andrew Toth)557260ca14rpc: Add abortprivatebroadcast (Andrew Toth)15dff452ebtest: Cover getprivatebroadcastinfo in p2p_private_broadcast (Andrew Toth)996f20c18arpc: Add getprivatebroadcastinfo (Andrew Toth)5e64982541net: Add PrivateBroadcast::GetBroadcastInfo (Andrew Toth)573bb542benet: Store recipient node address in private broadcast (Andrew Toth) Pull request description: Follow up from #29415 Sending a transaction via private broadcast does not have any way for a user to track the status of the transaction before it gets returned by another peer. The default logs have been removed as well in #34267. Nor is there any way to abort a transaction once it has been added to the private broadcast queue. This adds two new RPCs: - `getprivatebroadastinfo` returns information about what transactions are in the private broadcast queue, including all the peers' addresses we have chosen and timestamps. - `abortprivatebroadcast` stops broadcasting a transaction in the private broadcast queue. ACKs for top commit: nervana21: tACK2a1d0db799achow101: ACK2a1d0db799l0rinc: ACK2a1d0db799danielabrozzoni: tACK2a1d0db799sedited: ACK2a1d0db799Tree-SHA512: cc8682d0be68a57b42bea6e3d091da2b80995d9e6d3b98644cb120a05c2b48a97c2e211173289b758c4f4e23f1d1a1f9be528a9b8c6644f71d1dd0ae5f673326
This commit is contained in:
@@ -12,3 +12,8 @@ P2P and network changes
|
||||
2. If the originator sends two otherwise unrelated transactions, they
|
||||
will not be linkable. This is because a separate connection is used
|
||||
for broadcasting each transaction. (#29415)
|
||||
|
||||
- New RPCs have been added to introspect and control private broadcast:
|
||||
`getprivatebroadcastinfo` reports transactions currently being privately
|
||||
broadcast, and `abortprivatebroadcast` removes matching
|
||||
transactions from the private broadcast queue.
|
||||
|
||||
Reference in New Issue
Block a user