|
rippled
|
Manages the acquisition and lifetime of transaction sets. More...

Public Types | |
| using | clock_type = beast::abstract_clock< std::chrono::steady_clock > |
Public Member Functions | |
| InboundTransactions ()=default | |
| InboundTransactions (InboundTransactions const &)=delete | |
| InboundTransactions & | operator= (InboundTransactions const &)=delete |
| virtual | ~InboundTransactions ()=0 |
| virtual std::shared_ptr< SHAMap > | getSet (uint256 const &setHash, bool acquire)=0 |
| Find and return a transaction set, or nullptr if it is missing. More... | |
| virtual void | gotData (uint256 const &setHash, std::shared_ptr< Peer > peer, std::shared_ptr< protocol::TMLedgerData > message)=0 |
| Add a transaction set from a LedgerData message. More... | |
| virtual void | giveSet (uint256 const &setHash, std::shared_ptr< SHAMap > const &set, bool acquired)=0 |
| Add a transaction set. More... | |
| virtual void | newRound (std::uint32_t seq)=0 |
| Informs the container if a new consensus round. More... | |
| virtual void | stop ()=0 |
Manages the acquisition and lifetime of transaction sets.
Definition at line 35 of file InboundTransactions.h.
Definition at line 38 of file InboundTransactions.h.
|
default |
|
delete |
|
pure virtualdefault |
|
delete |
|
pure virtual |
Find and return a transaction set, or nullptr if it is missing.
| 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. |
Implemented in ripple::InboundTransactionsImp.
|
pure virtual |
Add a transaction set from a LedgerData message.
| setHash | The transaction set ID (digest of the SHAMap root node). |
| peer | The peer that sent the message. |
| message | The LedgerData message. |
Implemented in ripple::InboundTransactionsImp.
|
pure virtual |
Add a transaction set.
| 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.
|
pure virtual |
Informs the container if a new consensus round.
Implemented in ripple::InboundTransactionsImp.
|
pure virtual |
Implemented in ripple::InboundTransactionsImp.
1.8.17