Monero
Loading...
Searching...
No Matches
blockchain.h File Reference
#include <boost/asio/executor_work_guard.hpp>
#include <boost/asio/io_context.hpp>
#include <boost/function/function_fwd.hpp>
#include <boost/serialization/serialization.hpp>
#include <boost/serialization/version.hpp>
#include <boost/serialization/list.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/global_fun.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.hpp>
#include <atomic>
#include <functional>
#include <unordered_map>
#include <unordered_set>
#include "span.h"
#include "syncobj.h"
#include "string_tools.h"
#include "rolling_median.h"
#include "cryptonote_basic/cryptonote_basic.h"
#include "common/powerof.h"
#include "common/util.h"
#include "cryptonote_protocol/cryptonote_protocol_defs.h"
#include "rpc/core_rpc_server_commands_defs.h"
#include "cryptonote_basic/difficulty.h"
#include "cryptonote_tx_utils.h"
#include "tx_verification_utils.h"
#include "cryptonote_basic/verification_context.h"
#include "crypto/hash.h"
#include "checkpoints/checkpoints.h"
#include "cryptonote_basic/hardfork.h"
#include "blockchain_db/blockchain_db.h"
Include dependency graph for blockchain.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cryptonote::Blockchain
struct  cryptonote::Blockchain::block_extended_info
 container for passing a block and metadata about it on the blockchain More...

Namespaces

namespace  tools
 Various Tools.
namespace  cryptonote
 Holds cryptonote related classes and helpers.

Typedefs

typedef std::function< const epee::span< const unsigned char >(cryptonote::network_type network)> cryptonote::GetCheckpointsCallback
 Callback routine that returns checkpoints data for specific network type.
typedef boost::function< void(std::vector< txpool_event >)> cryptonote::TxpoolNotifyCallback
typedef boost::function< void(uint64_t, epee::span< const block >)> cryptonote::BlockNotifyCallback
typedef boost::function< void(uint8_t, uint64_t, const crypto::hash &, const crypto::hash &, difficulty_type, uint64_t, uint64_t, const std::vector< tx_block_template_backlog_entry > &)> cryptonote::MinerNotifyCallback

Enumerations

enum  cryptonote::blockchain_db_sync_mode { cryptonote::db_defaultsync , cryptonote::db_sync , cryptonote::db_async , cryptonote::db_nosync }