Manages the acquisition and lifetime of transaction sets.
More...
#include <InboundTransactions.h>
Manages the acquisition and lifetime of transaction sets.
Definition at line 37 of file InboundTransactions.h.
◆ clock_type
◆ InboundTransactions() [1/2]
| ripple::InboundTransactions::InboundTransactions |
( |
| ) |
|
|
default |
◆ InboundTransactions() [2/2]
◆ ~InboundTransactions()
| ripple::InboundTransactions::~InboundTransactions |
( |
| ) |
|
|
pure virtualdefault |
◆ operator=()
◆ getSet()
Find and return a transaction set, or nullptr if it is missing.
- Parameters
-
| setHash | The transaction set ID (digest of the SHAMap root node). |
| acquire | Whether to fetch the transaction set from the network if it is missing. |
- Returns
- The transaction set with ID setHash, or nullptr if it is missing.
Implemented in ripple::InboundTransactionsImp.
◆ gotData()
Add a transaction set from a LedgerData message.
- Parameters
-
| setHash | The transaction set ID (digest of the SHAMap root node). |
| peer | The peer that sent the message. |
| message | The LedgerData message. |
◆ giveSet()
Add a transaction set.
- Parameters
-
| setHash | The transaction set ID (should match set.getHash()). |
| set | The transaction set. |
| acquired | Whether this transaction set was acquired from a peer, or constructed by ourself during consensus. |
Implemented in ripple::InboundTransactionsImp.
◆ newRound()
| virtual void ripple::InboundTransactions::newRound |
( |
std::uint32_t |
seq | ) |
|
|
pure virtual |
◆ stop()
| virtual void ripple::InboundTransactions::stop |
( |
| ) |
|
|
pure virtual |