Raven Core  3.0.0
P2P Digital Currency
Macros | Enumerations | Functions
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.

Macros

#define UNUSED_VAR   __attribute__ ((unused))
 

Enumerations

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

Functions

unsigned int GetMaxBlockWeight ()
 
unsigned int GetMaxBlockSerializedSize ()
 

Macro Definition Documentation

◆ UNUSED_VAR

#define UNUSED_VAR   __attribute__ ((unused))

Definition at line 34 of file consensus.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Flags for nSequence and nLockTime locks.

Enumerator
LOCKTIME_VERIFY_SEQUENCE 
LOCKTIME_MEDIAN_TIME_PAST 

Definition at line 45 of file consensus.h.

Function Documentation

◆ GetMaxBlockSerializedSize()

unsigned int GetMaxBlockSerializedSize ( )

Definition at line 19 of file consensus.cpp.

Here is the caller graph for this function:

◆ GetMaxBlockWeight()

unsigned int GetMaxBlockWeight ( )

Definition at line 8 of file consensus.cpp.

Here is the caller graph for this function: