Bitcoin Core
22.0.0
P2P Digital Currency
src
rpc
net.h
Go to the documentation of this file.
1
// Copyright (c) 2021 The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef BITCOIN_RPC_NET_H
6
#define BITCOIN_RPC_NET_H
7
8
class
CConnman
;
9
class
PeerManager
;
10
struct
NodeContext
;
11
12
CConnman
&
EnsureConnman
(
const
NodeContext
&
node
);
13
PeerManager
&
EnsurePeerman
(
const
NodeContext
&
node
);
14
15
#endif // BITCOIN_RPC_NET_H
EnsureConnman
CConnman & EnsureConnman(const NodeContext &node)
Definition:
net.cpp:44
NodeContext
NodeContext struct containing references to chain state and connection state.
Definition:
context.h:39
PeerManager
Definition:
net_processing.h:36
CConnman
Definition:
net.h:747
node
Definition:
interfaces.cpp:68
EnsurePeerman
PeerManager & EnsurePeerman(const NodeContext &node)
Definition:
net.cpp:52
Generated on Thu Sep 9 2021 12:00:00 for Bitcoin Core by
1.8.14