1 #ifndef IPFS_CHROMIUM_DAG_HEADERS_H
2 #define IPFS_CHROMIUM_DAG_HEADERS_H
4 #include <ipfs_client/ipld/block_source.h>
10 namespace ipfs::ipld {
20 using HeaderList = std::vector<std::pair<std::string, std::string>>;
22 HeaderList const& headers()
const {
return headers_; }
25 std::map<BlockSource::Category, short> individual_counts_;
27 std::size_t other_count_ = {};
28 BlockSource::Clock::duration other_sum_ = std::chrono::milliseconds(0);
Definition: block_source.h:12