Bitcoin Core  0.19.99
P2P Digital Currency
Classes | Variables
undo.h File Reference
#include <coins.h>
#include <compressor.h>
#include <consensus/consensus.h>
#include <primitives/transaction.h>
#include <serialize.h>
#include <version.h>
Include dependency graph for undo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TxInUndoSerializer
 Undo information for a CTxIn. More...
 
class  TxInUndoDeserializer
 
class  CTxUndo
 Undo information for a CTransaction. More...
 
class  CBlockUndo
 Undo information for a CBlock. More...
 

Variables

static const size_t MIN_TRANSACTION_INPUT_WEIGHT = WITNESS_SCALE_FACTOR * ::GetSerializeSize(CTxIn(), PROTOCOL_VERSION)
 
static const size_t MAX_INPUTS_PER_BLOCK = MAX_BLOCK_WEIGHT / MIN_TRANSACTION_INPUT_WEIGHT
 

Variable Documentation

◆ MAX_INPUTS_PER_BLOCK

const size_t MAX_INPUTS_PER_BLOCK = MAX_BLOCK_WEIGHT / MIN_TRANSACTION_INPUT_WEIGHT
static

Definition at line 66 of file undo.h.

◆ MIN_TRANSACTION_INPUT_WEIGHT

const size_t MIN_TRANSACTION_INPUT_WEIGHT = WITNESS_SCALE_FACTOR * ::GetSerializeSize(CTxIn(), PROTOCOL_VERSION)
static

Definition at line 65 of file undo.h.