Bitcoin Core 32.1.0
P2P Digital Currency
Loading...
Searching...
No Matches
interfaces.cpp File Reference
#include <bitcoin-build-config.h>
#include <banman.h>
#include <blockfilter.h>
#include <chain.h>
#include <chainparams.h>
#include <coins.h>
#include <common/args.h>
#include <common/settings.h>
#include <consensus/amount.h>
#include <consensus/merkle.h>
#include <consensus/validation.h>
#include <external_signer.h>
#include <httprpc.h>
#include <index/blockfilterindex.h>
#include <init.h>
#include <interfaces/chain.h>
#include <interfaces/handler.h>
#include <interfaces/mining.h>
#include <interfaces/node.h>
#include <interfaces/rpc.h>
#include <interfaces/types.h>
#include <kernel/context.h>
#include <key.h>
#include <logging.h>
#include <mapport.h>
#include <net.h>
#include <net_processing.h>
#include <net_types.h>
#include <netaddress.h>
#include <netbase.h>
#include <node/blockstorage.h>
#include <node/coin.h>
#include <node/context.h>
#include <node/interface_ui.h>
#include <node/kernel_notifications.h>
#include <node/miner.h>
#include <node/mini_miner.h>
#include <node/mining_args.h>
#include <node/mining_types.h>
#include <node/transaction.h>
#include <node/types.h>
#include <node/warnings.h>
#include <policy/feerate.h>
#include <policy/fees/estimator_man.h>
#include <policy/policy.h>
#include <policy/rbf.h>
#include <primitives/block.h>
#include <primitives/transaction.h>
#include <rpc/blockchain.h>
#include <rpc/protocol.h>
#include <rpc/request.h>
#include <rpc/server.h>
#include <sync.h>
#include <txmempool.h>
#include <uint256.h>
#include <univalue.h>
#include <util/btcsignals.h>
#include <util/check.h>
#include <util/expected.h>
#include <util/fees.h>
#include <util/result.h>
#include <util/signalinterrupt.h>
#include <util/string.h>
#include <util/time.h>
#include <util/translation.h>
#include <validation.h>
#include <validationinterface.h>
#include <any>
#include <atomic>
#include <condition_variable>
#include <cstdint>
#include <cstdlib>
#include <functional>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <tuple>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  BlockRef
 Hash/height pair to help track and identify blocks. More...
class  BlockTemplate
 Block template interface. More...
struct  BlockTip
 Block tip (could be a header or not, depends on the subscribed signal). More...
class  Chain
class  FoundBlock
class  Handler
class  Mining
class  Node
 Top-level interface for a bitcoin node (bitcoind process). More...
class  Rpc
 Interface giving clients ability to emulate HTTP RPC calls. More...
class  WalletLoader
class  BlockAssembler
 Generate a new block, without valid proof-of-work. More...
struct  BlockWaitOptions
struct  CoinbaseTx
 Template containing all coinbase transaction fields that are set by our miner code. More...

Namespaces

namespace  node
namespace  interfaces

Functions

std::unique_ptr< Node > interfaces::MakeNode (node::NodeContext &context)
 Return implementation of Node interface.
std::unique_ptr< Chain > interfaces::MakeChain (node::NodeContext &node)
 Return implementation of Chain interface.
std::unique_ptr< Mining > interfaces::MakeMining (const node::NodeContext &node, bool wait_loaded=true)
std::unique_ptr< Rpc > interfaces::MakeRpc (node::NodeContext &node)
 Return implementation of Rpc interface.
std::unique_ptr< Handler > MakeSignalHandler (btcsignals::connection connection)
 Return handler wrapping a btcsignals connection.
template<typename C, typename S, typename UnaryOp>
auto Join (const C &container, const S &separator, UnaryOp unary_op)
 Join all container items.

Function Documentation

◆ Join()

template<typename C, typename S, typename UnaryOp>
auto util::Join ( const C & container,
const S & separator,
UnaryOp unary_op )

Join all container items.

Typically used to concatenate strings but accepts containers with elements of any type.

Parameters
containerThe items to join
separatorThe separator
unary_opApply this operator to each item

Definition at line 209 of file string.h.

◆ MakeSignalHandler()

Return handler wrapping a btcsignals connection.

Definition at line 48 of file interfaces.cpp.