Bitcoin Core 32.1.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< CRecipient > wallet::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, std::optional< std::string > comment, std::optional< std::string > comment_to, 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.
RPCMethod wallet::sendtoaddress ()
RPCMethod wallet::sendmany ()
static std::vector< RPCArg > wallet::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)
RPCMethod wallet::fundrawtransaction ()
RPCMethod wallet::signrawtransactionwithwallet ()
static std::vector< RPCArg > wallet::OutputsDoc ()
static RPCMethod wallet::bumpfee_helper (std::string method_name)
RPCMethod wallet::bumpfee ()
RPCMethod wallet::psbtbumpfee ()
RPCMethod wallet::send ()
RPCMethod wallet::sendall ()
RPCMethod wallet::walletprocesspsbt ()
RPCMethod 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 19 of file types.h.

Function Documentation

◆ FeeModeFromString()

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

Definition at line 85 of file messages.cpp.

◆ FeeModesDetail()

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

Definition at line 66 of file messages.cpp.

◆ InvalidEstimateModeErrorMessage()

Definition at line 80 of file messages.cpp.

◆ StringForFeeReason()

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

Definition at line 27 of file messages.cpp.

◆ TransactionErrorString()