Kagome
Polkadot Runtime Engine in C++17
|
#include <system_api_impl.hpp>
Public Member Functions | |
SystemApiImpl (std::shared_ptr< application::ChainSpec > config, std::shared_ptr< consensus::babe::Babe > babe, std::shared_ptr< network::PeerManager > peer_manager, std::shared_ptr< runtime::AccountNonceApi > account_nonce_api, std::shared_ptr< transaction_pool::TransactionPool > transaction_pool, std::shared_ptr< const blockchain::BlockTree > block_tree, std::shared_ptr< crypto::Hasher > hasher) | |
std::shared_ptr< application::ChainSpec > | getConfig () const override |
std::shared_ptr< consensus::babe::Babe > | getBabe () const override |
std::shared_ptr< network::PeerManager > | getPeerManager () const override |
outcome::result< primitives::AccountNonce > | getNonceFor (std::string_view account_address) const override |
Public Member Functions inherited from kagome::api::SystemApi | |
virtual | ~SystemApi ()=default |
Private Member Functions | |
primitives::AccountNonce | adjustNonce (const primitives::AccountId &account_id, primitives::AccountNonce current_nonce) const |
Private Attributes | |
std::shared_ptr< application::ChainSpec > | config_ |
std::shared_ptr< consensus::babe::Babe > | babe_ |
std::shared_ptr< network::PeerManager > | peer_manager_ |
std::shared_ptr< runtime::AccountNonceApi > | account_nonce_api_ |
std::shared_ptr< transaction_pool::TransactionPool > | transaction_pool_ |
std::shared_ptr< const blockchain::BlockTree > | block_tree_ |
std::shared_ptr< crypto::Hasher > | hasher_ |
Definition at line 25 of file system_api_impl.hpp.
kagome::api::SystemApiImpl::SystemApiImpl | ( | std::shared_ptr< application::ChainSpec > | config, |
std::shared_ptr< consensus::babe::Babe > | babe, | ||
std::shared_ptr< network::PeerManager > | peer_manager, | ||
std::shared_ptr< runtime::AccountNonceApi > | account_nonce_api, | ||
std::shared_ptr< transaction_pool::TransactionPool > | transaction_pool, | ||
std::shared_ptr< const blockchain::BlockTree > | block_tree, | ||
std::shared_ptr< crypto::Hasher > | hasher | ||
) |
Definition at line 19 of file system_api_impl.cpp.
|
private |
Definition at line 65 of file system_api_impl.cpp.
|
overridevirtual |
Implements kagome::api::SystemApi.
Definition at line 47 of file system_api_impl.cpp.
|
overridevirtual |
Implements kagome::api::SystemApi.
Definition at line 43 of file system_api_impl.cpp.
|
overridevirtual |
The nonce which should be used for the next extrinsic from
Implements kagome::api::SystemApi.
Definition at line 55 of file system_api_impl.cpp.
|
overridevirtual |
Implements kagome::api::SystemApi.
Definition at line 51 of file system_api_impl.cpp.
|
private |
Definition at line 58 of file system_api_impl.hpp.
|
private |
Definition at line 56 of file system_api_impl.hpp.
|
private |
Definition at line 60 of file system_api_impl.hpp.
|
private |
Definition at line 55 of file system_api_impl.hpp.
|
private |
Definition at line 61 of file system_api_impl.hpp.
|
private |
Definition at line 57 of file system_api_impl.hpp.
|
private |
Definition at line 59 of file system_api_impl.hpp.