Is your feature request related to a problem? Please describe.
There is no argument in sendrawtransaction
to mention the peers
Describe the solution you’d like
Add an argument in sendrawtransaction
that accepts one or more addresses for nodes.
Describe alternatives you’ve considered
Additional context
Note that the transaction will be sent unconditionally to all peers, so using this for manual rebroadcast may degrade privacy by leaking the transaction’s origin, as nodes will normally not rebroadcast non-wallet transactions already in their mempool.
https://bitcoincore.org/en/doc/0.21.0/rpc/rawtransactions/sendrawtransaction/
Rebroadcast thing mentioned above will be fixed in #21061 however this option will still be useful.