Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
spend.cpp File Reference
#include <common/messages.h>
#include <consensus/validation.h>
#include <core_io.h>
#include <key_io.h>
#include <node/types.h>
#include <policy/policy.h>
#include <policy/truc_policy.h>
#include <rpc/rawtransaction_util.h>
#include <rpc/util.h>
#include <script/script.h>
#include <util/rbf.h>
#include <util/translation.h>
#include <util/vector.h>
#include <wallet/coincontrol.h>
#include <wallet/feebumper.h>
#include <wallet/fees.h>
#include <wallet/rpc/util.h>
#include <wallet/spend.h>
#include <wallet/wallet.h>
#include <univalue.h>
Include dependency graph for spend.cpp:

Go to the source code of this file.

Namespaces

namespace  wallet

Enumerations

enum class  TransactionError

Functions

std::vector< CRecipientwallet::CreateRecipients (const std::vector< std::pair< CTxDestination, CAmount > > &outputs, const std::set< int > &subtract_fee_outputs)
static void wallet::InterpretFeeEstimationInstructions (const UniValue &conf_target, const UniValue &estimate_mode, const UniValue &fee_rate, UniValue &options)
std::set< int > wallet::InterpretSubtractFeeFromOutputInstructions (const UniValue &sffo_instructions, const std::vector< std::string > &destinations)
static UniValue wallet::FinishTransaction (const std::shared_ptr< CWallet > pwallet, const UniValue &options, CMutableTransaction &rawTx)
static void wallet::PreventOutdatedOptions (const UniValue &options)
UniValue wallet::SendMoney (CWallet &wallet, const CCoinControl &coin_control, std::vector< CRecipient > &recipients, mapValue_t map_value, bool verbose)
static void wallet::SetFeeEstimateMode (const CWallet &wallet, CCoinControl &cc, const UniValue &conf_target, const UniValue &estimate_mode, const UniValue &fee_rate, bool override_min_fee)
 Update coin control with fee estimation based on the given parameters.
RPCHelpMan wallet::sendtoaddress ()
RPCHelpMan wallet::sendmany ()
static std::vector< RPCArgwallet::FundTxDoc (bool solving_data=true)
CreatedTransactionResult wallet::FundTransaction (CWallet &wallet, const CMutableTransaction &tx, const std::vector< CRecipient > &recipients, const UniValue &options, CCoinControl &coinControl, bool override_min_fee)
static void wallet::SetOptionsInputWeights (const UniValue &inputs, UniValue &options)
RPCHelpMan wallet::fundrawtransaction ()
RPCHelpMan wallet::signrawtransactionwithwallet ()
static std::vector< RPCArgwallet::OutputsDoc ()
static RPCHelpMan wallet::bumpfee_helper (std::string method_name)
RPCHelpMan wallet::bumpfee ()
RPCHelpMan wallet::psbtbumpfee ()
RPCHelpMan wallet::send ()
RPCHelpMan wallet::sendall ()
RPCHelpMan wallet::walletprocesspsbt ()
RPCHelpMan wallet::walletcreatefundedpsbt ()
bool FeeModeFromString (std::string_view mode_string, FeeEstimateMode &fee_estimate_mode)
std::string FeeModesDetail (std::string default_info)
std::string InvalidEstimateModeErrorMessage ()
std::string StringForFeeReason (FeeReason reason)
bilingual_str TransactionErrorString (const TransactionError err)

Enumeration Type Documentation

◆ TransactionError

enum class node::TransactionError
strong

Definition at line 28 of file types.h.

Function Documentation

◆ FeeModeFromString()

bool common::FeeModeFromString ( std::string_view mode_string,
FeeEstimateMode & fee_estimate_mode )

Definition at line 93 of file messages.cpp.

◆ FeeModesDetail()

std::string common::FeeModesDetail ( std::string default_info)

Definition at line 74 of file messages.cpp.

◆ InvalidEstimateModeErrorMessage()

Definition at line 88 of file messages.cpp.

◆ StringForFeeReason()

std::string common::StringForFeeReason ( FeeReason reason)

Definition at line 27 of file messages.cpp.

◆ TransactionErrorString()