OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
block_cache.hpp File Reference
#include "uhs/atomizer/atomizer/block.hpp"
#include "util/common/hashmap.hpp"
#include <forward_list>
#include <memory>
#include <mutex>
#include <optional>
#include <queue>
#include <shared_mutex>
#include <unordered_map>
Include dependency graph for block_cache.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  cbdc::watchtower::block_cache
 Stores a set of blocks in memory and maintains an index of the UHS IDs contained therein. More...
 

Namespaces

namespace  cbdc
 
namespace  cbdc::watchtower
 

Typedefs

using cbdc::watchtower::block_cache_result = std::pair<size_t, hash_t>
 With respect to a particular UHS ID, block height + ID of containing transaction.