CMake

general options

Flag
descr
default

CMAKE_BUILD_TYPE

Build type (Debug, Release, RelWithDebInfo, MinSizeRel)

Release

INCLUDE

Path to additional CMakeLists.txt Dir, which will included into the build, allowing to extend the binaries.

eth options

Flag
descr
default

ETH_ACCOUNT

support eth account verification. eth_getBalance, eth_getStorageAt, eth_getProof, eth_getCode, eth_getTransactionCount

ON

ETH_BLOCK

support eth block verification. eth_getBlockByHash, eth_getBlockByNumber, eth_getBlockTransactionCountByHash, eth_getBlockTransactionCountByNumber, eth_getUncleCountByBlockHash, eth_getUncleCountByBlockNumber

ON

ETH_CALL

support eth call verification. eth_call, eth_estimateGas

ON

ETH_LOGS

support eth logs verification. eth_getLogs

ON

ETH_RECEIPT

support eth receipt verification. eth_getTransactionReceipt

ON

ETH_TX

support eth Transaction verification. eth_getTransactionByHash, eth_getTransactionByBlockHashAndIndex, eth_getTransactionByBlockNumberAndIndex

ON

ETH_UTIL

support eth utils like eth_chainId or web3_sha3

ON

EVMLIGHT

uses evmlight vor eth_call verification, which is smaller and faster, but does not track gas.

OFF

EVMONE

uses evmone to verify eth_calls

ON

PRECOMPILES_RIPEMD160

Precompile ripemd160

ON

kona_bridge options

Flag
descr
default

BUILD_KONA_BRIDGE

Build Kona-P2P bridge for native OP-Stack compatibility

ON

.. options

Flag
descr
default

BLS_DESERIALIZE

Store BLS keys deserialized. It is faster but uses 25k more memory in cache per period.

ON

CHAIN_ETH

includes the ETH verification support

ON

CHAIN_OP

includes the OP-Stack verification support

OFF

CLI

Build command line tools

ON

COMBINED_STATIC_LIB

Build a combined static library

OFF

COVERAGE

Enable coverage tracking

OFF

CURL

Enable CURL support

ON

EMBEDDED

Build for embedded target

OFF

HTTP_SERVER

Build the HTTP server using libuv and llhttp

OFF

HTTP_SERVER_GEO

support for geo-location

ON

KOTLIN

Build Kotlin bindings

OFF

MESSAGES

if activated the binaries will contain error messages, but for embedded systems this is not needed and can be turned off to save memory

ON

PROOFER

Build the proofer library

ON

PROOFER_CACHE

Caches blockhashes and maps, which makes a lot of sense on a server

OFF

PYTHON

Build Python bindings

OFF

SHAREDLIB

Build shared library

OFF

STATIC_MEMORY

if true, the memory will be statically allocated, which only makes sense for embedded systems

OFF

SWIFT

Build Swift bindings

OFF

TEST

Build the unit tests

OFF

VERIFIER

Build the verifier library

ON

WASM

Build WebAssembly target

OFF

WITNESS_SIGNER

Enable witness signing

ON

util options

Flag
descr
default

FILE_STORAGE

if activated the verfifier will use a simple file-implementaion to store states in the current folder or in a folder specified by the env varC4_STATE_DIR

ON

PRECOMPILE_ZERO_HASHES

if activated zero hashes are cached which costs up to 1kb in RAM, but are needed in order to calc BeaconBodys in the proofer, but not in the verfier

ON

Last updated