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:
@@ -90,6 +90,7 @@ const std::vector<std::string> RPC_COMMANDS_NOT_SAFE_FOR_FUZZING{
|
||||
|
||||
// RPC commands which are safe for fuzzing.
|
||||
const std::vector<std::string> RPC_COMMANDS_SAFE_FOR_FUZZING{
|
||||
"abortprivatebroadcast",
|
||||
"analyzepsbt",
|
||||
"clearbanned",
|
||||
"combinepsbt",
|
||||
@@ -147,6 +148,7 @@ const std::vector<std::string> RPC_COMMANDS_SAFE_FOR_FUZZING{
|
||||
"getorphantxs",
|
||||
"getpeerinfo",
|
||||
"getprioritisedtransactions",
|
||||
"getprivatebroadcastinfo",
|
||||
"getrawaddrman",
|
||||
"getrawmempool",
|
||||
"getrawtransaction",
|
||||
|
||||
Reference in New Issue
Block a user