PrivateBroadcast::GetTxForNode

Get the transaction that was picked for sending to a given node by PickTxForSend().

Synopsis

Declared in <private_broadcast.h>

[[requires_capability(0x7f950ef0cd28), requires_capability(0x7f950e3e7c48), requires_capability(0x7f9502a9e638)]]
std::optional<CTransactionRef>
GetTxForNode(NodeId const& nodeid);

Return Value

Transaction or nullopt if the nodeid is unknown.

Parameters

NameDescription
nodeid [in]Node to which a transaction is being (or was) sent.