Fabcoin Core  0.16.2
P2P Digital Currency
Functions | Variables
consensus.cpp File Reference
#include <consensus/consensus.h>
#include <primitives/transaction.h>
#include <policy/policy.h>
Include dependency graph for consensus.cpp:

Go to the source code of this file.

Functions

void updateBlockSizeParams (unsigned int newBlockSize)
 

Variables

unsigned int dgpMaxBlockSerSize = 8000000
 The maximum allowed size for a serialized block, in bytes (only for buffer size limits) More...
 
unsigned int dgpMaxBlockWeight = 8000000
 The maximum allowed weight for a block, see BIP 141 (network rule) More...
 
unsigned int dgpMaxBlockBaseSize = 2000000
 The maximum allowed size for a block excluding witness data, in bytes (network rule) More...
 
unsigned int dgpMaxBlockSize = 2000000
 
int64_t dgpMaxBlockSigOps = 80000
 The maximum allowed number of signature check operations in a block (network rule) More...
 
unsigned int dgpMaxProtoMsgLength = 8000000
 
unsigned int dgpMaxTxSigOps = 16000
 The maximum number of sigops we're willing to relay/mine in a single tx. More...
 

Function Documentation

void updateBlockSizeParams ( unsigned int  newBlockSize)

Definition at line 21 of file consensus.cpp.

Here is the caller graph for this function:

Variable Documentation

unsigned int dgpMaxBlockBaseSize = 2000000

The maximum allowed size for a block excluding witness data, in bytes (network rule)

Definition at line 10 of file consensus.cpp.

unsigned int dgpMaxBlockSerSize = 8000000

The maximum allowed size for a serialized block, in bytes (only for buffer size limits)

Definition at line 6 of file consensus.cpp.

int64_t dgpMaxBlockSigOps = 80000

The maximum allowed number of signature check operations in a block (network rule)

Definition at line 15 of file consensus.cpp.

unsigned int dgpMaxBlockSize = 2000000

Definition at line 12 of file consensus.cpp.

unsigned int dgpMaxBlockWeight = 8000000

The maximum allowed weight for a block, see BIP 141 (network rule)

Definition at line 8 of file consensus.cpp.

unsigned int dgpMaxProtoMsgLength = 8000000

Definition at line 17 of file consensus.cpp.

unsigned int dgpMaxTxSigOps = 16000

The maximum number of sigops we're willing to relay/mine in a single tx.

Definition at line 19 of file consensus.cpp.