Bitcoin Core
22.0.0
P2P Digital Currency
src
wallet
rpcwallet.h
Go to the documentation of this file.
1
// Copyright (c) 2016-2020 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_WALLET_RPCWALLET_H
6
#define BITCOIN_WALLET_RPCWALLET_H
7
8
#include <
span.h
>
9
10
#include <any>
11
#include <memory>
12
#include <string>
13
#include <vector>
14
15
class
CRPCCommand
;
16
class
CWallet
;
17
class
JSONRPCRequest
;
18
class
LegacyScriptPubKeyMan
;
19
class
UniValue
;
20
class
CTransaction
;
21
struct
PartiallySignedTransaction
;
22
struct
WalletContext
;
23
24
Span<const CRPCCommand>
GetWalletRPCCommands
();
25
32
std::shared_ptr<CWallet>
GetWalletForJSONRPCRequest
(
const
JSONRPCRequest
& request);
33
34
void
EnsureWalletIsUnlocked
(
const
CWallet
&);
35
WalletContext
&
EnsureWalletContext
(
const
std::any& context);
36
LegacyScriptPubKeyMan
&
EnsureLegacyScriptPubKeyMan
(
CWallet
&
wallet
,
bool
also_create =
false
);
37
38
RPCHelpMan
getaddressinfo
();
39
RPCHelpMan
signrawtransactionwithwallet
();
40
#endif //BITCOIN_WALLET_RPCWALLET_H
RPCHelpMan
Definition:
util.h:345
span.h
UniValue
Definition:
univalue.h:19
PartiallySignedTransaction
A version of CTransaction with the PSBT format.
Definition:
psbt.h:391
EnsureLegacyScriptPubKeyMan
LegacyScriptPubKeyMan & EnsureLegacyScriptPubKeyMan(CWallet &wallet, bool also_create=false)
Definition:
rpcwallet.cpp:136
GetWalletForJSONRPCRequest
std::shared_ptr< CWallet > GetWalletForJSONRPCRequest(const JSONRPCRequest &request)
Figures out what wallet, if any, to use for a JSONRPCRequest.
Definition:
rpcwallet.cpp:96
EnsureWalletIsUnlocked
void EnsureWalletIsUnlocked(const CWallet &)
Definition:
rpcwallet.cpp:119
wallet
Definition:
interfaces.cpp:47
getaddressinfo
RPCHelpMan getaddressinfo()
Definition:
rpcwallet.cpp:3775
JSONRPCRequest
Definition:
request.h:28
signrawtransactionwithwallet
RPCHelpMan signrawtransactionwithwallet()
Definition:
rpcwallet.cpp:3309
CWallet
A CWallet maintains a set of transactions and balances, and provides the ability to create new transa...
Definition:
wallet.h:226
WalletContext
WalletContext struct containing references to state shared between CWallet instances, like the reference to the chain interface, and the list of opened wallets.
Definition:
context.h:23
Span
A Span is an object that can refer to a contiguous sequence of objects.
Definition:
span.h:92
CTransaction
The basic transaction that is broadcasted on the network and contained in blocks. ...
Definition:
transaction.h:259
GetWalletRPCCommands
Span< const CRPCCommand > GetWalletRPCCommands()
Definition:
rpcwallet.cpp:4625
LegacyScriptPubKeyMan
Definition:
scriptpubkeyman.h:261
EnsureWalletContext
WalletContext & EnsureWalletContext(const std::any &context)
Definition:
rpcwallet.cpp:126
CRPCCommand
Definition:
server.h:90
Generated on Thu Sep 9 2021 12:00:00 for Bitcoin Core by
1.8.14