Add a transaction to the storage, or reset an exhausted transaction so it can be broadcast again.
Declared in <private_broadcast.h>
[[nodiscard, requires_capability(0x7f2e37684358), requires_capability(0x7f2e219d18d8), requires_capability(0x7f2e1ac64b08)]]
AddResult
Add(CTransactionRef const& tx);
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).
The return value should not be discarded.
| Name | Description |
|---|---|
| tx [in] | The transaction to add. |