Fabcoin Core  0.16.2
P2P Digital Currency
Enumerations | Functions | Variables
consensus.h File Reference
#include <stdlib.h>
#include <stdint.h>
Include dependency graph for consensus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  { LOCKTIME_VERIFY_SEQUENCE = (1 << 0), LOCKTIME_MEDIAN_TIME_PAST = (1 << 1) }
 Flags for nSequence and nLockTime locks. More...
 

Functions

void updateBlockSizeParams (unsigned int newBlockSize)
 

Variables

unsigned int dgpMaxBlockSerSize
 The maximum allowed size for a serialized block, in bytes (only for buffer size limits) More...
 
unsigned int dgpMaxBlockWeight
 The maximum allowed weight for a block, see BIP 141 (network rule) More...
 
unsigned int dgpMaxBlockBaseSize
 The maximum allowed size for a block excluding witness data, in bytes (network rule) More...
 
unsigned int dgpMaxBlockSize
 
int64_t dgpMaxBlockSigOps
 The maximum allowed number of signature check operations in a block (network rule) More...
 
unsigned int dgpMaxProtoMsgLength
 
unsigned int dgpMaxTxSigOps
 

Enumeration Type Documentation

anonymous enum

Flags for nSequence and nLockTime locks.

Enumerator
LOCKTIME_VERIFY_SEQUENCE 
LOCKTIME_MEDIAN_TIME_PAST 

Definition at line 43 of file consensus.h.

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

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

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

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

Definition at line 15 of file consensus.cpp.

unsigned int dgpMaxBlockSize

Definition at line 12 of file consensus.cpp.

unsigned int dgpMaxBlockWeight

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

Definition at line 8 of file consensus.cpp.

unsigned int dgpMaxProtoMsgLength

Definition at line 17 of file consensus.cpp.

unsigned int dgpMaxTxSigOps

Definition at line 19 of file consensus.cpp.