Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

References Sirius patch 4, use operation-mode=historical-balances #34

Merged
merged 2 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM golang:1.20.7 as builder

ARG CONFIG_TESTNET_TAG=T1.6.15.0
ARG CONFIG_DEVNET_TAG=D1.6.15.0
ARG CONFIG_MAINNET_TAG=v1.6.13.0
ARG CONFIG_MAINNET_TAG=v1.6.15.0
ARG PROXY_TESTNET_TAG=v1.1.43
ARG PROXY_DEVNET_TAG=v1.1.43
ARG PROXY_MAINNET_TAG=v1.1.43
Expand Down
20 changes: 20 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ services:
[
"/mainnet/node/node",
"--working-directory=/data",
"--operation-mode=historical-balances",
"--log-save",
"--log-level=*:DEBUG",
"--log-logger-name",
Expand Down Expand Up @@ -53,6 +54,7 @@ services:
[
"/mainnet/node/node",
"--working-directory=/data",
"--operation-mode=historical-balances",
"--log-save",
"--log-level=*:DEBUG",
"--log-logger-name",
Expand Down Expand Up @@ -88,6 +90,7 @@ services:
[
"/mainnet/node/node",
"--working-directory=/data",
"--operation-mode=historical-balances",
"--log-save",
"--log-level=*:DEBUG",
"--log-logger-name",
Expand Down Expand Up @@ -123,6 +126,7 @@ services:
[
"/mainnet/node/node",
"--working-directory=/data",
"--operation-mode=historical-balances",
"--log-save",
"--log-level=*:DEBUG",
"--log-logger-name",
Expand Down Expand Up @@ -183,12 +187,15 @@ services:
[
"/devnet/node/node",
"--working-directory=/data",
"--operation-mode=historical-balances",
"--log-save",
"--log-level=*:DEBUG",
"--log-logger-name",
"--rest-api-interface=0.0.0.0:8080",
"--destination-shard-as-observer=0",
"--display-name=${DISPLAY_NAME_BASE:-DeepHistory}-0",
"--serialize-snapshots",
"--disable-consensus-watchdog",
"--no-key"
]
networks:
Expand Down Expand Up @@ -216,12 +223,15 @@ services:
[
"/devnet/node/node",
"--working-directory=/data",
"--operation-mode=historical-balances",
"--log-save",
"--log-level=*:DEBUG",
"--log-logger-name",
"--rest-api-interface=0.0.0.0:8080",
"--destination-shard-as-observer=1",
"--display-name=${DISPLAY_NAME_BASE:-DeepHistory}-1",
"--serialize-snapshots",
"--disable-consensus-watchdog",
"--no-key"
]
networks:
Expand Down Expand Up @@ -249,12 +259,15 @@ services:
[
"/devnet/node/node",
"--working-directory=/data",
"--operation-mode=historical-balances",
"--log-save",
"--log-level=*:DEBUG",
"--log-logger-name",
"--rest-api-interface=0.0.0.0:8080",
"--destination-shard-as-observer=2",
"--display-name=${DISPLAY_NAME_BASE:-DeepHistory}-2",
"--serialize-snapshots",
"--disable-consensus-watchdog",
"--no-key"
]
networks:
Expand Down Expand Up @@ -282,12 +295,15 @@ services:
[
"/devnet/node/node",
"--working-directory=/data",
"--operation-mode=historical-balances",
"--log-save",
"--log-level=*:DEBUG",
"--log-logger-name",
"--rest-api-interface=0.0.0.0:8080",
"--destination-shard-as-observer=metachain",
"--display-name=${DISPLAY_NAME_BASE:-DeepHistory}-metachain",
"--serialize-snapshots",
"--disable-consensus-watchdog",
"--no-key"
]
networks:
Expand Down Expand Up @@ -340,6 +356,7 @@ services:
[
"/testnet/node/node",
"--working-directory=/data",
"--operation-mode=historical-balances",
"--log-save",
"--log-level=*:DEBUG",
"--log-logger-name",
Expand Down Expand Up @@ -375,6 +392,7 @@ services:
[
"/testnet/node/node",
"--working-directory=/data",
"--operation-mode=historical-balances",
"--log-save",
"--log-level=*:DEBUG",
"--log-logger-name",
Expand Down Expand Up @@ -410,6 +428,7 @@ services:
[
"/testnet/node/node",
"--working-directory=/data",
"--operation-mode=historical-balances",
"--log-save",
"--log-level=*:DEBUG",
"--log-logger-name",
Expand Down Expand Up @@ -445,6 +464,7 @@ services:
[
"/testnet/node/node",
"--working-directory=/data",
"--operation-mode=historical-balances",
"--log-save",
"--log-level=*:DEBUG",
"--log-logger-name",
Expand Down
9 changes: 0 additions & 9 deletions prefs_observer.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
[Preferences]
FullArchive = true

OverridableConfigTomlValues = [
{ File = "config.toml", Path = "GeneralSettings.StartInEpochEnabled", Value = "false" },
{ File = "config.toml", Path = "DbLookupExtensions.Enabled", Value = "true" },
{ File = "config.toml", Path = "StateTriesConfig.AccountsStatePruningEnabled", Value = "false" },
{ File = "config.toml", Path = "StateTriesConfig.SnapshotsEnabled", Value = "true" },
{ File = "config.toml", Path = "StoragePruning.ObserverCleanOldEpochsData", Value = "false" },
{ File = "config.toml", Path = "StoragePruning.AccountsTrieCleanOldEpochsData", Value = "false" },
{ File = "config.toml", Path = "StateTriesConfig.PeerStatePruningEnabled", Value = "true" },
{ File = "config.toml", Path = "WebServerAntiflood.SimultaneousRequests", Value = "256" },
{ File = "config.toml", Path = "WebServerAntiflood.TrieOperationsDeadlineMilliseconds", Value = "300000" }
]