rippled
|
An interface facilitating retrieval of fetch packs without an application or ledgermaster object. More...
Public Member Functions | |
virtual | ~AbstractFetchPackContainer ()=default |
virtual std::optional< Blob > | getFetchPack (uint256 const &nodeHash)=0 |
Retrieves partial ledger data of the coresponding hash from peers. More... | |
An interface facilitating retrieval of fetch packs without an application or ledgermaster object.
Definition at line 32 of file AbstractFetchPackContainer.h.
|
virtualdefault |
|
pure virtual |
Retrieves partial ledger data of the coresponding hash from peers.
`
nodeHash | The 256-bit hash of the data to fetch. |
std::nullopt
if the hash isn't cached, otherwise, the hash associated data. Implemented in ripple::LedgerMaster.