Bitcoin
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>

Go to the source code of this file.

Classes

class  TxInUndoSerializer
 
class  TxInUndoDeserializer
 
class  CTxUndo
 
class  CBlockUndo
 

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

◆ MIN_TRANSACTION_INPUT_WEIGHT

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