Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
chain_plugin.cpp File Reference
#include <sysio/chain_plugin/chain_plugin.hpp>
#include <sysio/chain_plugin/trx_retry_db.hpp>
#include <sysio/producer_plugin/producer_plugin.hpp>
#include <sysio/chain/fork_database.hpp>
#include <sysio/chain/block_log.hpp>
#include <sysio/chain/exceptions.hpp>
#include <sysio/chain/authorization_manager.hpp>
#include <sysio/chain/code_object.hpp>
#include <sysio/chain/config.hpp>
#include <sysio/chain/wasm_interface.hpp>
#include <sysio/chain/resource_limits.hpp>
#include <sysio/chain/controller.hpp>
#include <sysio/chain/generated_transaction_object.hpp>
#include <sysio/chain/snapshot.hpp>
#include <sysio/chain/deep_mind.hpp>
#include <sysio/chain_plugin/trx_finality_status_processing.hpp>
#include <sysio/chain/permission_link_object.hpp>
#include <sysio/chain/sysio_contract.hpp>
#include <sysio/resource_monitor_plugin/resource_monitor_plugin.hpp>
#include <chainbase/environment.hpp>
#include <boost/signals2/connection.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/path.hpp>
#include <fc/io/json.hpp>
#include <fc/variant.hpp>
#include <signal.h>
#include <cstdlib>
Include dependency graph for chain_plugin.cpp:

Go to the source code of this file.

Classes

class  sysio::chain_plugin_impl
 
struct  sysio::chain_apis::resolver_factory
 

Namespaces

namespace  sysio
 
namespace  sysio::chain
 
namespace  sysio::chain_apis
 

Macros

#define LOAD_VALUE_SET(options, op_name, container)
 

Typedefs

using sysio::vm_type = wasm_interface::vm_type
 

Functions

std::ostream & sysio::chain::operator<< (std::ostream &osm, sysio::chain::db_read_mode m)
 
void sysio::chain::validate (boost::any &v, const std::vector< std::string > &values, sysio::chain::db_read_mode *, int)
 
std::ostream & sysio::chain::operator<< (std::ostream &osm, sysio::chain::validation_mode m)
 
void sysio::chain::validate (boost::any &v, const std::vector< std::string > &values, sysio::chain::validation_mode *, int)
 
fc::time_point sysio::calculate_genesis_timestamp (string tstr)
 
void sysio::clear_directory_contents (const fc::path &p)
 
void sysio::clear_chainbase_files (const fc::path &p)
 
std::optional< builtin_protocol_featuresysio::read_builtin_protocol_feature (const fc::path &p)
 
protocol_feature_set sysio::initialize_protocol_features (const fc::path &p, bool populate_missing_builtins=true)
 
template<typename I >
std::string sysio::chain_apis::itoh (I n, size_t hlen=sizeof(I)<< 1)
 
template<>
uint64_t sysio::chain_apis::convert_to_type (const string &str, const string &desc)
 
template<>
double sysio::chain_apis::convert_to_type (const string &str, const string &desc)
 
template<typename Type >
string sysio::chain_apis::convert_to_string (const Type &source, const string &key_type, const string &encode_type, const string &desc)
 
template<>
string sysio::chain_apis::convert_to_string (const chain::key256_t &source, const string &key_type, const string &encode_type, const string &desc)
 
template<>
string sysio::chain_apis::convert_to_string (const float128_t &source, const string &key_type, const string &encode_type, const string &desc)
 
abi_def sysio::chain_apis::get_abi (const controller &db, const name &account)
 
string sysio::chain_apis::get_table_type (const abi_def &abi, const name &table_name)
 
fc::variant sysio::chain_apis::get_global_row (const database &db, const abi_def &abi, const abi_serializer &abis, const fc::microseconds &abi_serializer_max_time_us, bool shorten_abi_errors)
 
auto sysio::chain_apis::make_resolver (const controller &control, abi_serializer::yield_function_t yield)
 

Variables

FC_REFLECT_ENUM(chainbase::environment::os_t,(OS_LINUX)(OS_MACOS)(OS_WINDOWS)(OS_OTHER)) FC_REFLECT_ENUM(chainbase sysio::chain::deep_mind_handler _deep_mind_log
 

Macro Definition Documentation

◆ LOAD_VALUE_SET

#define LOAD_VALUE_SET ( options,
op_name,
container )
Value:
if( options.count(op_name) ) { \
const std::vector<std::string>& ops = options[op_name].as<std::vector<std::string>>(); \
for( const auto& v : ops ) { \
container.emplace( sysio::chain::name( v ) ); \
} \
}
Immutable except for fc::from_variant.
Definition name.hpp:43

Definition at line 378 of file chain_plugin.cpp.

378#define LOAD_VALUE_SET(options, op_name, container) \
379if( options.count(op_name) ) { \
380 const std::vector<std::string>& ops = options[op_name].as<std::vector<std::string>>(); \
381 for( const auto& v : ops ) { \
382 container.emplace( sysio::chain::name( v ) ); \
383 } \
384}

Variable Documentation

◆ _deep_mind_log