Pass this transaction to node for optional mempool insertion and relay to peers.
Declared in <wallet/wallet.h>
[[requires_capability(0x7fb955bcfb78), requires_capability(0x7fb94db84498), requires_capability(0x7fb95ab14318), requires_capability(0x7fb959fb0ef8), requires_capability(0x7fb956cbb188)]]
bool
SubmitTxMemoryPoolAndRelay(
CWalletTx& wtx,
std::string& err_string,
node::TxBroadcast broadcast_method) const;
true if the transaction was accepted for broadcast.
| 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. |