Bitcoin Core  21.99.0
P2P Digital Currency
Classes | Typedefs | Functions
transaction.h File Reference
#include <amount.h>
#include <primitives/transaction.h>
#include <serialize.h>
#include <wallet/ismine.h>
#include <threadsafety.h>
#include <tinyformat.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <list>
#include <vector>
Include dependency graph for transaction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CMerkleTx
 Legacy class used for deserializing vtxPrev for backwards compatibility. More...
 
class  CWalletTx
 A transaction with a bunch of additional info that only the owner cares about. More...
 
struct  CWalletTx::Confirmation
 Confirmation includes tx status and a triplet of {block height/block hash/tx index in block} at which tx has been confirmed. More...
 

Typedefs

typedef std::map< std::string, std::string > mapValue_t
 

Functions

int CalculateMaximumSignedInputSize (const CTxOut &txout, const CWallet *pwallet, bool use_max_sig=false)
 
static void ReadOrderPos (int64_t &nOrderPos, mapValue_t &mapValue)
 
static void WriteOrderPos (const int64_t &nOrderPos, mapValue_t &mapValue)
 

Typedef Documentation

◆ mapValue_t

typedef std::map<std::string, std::string> mapValue_t

Definition at line 20 of file transaction.h.

Function Documentation

◆ CalculateMaximumSignedInputSize()

int CalculateMaximumSignedInputSize ( const CTxOut txout,
const CWallet pwallet,
bool  use_max_sig = false 
)

Definition at line 29 of file spend.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadOrderPos()

static void ReadOrderPos ( int64_t &  nOrderPos,
mapValue_t mapValue 
)
inlinestatic

Definition at line 27 of file transaction.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteOrderPos()

static void WriteOrderPos ( const int64_t &  nOrderPos,
mapValue_t mapValue 
)
inlinestatic

Definition at line 37 of file transaction.h.

Here is the call graph for this function:
Here is the caller graph for this function: