Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain_plugin_impl Class Reference
Collaboration diagram for sysio::chain_plugin_impl:

Public Member Functions

 chain_plugin_impl ()
 

Public Attributes

bfs::path blocks_dir
 
bool readonly = false
 
flat_map< uint32_t, block_id_typeloaded_checkpoints
 
bool accept_transactions = false
 
bool api_accept_transactions = true
 
bool account_queries_enabled = false
 
std::optional< controller::configchain_config
 
std::optional< controllerchain
 
std::optional< genesis_stategenesis
 
std::optional< vm_typewasm_runtime
 
fc::microseconds abi_serializer_max_time_us
 
std::optional< bfs::path > snapshot_path
 
channels::pre_accepted_block::channel_typepre_accepted_block_channel
 
channels::accepted_block_header::channel_typeaccepted_block_header_channel
 
channels::accepted_block::channel_typeaccepted_block_channel
 
channels::irreversible_block::channel_typeirreversible_block_channel
 
channels::accepted_transaction::channel_typeaccepted_transaction_channel
 
channels::applied_transaction::channel_typeapplied_transaction_channel
 
incoming::methods::block_sync::method_typeincoming_block_sync_method
 
incoming::methods::transaction_async::method_typeincoming_transaction_async_method
 
methods::get_block_by_number::method_type::handle get_block_by_number_provider
 
methods::get_block_by_id::method_type::handle get_block_by_id_provider
 
methods::get_head_block_id::method_type::handle get_head_block_id_provider
 
methods::get_last_irreversible_block_number::method_type::handle get_last_irreversible_block_number_provider
 
std::optional< scoped_connection > pre_accepted_block_connection
 
std::optional< scoped_connection > accepted_block_header_connection
 
std::optional< scoped_connection > accepted_block_connection
 
std::optional< scoped_connection > irreversible_block_connection
 
std::optional< scoped_connection > accepted_transaction_connection
 
std::optional< scoped_connection > applied_transaction_connection
 
std::optional< scoped_connection > block_start_connection
 
std::optional< chain_apis::account_query_db_account_query_db
 
const producer_pluginproducer_plug
 
std::optional< chain_apis::trx_retry_db_trx_retry_db
 
chain_apis::trx_finality_status_processing_ptr _trx_finality_status_processing
 

Detailed Description

Definition at line 136 of file chain_plugin.cpp.

Constructor & Destructor Documentation

◆ chain_plugin_impl()

sysio::chain_plugin_impl::chain_plugin_impl ( )
inline

Definition at line 138 of file chain_plugin.cpp.

139 :pre_accepted_block_channel(app().get_channel<channels::pre_accepted_block>())
140 ,accepted_block_header_channel(app().get_channel<channels::accepted_block_header>())
141 ,accepted_block_channel(app().get_channel<channels::accepted_block>())
142 ,irreversible_block_channel(app().get_channel<channels::irreversible_block>())
143 ,accepted_transaction_channel(app().get_channel<channels::accepted_transaction>())
144 ,applied_transaction_channel(app().get_channel<channels::applied_transaction>())
145 ,incoming_block_sync_method(app().get_method<incoming::methods::block_sync>())
146 ,incoming_transaction_async_method(app().get_method<incoming::methods::transaction_async>())
147 {}
channels::pre_accepted_block::channel_type & pre_accepted_block_channel
channels::irreversible_block::channel_type & irreversible_block_channel
incoming::methods::block_sync::method_type & incoming_block_sync_method
channels::accepted_block_header::channel_type & accepted_block_header_channel
channels::accepted_transaction::channel_type & accepted_transaction_channel
incoming::methods::transaction_async::method_type & incoming_transaction_async_method
channels::applied_transaction::channel_type & applied_transaction_channel
channels::accepted_block::channel_type & accepted_block_channel
application & app()

Member Data Documentation

◆ _account_query_db

std::optional<chain_apis::account_query_db> sysio::chain_plugin_impl::_account_query_db

Definition at line 193 of file chain_plugin.cpp.

◆ _trx_finality_status_processing

chain_apis::trx_finality_status_processing_ptr sysio::chain_plugin_impl::_trx_finality_status_processing

Definition at line 196 of file chain_plugin.cpp.

◆ _trx_retry_db

std::optional<chain_apis::trx_retry_db> sysio::chain_plugin_impl::_trx_retry_db

Definition at line 195 of file chain_plugin.cpp.

◆ abi_serializer_max_time_us

fc::microseconds sysio::chain_plugin_impl::abi_serializer_max_time_us

Definition at line 161 of file chain_plugin.cpp.

◆ accept_transactions

bool sysio::chain_plugin_impl::accept_transactions = false

Definition at line 152 of file chain_plugin.cpp.

◆ accepted_block_channel

channels::accepted_block::channel_type& sysio::chain_plugin_impl::accepted_block_channel

Definition at line 168 of file chain_plugin.cpp.

◆ accepted_block_connection

std::optional<scoped_connection> sysio::chain_plugin_impl::accepted_block_connection

