From 4917fde5be2a8c1eb5f6147b1900d52cefcd7dbd Mon Sep 17 00:00:00 2001 From: Raneet Debnath Date: Thu, 16 Feb 2023 09:59:22 +0530 Subject: [PATCH] builder,docs/cli,packaging: update toml files --- builder/files/config.toml | 3 ++- docs/cli/example_config.toml | 2 ++ packaging/templates/mainnet-v1/archive/config.toml | 2 ++ packaging/templates/mainnet-v1/sentry/sentry/bor/config.toml | 2 ++ .../templates/mainnet-v1/sentry/validator/bor/config.toml | 2 ++ packaging/templates/mainnet-v1/without-sentry/bor/config.toml | 2 ++ packaging/templates/testnet-v4/archive/config.toml | 2 ++ packaging/templates/testnet-v4/sentry/sentry/bor/config.toml | 2 ++ .../templates/testnet-v4/sentry/validator/bor/config.toml | 2 ++ packaging/templates/testnet-v4/without-sentry/bor/config.toml | 2 ++ 10 files changed, 20 insertions(+), 1 deletion(-) diff --git a/builder/files/config.toml b/builder/files/config.toml index 0f2919807f..a59d986903 100644 --- a/builder/files/config.toml +++ b/builder/files/config.toml @@ -13,7 +13,7 @@ syncmode = "full" # snapshot = true # "bor.logs" = false # ethstats = "" - +# devfakeauthor = false # ["eth.requiredblocks"] [p2p] @@ -65,6 +65,7 @@ syncmode = "full" # ipcpath = "" # gascap = 50000000 # txfeecap = 5.0 +# allow-unprotected-txs = false # [jsonrpc.http] # enabled = false # port = 8545 diff --git a/docs/cli/example_config.toml b/docs/cli/example_config.toml index 64ef60ae12..449f545990 100644 --- a/docs/cli/example_config.toml +++ b/docs/cli/example_config.toml @@ -13,6 +13,7 @@ gcmode = "full" # Blockchain garbage collection mode ("full", "arch snapshot = true # Enables the snapshot-database mode "bor.logs" = false # Enables bor log retrieval ethstats = "" # Reporting URL of a ethstats service (nodename:secret@host:port) +devfakeauthor = false # Run miner without validator set authorization [dev mode] : Use with '--bor.withoutheimdall' (default: false) ["eth.requiredblocks"] # Comma separated block number-to-hash mappings to require for peering (=) (default = empty map) "31000000" = "0x2087b9e2b353209c2c21e370c82daa12278efd0fe5f0febe6c29035352cf050e" @@ -64,6 +65,7 @@ ethstats = "" # Reporting URL of a ethstats service (nodename:sec ipcpath = "" # Filename for IPC socket/pipe within the datadir (explicit paths escape it) gascap = 50000000 # Sets a cap on gas that can be used in eth_call/estimateGas (0=infinite) txfeecap = 5.0 # Sets a cap on transaction fee (in ether) that can be sent via the RPC APIs (0 = no cap) + allow-unprotected-txs = false # Allow for unprotected (non EIP155 signed) transactions to be submitted via RPC (default: false) [jsonrpc.http] enabled = false # Enable the HTTP-RPC server port = 8545 # http.port diff --git a/packaging/templates/mainnet-v1/archive/config.toml b/packaging/templates/mainnet-v1/archive/config.toml index 9eaafd3bee..d69b044043 100644 --- a/packaging/templates/mainnet-v1/archive/config.toml +++ b/packaging/templates/mainnet-v1/archive/config.toml @@ -8,6 +8,7 @@ syncmode = "full" gcmode = "archive" # snapshot = true # ethstats = "" +# devfakeauthor = false # ["eth.requiredblocks"] @@ -57,6 +58,7 @@ gcmode = "archive" # ipcdisable = false # gascap = 50000000 # txfeecap = 5.0 + # allow-unprotected-txs = false [jsonrpc.http] enabled = true port = 8545 diff --git a/packaging/templates/mainnet-v1/sentry/sentry/bor/config.toml b/packaging/templates/mainnet-v1/sentry/sentry/bor/config.toml index 94dd6634f0..873a6b7390 100644 --- a/packaging/templates/mainnet-v1/sentry/sentry/bor/config.toml +++ b/packaging/templates/mainnet-v1/sentry/sentry/bor/config.toml @@ -8,6 +8,7 @@ syncmode = "full" # gcmode = "full" # snapshot = true # ethstats = "" +# devfakeauthor = false # ["eth.requiredblocks"] @@ -57,6 +58,7 @@ syncmode = "full" # ipcdisable = false # gascap = 50000000 # txfeecap = 5.0 + # allow-unprotected-txs = false [jsonrpc.http] enabled = true port = 8545 diff --git a/packaging/templates/mainnet-v1/sentry/validator/bor/config.toml b/packaging/templates/mainnet-v1/sentry/validator/bor/config.toml index 9c55683c96..00891a80ba 100644 --- a/packaging/templates/mainnet-v1/sentry/validator/bor/config.toml +++ b/packaging/templates/mainnet-v1/sentry/validator/bor/config.toml @@ -10,6 +10,7 @@ syncmode = "full" # gcmode = "full" # snapshot = true # ethstats = "" +# devfakeauthor = false # ["eth.requiredblocks"] @@ -59,6 +60,7 @@ syncmode = "full" # ipcdisable = false # gascap = 50000000 # txfeecap = 5.0 + # allow-unprotected-txs = false [jsonrpc.http] enabled = true port = 8545 diff --git a/packaging/templates/mainnet-v1/without-sentry/bor/config.toml b/packaging/templates/mainnet-v1/without-sentry/bor/config.toml index 573f1f3be8..7cdcb55095 100644 --- a/packaging/templates/mainnet-v1/without-sentry/bor/config.toml +++ b/packaging/templates/mainnet-v1/without-sentry/bor/config.toml @@ -10,6 +10,7 @@ syncmode = "full" # gcmode = "full" # snapshot = true # ethstats = "" +# devfakeauthor = false # ["eth.requiredblocks"] @@ -59,6 +60,7 @@ syncmode = "full" # ipcdisable = false # gascap = 50000000 # txfeecap = 5.0 + # allow-unprotected-txs = false [jsonrpc.http] enabled = true port = 8545 diff --git a/packaging/templates/testnet-v4/archive/config.toml b/packaging/templates/testnet-v4/archive/config.toml index 1762fdf117..871a3e526b 100644 --- a/packaging/templates/testnet-v4/archive/config.toml +++ b/packaging/templates/testnet-v4/archive/config.toml @@ -8,6 +8,7 @@ syncmode = "full" gcmode = "archive" # snapshot = true # ethstats = "" +# devfakeauthor = false # ["eth.requiredblocks"] @@ -57,6 +58,7 @@ gcmode = "archive" # ipcdisable = false # gascap = 50000000 # txfeecap = 5.0 + # allow-unprotected-txs = false [jsonrpc.http] enabled = true port = 8545 diff --git a/packaging/templates/testnet-v4/sentry/sentry/bor/config.toml b/packaging/templates/testnet-v4/sentry/sentry/bor/config.toml index ae191cec2c..2a63a8b4a1 100644 --- a/packaging/templates/testnet-v4/sentry/sentry/bor/config.toml +++ b/packaging/templates/testnet-v4/sentry/sentry/bor/config.toml @@ -8,6 +8,7 @@ syncmode = "full" # gcmode = "full" # snapshot = true # ethstats = "" +# devfakeauthor = false # ["eth.requiredblocks"] @@ -57,6 +58,7 @@ syncmode = "full" # ipcdisable = false # gascap = 50000000 # txfeecap = 5.0 + # allow-unprotected-txs = false [jsonrpc.http] enabled = true port = 8545 diff --git a/packaging/templates/testnet-v4/sentry/validator/bor/config.toml b/packaging/templates/testnet-v4/sentry/validator/bor/config.toml index b441cc137d..bc72044730 100644 --- a/packaging/templates/testnet-v4/sentry/validator/bor/config.toml +++ b/packaging/templates/testnet-v4/sentry/validator/bor/config.toml @@ -10,6 +10,7 @@ syncmode = "full" # gcmode = "full" # snapshot = true # ethstats = "" +# devfakeauthor = false # ["eth.requiredblocks"] @@ -59,6 +60,7 @@ syncmode = "full" # ipcdisable = false # gascap = 50000000 # txfeecap = 5.0 + # allow-unprotected-txs = false [jsonrpc.http] enabled = true port = 8545 diff --git a/packaging/templates/testnet-v4/without-sentry/bor/config.toml b/packaging/templates/testnet-v4/without-sentry/bor/config.toml index 05a254e184..531c346735 100644 --- a/packaging/templates/testnet-v4/without-sentry/bor/config.toml +++ b/packaging/templates/testnet-v4/without-sentry/bor/config.toml @@ -10,6 +10,7 @@ syncmode = "full" # gcmode = "full" # snapshot = true # ethstats = "" +# devfakeauthor = false # ["eth.requiredblocks"] @@ -59,6 +60,7 @@ syncmode = "full" # ipcdisable = false # gascap = 50000000 # txfeecap = 5.0 + # allow-unprotected-txs = false [jsonrpc.http] enabled = true port = 8545