Get the transaction that was picked for sending to a given node by PickTxForSend().
Declared in <private_broadcast.h>
[[requires_capability(0x7ff36f614418), requires_capability(0x7ff37b8cf078), requires_capability(0x7ff37a4d4ae8)]]
std::optional<CTransactionRef>
GetTxForNode(NodeId const& nodeid);
Transaction or nullopt if the nodeid is unknown.
| Name | Description |
|---|---|
| nodeid [in] | Node to which a transaction is being (or was) sent. |