Definition at line 186 of file chain_plugin.cpp.

◆ accepted_block_header_channel

channels::accepted_block_header::channel_type& sysio::chain_plugin_impl::accepted_block_header_channel

Definition at line 167 of file chain_plugin.cpp.

◆ accepted_block_header_connection

std::optional<scoped_connection> sysio::chain_plugin_impl::accepted_block_header_connection

Definition at line 185 of file chain_plugin.cpp.

◆ accepted_transaction_channel

channels::accepted_transaction::channel_type& sysio::chain_plugin_impl::accepted_transaction_channel

Definition at line 170 of file chain_plugin.cpp.

◆ accepted_transaction_connection

std::optional<scoped_connection> sysio::chain_plugin_impl::accepted_transaction_connection

Definition at line 188 of file chain_plugin.cpp.

◆ account_queries_enabled

bool sysio::chain_plugin_impl::account_queries_enabled = false

Definition at line 154 of file chain_plugin.cpp.

◆ api_accept_transactions

bool sysio::chain_plugin_impl::api_accept_transactions = true

Definition at line 153 of file chain_plugin.cpp.

◆ applied_transaction_channel

channels::applied_transaction::channel_type& sysio::chain_plugin_impl::applied_transaction_channel

Definition at line 171 of file chain_plugin.cpp.

◆ applied_transaction_connection

std::optional<scoped_connection> sysio::chain_plugin_impl::applied_transaction_connection

Definition at line 189 of file chain_plugin.cpp.

◆ block_start_connection

std::optional<scoped_connection> sysio::chain_plugin_impl::block_start_connection

Definition at line 190 of file chain_plugin.cpp.

◆ blocks_dir

bfs::path sysio::chain_plugin_impl::blocks_dir

Definition at line 149 of file chain_plugin.cpp.

◆ chain

std::optional<controller> sysio::chain_plugin_impl::chain

Definition at line 157 of file chain_plugin.cpp.

◆ chain_config

std::optional<controller::config> sysio::chain_plugin_impl::chain_config

Definition at line 156 of file chain_plugin.cpp.

◆ genesis

std::optional<genesis_state> sysio::chain_plugin_impl::genesis

Definition at line 158 of file chain_plugin.cpp.

◆ get_block_by_id_provider

methods::get_block_by_id::method_type::handle sysio::chain_plugin_impl::get_block_by_id_provider

Definition at line 179 of file chain_plugin.cpp.

◆ get_block_by_number_provider

methods::get_block_by_number::method_type::handle sysio::chain_plugin_impl::get_block_by_number_provider

Definition at line 178 of file chain_plugin.cpp.

◆ get_head_block_id_provider

methods::get_head_block_id::method_type::handle sysio::chain_plugin_impl::get_head_block_id_provider

Definition at line 180 of file chain_plugin.cpp.

◆ get_last_irreversible_block_number_provider

methods::get_last_irreversible_block_number::method_type::handle sysio::chain_plugin_impl::get_last_irreversible_block_number_provider

Definition at line 181 of file chain_plugin.cpp.

◆ incoming_block_sync_method

incoming::methods::block_sync::method_type& sysio::chain_plugin_impl::incoming_block_sync_method

Definition at line 174 of file chain_plugin.cpp.

◆ incoming_transaction_async_method

incoming::methods::transaction_async::method_type& sysio::chain_plugin_impl::incoming_transaction_async_method

Definition at line 175 of file chain_plugin.cpp.

◆ irreversible_block_channel

channels::irreversible_block::channel_type& sysio::chain_plugin_impl::irreversible_block_channel

Definition at line 169 of file chain_plugin.cpp.

◆ irreversible_block_connection

std::optional<scoped_connection> sysio::chain_plugin_impl::irreversible_block_connection

Definition at line 187 of file chain_plugin.cpp.

◆ loaded_checkpoints

flat_map<uint32_t,block_id_type> sysio::chain_plugin_impl::loaded_checkpoints

Definition at line 151 of file chain_plugin.cpp.

◆ pre_accepted_block_channel

channels::pre_accepted_block::channel_type& sysio::chain_plugin_impl::pre_accepted_block_channel

Definition at line 166 of file chain_plugin.cpp.

◆ pre_accepted_block_connection

std::optional<scoped_connection> sysio::chain_plugin_impl::pre_accepted_block_connection

Definition at line 184 of file chain_plugin.cpp.

◆ producer_plug

const producer_plugin* sysio::chain_plugin_impl::producer_plug

Definition at line 194 of file chain_plugin.cpp.

◆ readonly

bool sysio::chain_plugin_impl::readonly = false

Definition at line 150 of file chain_plugin.cpp.

◆ snapshot_path

std::optional<bfs::path> sysio::chain_plugin_impl::snapshot_path

Definition at line 162 of file chain_plugin.cpp.

◆ wasm_runtime

std::optional<vm_type> sysio::chain_plugin_impl::wasm_runtime

Definition at line 160 of file chain_plugin.cpp.


The documentation for this class was generated from the following file: