Electroneum
Functions | Variables
anonymous_namespace{wallet_rpc_server.cpp} Namespace Reference

Functions

boost::optional< tools::password_containerpassword_prompter (const char *prompt, bool verify)
 
void set_confirmations (tools::wallet_rpc::transfer_entry &entry, uint64_t blockchain_height, uint64_t block_reward)
 

Variables

const command_line::arg_descriptor< std::string, truearg_rpc_bind_port = {"rpc-bind-port", "Sets bind port for server"}
 
const command_line::arg_descriptor< boolarg_disable_rpc_login = {"disable-rpc-login", "Disable HTTP authentication for RPC connections served by this process"}
 
const command_line::arg_descriptor< boolarg_restricted = {"restricted-rpc", "Restricts to view-only commands", false}
 
const command_line::arg_descriptor< std::string > arg_wallet_dir = {"wallet-dir", "Directory for newly created wallets"}
 
const command_line::arg_descriptor< boolarg_prompt_for_password = {"prompt-for-password", "Prompts for password when not provided", false}
 
const command_line::arg_descriptor< std::string > arg_data_dir = {"data-dir", "Blockchain database path."}
 
const command_line::arg_descriptor< boolarg_testnet = {"testnet", "For testnet. Daemon must also be launched with --testnet flag"}
 
constexpr const char default_rpc_username [] = "electroneum"
 

Function Documentation

◆ password_prompter()

boost::optional<tools::password_container> anonymous_namespace{wallet_rpc_server.cpp}::password_prompter ( const char *  prompt,
bool  verify 
)

◆ set_confirmations()

void anonymous_namespace{wallet_rpc_server.cpp}::set_confirmations ( tools::wallet_rpc::transfer_entry entry,
uint64_t  blockchain_height,
uint64_t  block_reward 
)

Variable Documentation

◆ arg_data_dir

const command_line::arg_descriptor<std::string> anonymous_namespace{wallet_rpc_server.cpp}::arg_data_dir = {"data-dir", "Blockchain database path."}

◆ arg_disable_rpc_login

const command_line::arg_descriptor<bool> anonymous_namespace{wallet_rpc_server.cpp}::arg_disable_rpc_login = {"disable-rpc-login", "Disable HTTP authentication for RPC connections served by this process"}

◆ arg_prompt_for_password

const command_line::arg_descriptor<bool> anonymous_namespace{wallet_rpc_server.cpp}::arg_prompt_for_password = {"prompt-for-password", "Prompts for password when not provided", false}

◆ arg_restricted

const command_line::arg_descriptor<bool> anonymous_namespace{wallet_rpc_server.cpp}::arg_restricted = {"restricted-rpc", "Restricts to view-only commands", false}

◆ arg_rpc_bind_port

const command_line::arg_descriptor<std::string, true> anonymous_namespace{wallet_rpc_server.cpp}::arg_rpc_bind_port = {"rpc-bind-port", "Sets bind port for server"}

◆ arg_testnet

const command_line::arg_descriptor<bool> anonymous_namespace{wallet_rpc_server.cpp}::arg_testnet = {"testnet", "For testnet. Daemon must also be launched with --testnet flag"}

◆ arg_wallet_dir

const command_line::arg_descriptor<std::string> anonymous_namespace{wallet_rpc_server.cpp}::arg_wallet_dir = {"wallet-dir", "Directory for newly created wallets"}

◆ default_rpc_username

constexpr const char anonymous_namespace{wallet_rpc_server.cpp}::default_rpc_username[] = "electroneum"
constexpr