Bitcoin Core
0.21.1
P2P Digital Currency
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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 <memory>
11
#include <string>
12
#include <vector>
13
14
class
CRPCCommand
;
15
class
CWallet
;
16
class
JSONRPCRequest
;
17
class
LegacyScriptPubKeyMan
;
18
class
UniValue
;
19
class
CTransaction
;
20
struct
PartiallySignedTransaction
;
21
struct
WalletContext
;
22
23
Span<const CRPCCommand>
GetWalletRPCCommands
();
24
31
std::shared_ptr<CWallet>
GetWalletForJSONRPCRequest
(
const
JSONRPCRequest
& request);
32
33
void
EnsureWalletIsUnlocked
(
const
CWallet
*);
34
WalletContext
&
EnsureWalletContext
(
const
util::Ref
& context);
35
LegacyScriptPubKeyMan
&
EnsureLegacyScriptPubKeyMan
(
CWallet
& wallet,
bool
also_create =
false
);
36
37
RPCHelpMan
getaddressinfo
();
38
RPCHelpMan
signrawtransactionwithwallet
();
39
#endif //BITCOIN_WALLET_RPCWALLET_H
signrawtransactionwithwallet
RPCHelpMan signrawtransactionwithwallet()
Definition:
rpcwallet.cpp:3293
RPCHelpMan
Definition:
util.h:332
span.h
EnsureLegacyScriptPubKeyMan
LegacyScriptPubKeyMan & EnsureLegacyScriptPubKeyMan(CWallet &wallet, bool also_create)
Definition:
rpcwallet.cpp:136
EnsureWalletIsUnlocked
void EnsureWalletIsUnlocked(const CWallet *pwallet)
Definition:
rpcwallet.cpp:120
UniValue
Definition:
univalue.h:19
EnsureWalletContext
WalletContext & EnsureWalletContext(const util::Ref &context)
Definition:
rpcwallet.cpp:127
PartiallySignedTransaction
A version of CTransaction with the PSBT format.
Definition:
psbt.h:390
GetWalletForJSONRPCRequest
std::shared_ptr< CWallet > GetWalletForJSONRPCRequest(const JSONRPCRequest &request)
Figures out what wallet, if any, to use for a JSONRPCRequest.
Definition:
rpcwallet.cpp:97
util::Ref
Type-safe dynamic reference.
Definition:
ref.h:21
GetWalletRPCCommands
Span< const CRPCCommand > GetWalletRPCCommands()
Definition:
rpcwallet.cpp:4542
JSONRPCRequest
Definition:
request.h:31
CWallet
A CWallet maintains a set of transactions and balances, and provides the ability to create new transa...
Definition:
wallet.h:633
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:82
CTransaction
The basic transaction that is broadcasted on the network and contained in blocks. ...
Definition:
transaction.h:259
getaddressinfo
RPCHelpMan getaddressinfo()
Definition:
rpcwallet.cpp:3766
LegacyScriptPubKeyMan
Definition:
scriptpubkeyman.h:256
CRPCCommand
Definition:
server.h:91
Generated on Fri Apr 30 2021 13:51:54 for Bitcoin Core by
1.8.5