Bitcoin ABC  0.24.7
P2P Digital Currency
rpcwallet.h
Go to the documentation of this file.
1 // Copyright (c) 2016 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 <script/sighashtype.h>
9 #include <span.h>
10 
11 #include <memory>
12 #include <string>
13 #include <vector>
14 
15 class CRPCCommand;
16 class CTransaction;
17 class CWallet;
18 class JSONRPCRequest;
21 class RPCHelpMan;
22 struct WalletContext;
23 
24 namespace util {
25 class Ref;
26 }
27 
29 
36 std::shared_ptr<CWallet>
38 
39 void EnsureWalletIsUnlocked(const CWallet *);
42  bool also_create = false);
43 
46 
47 #endif // BITCOIN_WALLET_RPCWALLET_H
EnsureWalletIsUnlocked
void EnsureWalletIsUnlocked(const CWallet *)
Definition: rpcwallet.cpp:138
EnsureWalletContext
WalletContext & EnsureWalletContext(const util::Ref &context)
Definition: rpcwallet.cpp:146
sighashtype.h
GetWalletForJSONRPCRequest
std::shared_ptr< CWallet > GetWalletForJSONRPCRequest(const JSONRPCRequest &request)
Figures out what wallet, if any, to use for a JSONRPCRequest.
Definition: rpcwallet.cpp:107
RPCHelpMan
Definition: util.h:334
EnsureLegacyScriptPubKeyMan
LegacyScriptPubKeyMan & EnsureLegacyScriptPubKeyMan(CWallet &wallet, bool also_create=false)
Definition: rpcwallet.cpp:155
LegacyScriptPubKeyMan
Definition: scriptpubkeyman.h:320
CTransaction
The basic transaction that is broadcasted on the network and contained in blocks.
Definition: transaction.h:194
GetWalletRPCCommands
Span< const CRPCCommand > GetWalletRPCCommands()
Definition: rpcwallet.cpp:5395
Span
A Span is an object that can refer to a contiguous sequence of objects.
Definition: span.h:83
util::Ref
Type-safe dynamic reference.
Definition: ref.h:21
CRPCCommand
Definition: server.h:149
span.h
signrawtransactionwithwallet
RPCHelpMan signrawtransactionwithwallet()
Definition: rpcwallet.cpp:4085
PartiallySignedTransaction
A version of CTransaction with the PSBT format.
Definition: psbt.h:335
CWallet
A CWallet maintains a set of transactions and balances, and provides the ability to create new transa...
Definition: wallet.h:678
getaddressinfo
RPCHelpMan getaddressinfo()
Definition: rpcwallet.cpp:4427
JSONRPCRequest
Definition: request.h:33
WalletContext
WalletContext struct containing references to state shared between CWallet instances,...
Definition: context.h:23
util
Definition: httprpc.h:13