OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
util.hpp File Reference
Include dependency graph for parsec/util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cbdc::parsec::config
 Configuration parameters for a phase two system. More...
 

Namespaces

namespace  cbdc
 
namespace  cbdc::parsec
 

Enumerations

enum class  cbdc::parsec::load_type { cbdc::parsec::transfer , cbdc::parsec::erc20 }
 Type of load to generate for benchmarking. More...
 
enum class  cbdc::parsec::runner_type { cbdc::parsec::lua , cbdc::parsec::evm }
 Execution/transaction model. More...
 

Functions

auto cbdc::parsec::read_config (int argc, char **argv) -> std::optional< config >
 Reads the configuration parameters from the program arguments.
 
auto cbdc::parsec::put_row (const std::shared_ptr< broker::interface > &broker, broker::key_type key, broker::value_type value, const std::function< void(bool)> &result_callback) -> bool
 Asynchronously inserts the given row into the cluster.
 
auto cbdc::parsec::get_row (const std::shared_ptr< broker::interface > &broker, broker::key_type key, const std::function< void( cbdc::parsec::broker::interface::try_lock_return_type)> &result_callback) -> cbdc::parsec::broker::interface::try_lock_return_type
 Asynchronously get the value stored at key from the cluster.