1#ifndef XRPL_APP_LEDGER_ABSTRACTFETCHPACKCONTAINER_H_INCLUDED 
    2#define XRPL_APP_LEDGER_ABSTRACTFETCHPACKCONTAINER_H_INCLUDED 
    4#include <xrpl/basics/Blob.h> 
    5#include <xrpl/basics/base_uint.h> 
An interface facilitating retrieval of fetch packs without an application or ledgermaster object.
 
virtual ~AbstractFetchPackContainer()=default
 
virtual std::optional< Blob > getFetchPack(uint256 const &nodeHash)=0
Retrieves partial ledger data of the coresponding hash from peers.
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.