Bitcoin ABC
0.31.1
P2P Digital Currency
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
f
g
h
i
k
m
n
o
p
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
h
i
l
m
n
p
q
r
s
t
u
v
w
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
!
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
!
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
m
n
o
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
f
g
i
o
p
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
b
c
d
e
h
i
k
l
m
n
p
r
s
t
u
v
Enumerations
b
c
d
e
f
g
h
i
j
m
n
o
p
r
s
t
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
x
y
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
rpc
server_util.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_SERVER_UTIL_H
6
#define BITCOIN_RPC_SERVER_UTIL_H
7
8
#include <any>
9
10
class
ArgsManager
;
11
class
CConnman
;
12
class
CTxMemPool
;
13
class
ChainstateManager
;
14
class
PeerManager
;
15
namespace
node
{
16
struct
NodeContext;
17
}
// namespace node
18
namespace
avalanche
{
19
class
Processor;
20
}
// namespace avalanche
21
22
node::NodeContext
&
EnsureAnyNodeContext
(
const
std::any &context);
23
CTxMemPool
&
EnsureMemPool
(
const
node::NodeContext
&
node
);
24
CTxMemPool
&
EnsureAnyMemPool
(
const
std::any &context);
25
ArgsManager
&
EnsureArgsman
(
const
node::NodeContext
&
node
);
26
ArgsManager
&
EnsureAnyArgsman
(
const
std::any &context);
27
ChainstateManager
&
EnsureChainman
(
const
node::NodeContext
&
node
);
28
ChainstateManager
&
EnsureAnyChainman
(
const
std::any &context);
29
CConnman
&
EnsureConnman
(
const
node::NodeContext
&
node
);
30
PeerManager
&
EnsurePeerman
(
const
node::NodeContext
&
node
);
31
avalanche::Processor
&
EnsureAvalanche
(
const
node::NodeContext
&
node
);
32
33
#endif
// BITCOIN_RPC_SERVER_UTIL_H
ArgsManager
Definition:
args.h:96
CConnman
Definition:
net.h:856
CTxMemPool
CTxMemPool stores valid-according-to-the-current-best-chain transactions that may be included in the ...
Definition:
txmempool.h:214
ChainstateManager
Provides an interface for creating and interacting with one or two chainstates: an IBD chainstate gen...
Definition:
validation.h:1149
PeerManager
Definition:
net_processing.h:69
avalanche::Processor
Definition:
processor.h:159
avalanche
Definition:
avalanche.h:13
node
Definition:
init.h:31
EnsureAnyChainman
ChainstateManager & EnsureAnyChainman(const std::any &context)
Definition:
server_util.cpp:59
EnsureArgsman
ArgsManager & EnsureArgsman(const node::NodeContext &node)
Definition:
server_util.cpp:41
EnsureAnyNodeContext
node::NodeContext & EnsureAnyNodeContext(const std::any &context)
Definition:
server_util.cpp:21
EnsureAvalanche
avalanche::Processor & EnsureAvalanche(const node::NodeContext &node)
Definition:
server_util.cpp:81
EnsureMemPool
CTxMemPool & EnsureMemPool(const node::NodeContext &node)
Definition:
server_util.cpp:29
EnsureAnyMemPool
CTxMemPool & EnsureAnyMemPool(const std::any &context)
Definition:
server_util.cpp:37
EnsurePeerman
PeerManager & EnsurePeerman(const node::NodeContext &node)
Definition:
server_util.cpp:72
EnsureConnman
CConnman & EnsureConnman(const node::NodeContext &node)
Definition:
server_util.cpp:63
EnsureChainman
ChainstateManager & EnsureChainman(const node::NodeContext &node)
Definition:
server_util.cpp:52
EnsureAnyArgsman
ArgsManager & EnsureAnyArgsman(const std::any &context)
Definition:
server_util.cpp:48
node::NodeContext
NodeContext struct containing references to chain state and connection state.
Definition:
context.h:46
Generated on Sun Apr 13 2025 21:40:53 for Bitcoin ABC by
1.9.4