sgns::wallets¶
#include <wallet.hpp>
Public Functions¶
| Name | |
|---|---|
| wallets(bool error_a, sgns::node & node_a) | |
| ~wallets() | |
| std::shared_ptr< sgns::wallet > | open(sgns::wallet_id const & ) |
| std::shared_ptr< sgns::wallet > | create(sgns::wallet_id const & ) |
| bool | search_pending(sgns::wallet_id const & ) |
| void | search_pending_all() |
| void | destroy(sgns::wallet_id const & ) |
| void | reload() |
| void | do_wallet_actions() |
| void | queue_wallet_action(sgns::uint128_t const & , std::shared_ptr< sgns::wallet > , std::function< void(sgns::wallet &)> const & ) |
| void | foreach_representative(std::function< void(sgns::public_key const &, sgns::raw_key const &)> const & ) |
| bool | exists(sgns::transaction const & , sgns::public_key const & ) |
| void | stop() |
| void | clear_send_ids(sgns::transaction const & ) |
| bool | check_rep(sgns::account const & , sgns::uint128_t const & , const bool =true) |
| void | compute_reps() |
| void | ongoing_compute_reps() |
| void | split_if_needed(sgns::transaction & , sgns::block_store & ) |
| sgns::write_transaction | tx_begin_write() |
| sgns::read_transaction | tx_begin_read() |
Public Attributes¶
| Name | |
|---|---|
| sgns::network_params | network_params |
| std::function< void(bool)> | observer |
| std::unordered_map< sgns::wallet_id, std::shared_ptr< sgns::wallet > > | items |
| std::multimap< sgns::uint128_t, std::pair< std::shared_ptr< sgns::wallet >, std::function< void(sgns::wallet &)> >, std::greater< sgns::uint128_t > > | actions |
| sgns::locked< std::unordered_map< sgns::account, sgns::root > > | delayed_work |
| std::mutex | mutex |
| std::mutex | action_mutex |
| sgns::condition_variable | condition |
| std::atomic< bool > | stopped |
| std::thread | thread |
| sgns::uint128_t const | generate_priority |
| sgns::uint128_t const | high_priority |
Public Functions Documentation¶
function wallets¶
function ~wallets¶
function open¶
function create¶
function search_pending¶
function search_pending_all¶
function destroy¶
function reload¶
function do_wallet_actions¶
function queue_wallet_action¶
void queue_wallet_action(
sgns::uint128_t const & ,
std::shared_ptr< sgns::wallet > ,
std::function< void(sgns::wallet &)> const &
)
function foreach_representative¶
void foreach_representative(
std::function< void(sgns::public_key const &, sgns::raw_key const &)> const &
)
function exists¶
function stop¶
function clear_send_ids¶
function check_rep¶
function compute_reps¶
function ongoing_compute_reps¶
function split_if_needed¶
function tx_begin_write¶
Start read-write transaction
function tx_begin_read¶
Start read-only transaction
Public Attributes Documentation¶
variable network_params¶
variable observer¶
variable items¶
variable actions¶
std::multimap< sgns::uint128_t, std::pair< std::shared_ptr< sgns::wallet >, std::function< void(sgns::wallet &)> >, std::greater< sgns::uint128_t > > actions;
variable delayed_work¶
variable mutex¶
variable action_mutex¶
variable condition¶
variable stopped¶
variable thread¶
variable generate_priority¶
variable high_priority¶
Updated on 2026-03-04 at 13:10:43 -0800