Add a transaction to the storage, or reset an exhausted transaction so it can be broadcast again.
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. |