#include "parsec/ticket_machine/interface.hpp"
#include "util/common/buffer.hpp"
#include "util/common/hashmap.hpp"
#include <functional>
#include <unordered_map>
Go to the source code of this file.
|
enum class | cbdc::parsec::runtime_locking_shard::lock_type : uint8_t { cbdc::parsec::runtime_locking_shard::read = 0
, cbdc::parsec::runtime_locking_shard::write = 1
} |
| Types of key lock supported by shards. More...
|
|
enum class | cbdc::parsec::runtime_locking_shard::error_code : uint8_t {
cbdc::parsec::runtime_locking_shard::prepared
, cbdc::parsec::runtime_locking_shard::wounded
, cbdc::parsec::runtime_locking_shard::lock_held
, cbdc::parsec::runtime_locking_shard::lock_queued
,
cbdc::parsec::runtime_locking_shard::unknown_ticket
, cbdc::parsec::runtime_locking_shard::lock_not_held
, cbdc::parsec::runtime_locking_shard::state_update_with_read_lock
, cbdc::parsec::runtime_locking_shard::not_prepared
,
cbdc::parsec::runtime_locking_shard::committed
, cbdc::parsec::runtime_locking_shard::not_committed
, cbdc::parsec::runtime_locking_shard::internal_error
} |
| Error codes returned by methods on shards. More...
|
|
enum class | cbdc::parsec::runtime_locking_shard::ticket_state : uint8_t { cbdc::parsec::runtime_locking_shard::begun
, cbdc::parsec::runtime_locking_shard::wounded
, cbdc::parsec::runtime_locking_shard::prepared
, cbdc::parsec::runtime_locking_shard::committed
} |
| Ticket states returned by shards for broker recovery purposes. More...
|
|