Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::chain::detail::pending_transactions_restorer Struct Reference

#include <db_with.hpp>

Public Member Functions

 pending_transactions_restorer (database &db, std::vector< signed_transaction > &&pending_transactions)
 ~pending_transactions_restorer ()

Public Attributes

std::vector< signed_transaction > _pending_transactions

Detailed Description

Class used to help the without_pending_transactions implementation.

TODO: Change the name of this class to better reflect the fact that it restores popped transactions as well as pending transactions.

Definition at line 46 of file db_with.hpp.

Constructor & Destructor Documentation

◆ pending_transactions_restorer()

golos::chain::detail::pending_transactions_restorer::pending_transactions_restorer ( database db,
std::vector< signed_transaction > &&  pending_transactions 

Definition at line 47 of file db_with.hpp.

◆ ~pending_transactions_restorer()

golos::chain::detail::pending_transactions_restorer::~pending_transactions_restorer ( )

Definition at line 53 of file db_with.hpp.

Member Data Documentation

◆ _db

database& golos::chain::detail::pending_transactions_restorer::_db

Definition at line 82 of file db_with.hpp.

◆ _pending_transactions

std::vector<signed_transaction> golos::chain::detail::pending_transactions_restorer::_pending_transactions

Definition at line 83 of file db_with.hpp.

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