1 #ifndef BLOCK_REQUESTOR_H_
2 #define BLOCK_REQUESTOR_H_
20 using Priority = std::uint_least16_t;
43 std::shared_ptr<DagListener> dl,
44 Priority priority) = 0;
Interface for classes that can asynchronously fetch a block for a CID.
Definition: block_requestor.h:32
virtual void RequestByCid(std::string cid, std::shared_ptr< DagListener > dl, Priority priority)=0
Request a single block from gateway(s).