Add a transaction to the storage, or reset an exhausted transaction so it can be broadcast again.
Synopsis
Declared in <private_broadcast.h>
[[nodiscard, requires_capability(0x7fbc935083b8), requires_capability(0x7fbc8ebaac38), requires_capability(0x7fbc92cc5ea8)]]
AddResult
Add(CTransactionRef const& tx);
Return Value
Whether the transaction was newly added or reset, was already present with send attempts remaining, or was rejected because the queue is full (see AddResult).
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
tx [in] |
The transaction to add. |
Created with MrDocs