MCPcopy Create free account
hub / github.com/ElementsProject/elements / ReadPAKList

Method ReadPAKList

src/txdb.cpp:324–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324bool CBlockTreeDB::ReadPAKList(std::vector<std::vector<unsigned char> >& offline_list, std::vector<std::vector<unsigned char> >& online_list, bool& reject)
325{
326 return Read(std::make_pair(DB_PAK, uint256S("1")), offline_list) && Read(std::make_pair(DB_PAK, uint256S("2")), online_list) && Read(std::make_pair(DB_PAK, uint256S("3")), reject);
327}
328
329bool CBlockTreeDB::WritePAKList(const std::vector<std::vector<unsigned char> >& offline_list, const std::vector<std::vector<unsigned char> >& online_list, bool reject)
330{

Callers

nothing calls this directly

Calls 1

uint256SFunction · 0.85

Tested by

no test coverage detected