|
rippled
|
An interface facilitating retrieval of fetch packs without an application or ledgermaster object. More...
#include <AbstractFetchPackContainer.h>

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. | |
An interface facilitating retrieval of fetch packs without an application or ledgermaster object.
Definition at line 14 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.