Pass this transaction to node for optional mempool insertion and relay to peers.
Synopsis
Declared in <wallet/wallet.h>
[[requires_capability(0x7ff3720f0108), requires_capability(0x7ff365f20108), requires_capability(0x7ff35de5eab8), requires_capability(0x7ff35efe3598), requires_capability(0x7ff366fcfb78)]]
bool
SubmitTxMemoryPoolAndRelay(
CWalletTx& wtx,
std::string& err_string,
node::TxBroadcast broadcast_method) const;
Return Value
true if the transaction was accepted for broadcast.
Parameters
Name |
Description |
wtx |
The wallet transaction to submit. |
err_string |
Set to an error message on failure. |
broadcast_method |
How the transaction should be broadcast. |
Created with MrDocs