|
| | RocksDbCommandExecutor (std::shared_ptr< RocksDBContext > db_context, std::shared_ptr< shared_model::interface::PermissionToString > perm_converter, std::optional< std::reference_wrapper< const VmCaller >> vm_caller) |
| |
| | ~RocksDbCommandExecutor () |
| |
| CommandResult | execute (const shared_model::interface::Command &cmd, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation) override |
| |
| void | skipChanges () override |
| |
| DatabaseTransaction & | dbSession () override |
| |
| std::shared_ptr< RocksDBContext > | getSession () |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::AddAssetQuantity &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::AddPeer &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::AddSignatory &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::CallEngine &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::AppendRole &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::CompareAndSetAccountDetail &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::CreateAccount &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::CreateAsset &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::CreateDomain &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::CreateRole &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::DetachRole &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::GrantPermission &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::RemovePeer &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::RemoveSignatory &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::RevokePermission &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::SetAccountDetail &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::SetQuorum &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::SubtractAssetQuantity &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::TransferAsset &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &tx_hash, shared_model::interface::types::CommandIndexType cmd_index, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
| ExecutionResult | operator() (RocksDbCommon &common, const shared_model::interface::SetSettingValue &command, const shared_model::interface::types::AccountIdType &creator_account_id, const std::string &, shared_model::interface::types::CommandIndexType, bool do_validation, shared_model::interface::RolePermissionSet const &creator_permissions) |
| |
Public Member Functions inherited from iroha::ametsuchi::CommandExecutor |
| virtual | ~CommandExecutor ()=default |
| |