From 76f8d56df1c8bd176268d35dc292f3068027be8f Mon Sep 17 00:00:00 2001 From: smuu <18609909+smuu@users.noreply.github.com> Date: Wed, 25 Sep 2024 12:19:22 +0200 Subject: [PATCH] Smuu/node bump v0.18.0 (#41) * feat(node): bump to v0.16.1 Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com> * feat(node): bump to v0.18.0 Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com> * fix: bump as 0.17 will be released soon Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com> * fix: conflict Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com> * fix: conflict Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com> --------- Signed-off-by: Smuu <18609909+Smuu@users.noreply.github.com> --- charts/celestia-node/Chart.yaml | 4 +- charts/celestia-node/README.md | 18 ++-- .../templates/configmap-bridge.yaml | 4 +- .../templates/configmap-full.yaml | 4 +- .../templates/configmap-light.yaml | 4 +- charts/celestia-node/values.yaml | 16 ++-- .../config/node/bridge/v0.18.0/config.toml | 78 +++++++++++++++++ scripts/config/node/full/v0.18.0/config.toml | 85 ++++++++++++++++++ scripts/config/node/light/v0.18.0/config.toml | 87 +++++++++++++++++++ 9 files changed, 266 insertions(+), 34 deletions(-) create mode 100644 scripts/config/node/bridge/v0.18.0/config.toml create mode 100644 scripts/config/node/full/v0.18.0/config.toml create mode 100644 scripts/config/node/light/v0.18.0/config.toml diff --git a/charts/celestia-node/Chart.yaml b/charts/celestia-node/Chart.yaml index 9c35a7f..5cd3502 100644 --- a/charts/celestia-node/Chart.yaml +++ b/charts/celestia-node/Chart.yaml @@ -2,7 +2,7 @@ annotations: category: celestia licenses: Apache-2.0 apiVersion: v2 -appVersion: v0.16.1 +appVersion: v0.18.0 dependencies: - name: common repository: oci://registry-1.docker.io/bitnamicharts @@ -21,4 +21,4 @@ maintainers: name: celestia-node sources: - https://github.com/celestiaorg/celestia-node -version: 0.3.3 +version: 0.5.0 diff --git a/charts/celestia-node/README.md b/charts/celestia-node/README.md index 8846acf..a2a0b21 100644 --- a/charts/celestia-node/README.md +++ b/charts/celestia-node/README.md @@ -1,6 +1,6 @@ # celestia-node -![Version: 0.3.3](https://img.shields.io/badge/Version-0.3.3-informational?style=flat-square) ![AppVersion: v0.16.1](https://img.shields.io/badge/AppVersion-v0.16.1-informational?style=flat-square) +![Version: 0.4.0](https://img.shields.io/badge/Version-0.4.0-informational?style=flat-square) ![AppVersion: v0.16.1](https://img.shields.io/badge/AppVersion-v0.16.1-informational?style=flat-square) Celestia Node @@ -105,15 +105,13 @@ Celestia Node | node.config.bridge.configtoml.P2P.NoAnnounceAddresses[8] | string | `"/ip6/::/udp/2121/webrtc-direct"` | | | node.config.bridge.configtoml.P2P.NoAnnounceAddresses[9] | string | `"/ip4/0.0.0.0/tcp/2121"` | | | node.config.bridge.configtoml.P2P.PeerExchange | bool | `true` | | -| node.config.bridge.configtoml.P2P.RoutingTableRefreshPeriod | string | `"1m0s"` | | | node.config.bridge.configtoml.Pruner.EnableService | bool | `false` | | | node.config.bridge.configtoml.RPC.Address | string | `"localhost"` | | | node.config.bridge.configtoml.RPC.Port | string | `"26658"` | | | node.config.bridge.configtoml.RPC.SkipAuth | bool | `false` | | +| node.config.bridge.configtoml.Share.BlockStoreCacheSize | int | `128` | | | node.config.bridge.configtoml.Share.Discovery.AdvertiseInterval | string | `"1h0m0s"` | | | node.config.bridge.configtoml.Share.Discovery.PeersLimit | int | `5` | | -| node.config.bridge.configtoml.Share.EDSStoreParams.BlockstoreCacheSize | int | `128` | | -| node.config.bridge.configtoml.Share.EDSStoreParams.GCInterval | string | `"0s"` | | | node.config.bridge.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize | int | `10` | | | node.config.bridge.configtoml.Share.PeerManagerParams.EnableBlackListing | bool | `false` | | | node.config.bridge.configtoml.Share.PeerManagerParams.GcInterval | string | `"30s"` | | @@ -181,15 +179,13 @@ Celestia Node | node.config.full.configtoml.P2P.NoAnnounceAddresses[8] | string | `"/ip6/::/udp/2121/webrtc-direct"` | | | node.config.full.configtoml.P2P.NoAnnounceAddresses[9] | string | `"/ip4/0.0.0.0/tcp/2121"` | | | node.config.full.configtoml.P2P.PeerExchange | bool | `true` | | -| node.config.full.configtoml.P2P.RoutingTableRefreshPeriod | string | `"1m0s"` | | | node.config.full.configtoml.Pruner.EnableService | bool | `false` | | | node.config.full.configtoml.RPC.Address | string | `"localhost"` | | | node.config.full.configtoml.RPC.Port | string | `"26658"` | | | node.config.full.configtoml.RPC.SkipAuth | bool | `false` | | +| node.config.full.configtoml.Share.BlockStoreCacheSize | int | `128` | | | node.config.full.configtoml.Share.Discovery.AdvertiseInterval | string | `"1h0m0s"` | | | node.config.full.configtoml.Share.Discovery.PeersLimit | int | `5` | | -| node.config.full.configtoml.Share.EDSStoreParams.BlockstoreCacheSize | int | `128` | | -| node.config.full.configtoml.Share.EDSStoreParams.GCInterval | string | `"0s"` | | | node.config.full.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize | int | `10` | | | node.config.full.configtoml.Share.PeerManagerParams.EnableBlackListing | bool | `false` | | | node.config.full.configtoml.Share.PeerManagerParams.GcInterval | string | `"30s"` | | @@ -257,15 +253,13 @@ Celestia Node | node.config.light.configtoml.P2P.NoAnnounceAddresses[8] | string | `"/ip6/::/udp/2121/webrtc-direct"` | | | node.config.light.configtoml.P2P.NoAnnounceAddresses[9] | string | `"/ip4/0.0.0.0/tcp/2121"` | | | node.config.light.configtoml.P2P.PeerExchange | bool | `false` | | -| node.config.light.configtoml.P2P.RoutingTableRefreshPeriod | string | `"1m0s"` | | | node.config.light.configtoml.Pruner.EnableService | bool | `false` | | | node.config.light.configtoml.RPC.Address | string | `"localhost"` | | | node.config.light.configtoml.RPC.Port | string | `"26658"` | | | node.config.light.configtoml.RPC.SkipAuth | bool | `false` | | +| node.config.light.configtoml.Share.BlockStoreCacheSize | int | `128` | | | node.config.light.configtoml.Share.Discovery.AdvertiseInterval | string | `"1h0m0s"` | | | node.config.light.configtoml.Share.Discovery.PeersLimit | int | `5` | | -| node.config.light.configtoml.Share.EDSStoreParams.BlockstoreCacheSize | int | `128` | | -| node.config.light.configtoml.Share.EDSStoreParams.GCInterval | string | `"0s"` | | | node.config.light.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize | int | `10` | | | node.config.light.configtoml.Share.LightAvailability.SampleAmount | int | `16` | | | node.config.light.configtoml.Share.PeerManagerParams.EnableBlackListing | bool | `false` | | @@ -317,11 +311,11 @@ Celestia Node | node.extraVolumeMounts | list | `[]` | | | node.extraVolumes | list | `[]` | | | node.hostAliases | list | `[]` | | -| node.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-node","tag":"v0.16.1"}` | image parameters for the image | +| node.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-node","tag":"v0.18.0"}` | image parameters for the image | | node.image.pullPolicy | string | `"IfNotPresent"` | pull policy for the image, IfNotPresent by default | | node.image.registry | string | `"ghcr.io"` | registry for the image, GitHub Container Registry by default | | node.image.repository | string | `"celestiaorg/celestia-node"` | repository for the image, celestiaorg/celestia-node by default | -| node.image.tag | string | `"v0.16.1"` | tag for the image, v0.16.0 by default | +| node.image.tag | string | `"v0.18.0"` | tag for the image, v0.18.0 by default | | node.initContainers | list | `[]` | | | node.lifecycleHooks | object | `{}` | | | node.livenessProbe | object | `{"enabled":false,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":1}` | liveness probe for the node | diff --git a/charts/celestia-node/templates/configmap-bridge.yaml b/charts/celestia-node/templates/configmap-bridge.yaml index 04084a9..307b6df 100644 --- a/charts/celestia-node/templates/configmap-bridge.yaml +++ b/charts/celestia-node/templates/configmap-bridge.yaml @@ -27,7 +27,6 @@ data: NoAnnounceAddresses = [{{ range $index, $element := .Values.node.config.bridge.configtoml.P2P.NoAnnounceAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}] MutualPeers = {{ .Values.node.config.bridge.configtoml.P2P.MutualPeers }} PeerExchange = {{ .Values.node.config.bridge.configtoml.P2P.PeerExchange }} - RoutingTableRefreshPeriod = "{{ .Values.node.config.bridge.configtoml.P2P.RoutingTableRefreshPeriod }}" [P2P.ConnManager] Low = {{ printf "%.0f" .Values.node.config.bridge.configtoml.P2P.ConnManager.Low }} High = {{ printf "%.0f" .Values.node.config.bridge.configtoml.P2P.ConnManager.High }} @@ -41,11 +40,10 @@ data: Port = "{{ .Values.node.config.bridge.configtoml.Gateway.Port }}" Enabled = {{ .Values.node.config.bridge.configtoml.Gateway.Enabled }} [Share] + BlockStoreCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.BlockStoreCacheSize }} UseShareExchange = {{ .Values.node.config.bridge.configtoml.Share.UseShareExchange }} [Share.EDSStoreParams] - GCInterval = "{{ .Values.node.config.bridge.configtoml.Share.EDSStoreParams.GCInterval }}" RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }} - BlockstoreCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.EDSStoreParams.BlockstoreCacheSize }} [Share.ShrExEDSParams] ServerReadTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}" ServerWriteTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}" diff --git a/charts/celestia-node/templates/configmap-full.yaml b/charts/celestia-node/templates/configmap-full.yaml index e67d1a5..ad1a1eb 100644 --- a/charts/celestia-node/templates/configmap-full.yaml +++ b/charts/celestia-node/templates/configmap-full.yaml @@ -27,7 +27,6 @@ data: NoAnnounceAddresses = [{{ range $index, $element := .Values.node.config.full.configtoml.P2P.NoAnnounceAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}] MutualPeers = {{ .Values.node.config.full.configtoml.P2P.MutualPeers }} PeerExchange = {{ .Values.node.config.full.configtoml.P2P.PeerExchange }} - RoutingTableRefreshPeriod = "{{ .Values.node.config.full.configtoml.P2P.RoutingTableRefreshPeriod }}" [P2P.ConnManager] Low = {{ printf "%.0f" .Values.node.config.full.configtoml.P2P.ConnManager.Low }} High = {{ printf "%.0f" .Values.node.config.full.configtoml.P2P.ConnManager.High }} @@ -41,11 +40,10 @@ data: Port = "{{ .Values.node.config.full.configtoml.Gateway.Port }}" Enabled = {{ .Values.node.config.full.configtoml.Gateway.Enabled }} [Share] + BlockStoreCacheSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.BlockStoreCacheSize }} UseShareExchange = {{ .Values.node.config.full.configtoml.Share.UseShareExchange }} [Share.EDSStoreParams] - GCInterval = "{{ .Values.node.config.full.configtoml.Share.EDSStoreParams.GCInterval }}" RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }} - BlockstoreCacheSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.EDSStoreParams.BlockstoreCacheSize }} [Share.ShrExEDSParams] ServerReadTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}" ServerWriteTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}" diff --git a/charts/celestia-node/templates/configmap-light.yaml b/charts/celestia-node/templates/configmap-light.yaml index d34ec4f..805c7ee 100644 --- a/charts/celestia-node/templates/configmap-light.yaml +++ b/charts/celestia-node/templates/configmap-light.yaml @@ -27,7 +27,6 @@ data: NoAnnounceAddresses = [{{ range $index, $element := .Values.node.config.light.configtoml.P2P.NoAnnounceAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}] MutualPeers = {{ .Values.node.config.light.configtoml.P2P.MutualPeers }} PeerExchange = {{ .Values.node.config.light.configtoml.P2P.PeerExchange }} - RoutingTableRefreshPeriod = "{{ .Values.node.config.light.configtoml.P2P.RoutingTableRefreshPeriod }}" [P2P.ConnManager] Low = {{ printf "%.0f" .Values.node.config.light.configtoml.P2P.ConnManager.Low }} High = {{ printf "%.0f" .Values.node.config.light.configtoml.P2P.ConnManager.High }} @@ -41,11 +40,10 @@ data: Port = "{{ .Values.node.config.light.configtoml.Gateway.Port }}" Enabled = {{ .Values.node.config.light.configtoml.Gateway.Enabled }} [Share] + BlockStoreCacheSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.BlockStoreCacheSize }} UseShareExchange = {{ .Values.node.config.light.configtoml.Share.UseShareExchange }} [Share.EDSStoreParams] - GCInterval = "{{ .Values.node.config.light.configtoml.Share.EDSStoreParams.GCInterval }}" RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }} - BlockstoreCacheSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.EDSStoreParams.BlockstoreCacheSize }} [Share.ShrExEDSParams] ServerReadTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}" ServerWriteTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}" diff --git a/charts/celestia-node/values.yaml b/charts/celestia-node/values.yaml index 5b33c3e..95b120f 100644 --- a/charts/celestia-node/values.yaml +++ b/charts/celestia-node/values.yaml @@ -89,8 +89,8 @@ node: registry: ghcr.io # -- repository for the image, celestiaorg/celestia-node by default repository: celestiaorg/celestia-node - # -- tag for the image, v0.16.0 by default - tag: v0.16.1 + # -- tag for the image, v0.18.0 by default + tag: v0.18.0 digest: "" ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' @@ -197,7 +197,6 @@ node: - /ip6/::/tcp/2121 MutualPeers: [] PeerExchange: true - RoutingTableRefreshPeriod: 1m0s ConnManager: Low: 800 High: 1000 @@ -211,11 +210,10 @@ node: Port: "26659" Enabled: false Share: + BlockStoreCacheSize: 128 UseShareExchange: true EDSStoreParams: - GCInterval: 0s RecentBlocksCacheSize: 10 - BlockstoreCacheSize: 128 ShrExEDSParams: ServerReadTimeout: 5s ServerWriteTimeout: 1m0s @@ -293,7 +291,6 @@ node: - /ip6/::/tcp/2121 MutualPeers: [] PeerExchange: true - RoutingTableRefreshPeriod: 1m0s ConnManager: Low: 800 High: 1000 @@ -307,11 +304,10 @@ node: Port: "26659" Enabled: false Share: + BlockStoreCacheSize: 128 UseShareExchange: true EDSStoreParams: - GCInterval: 0s RecentBlocksCacheSize: 10 - BlockstoreCacheSize: 128 ShrExEDSParams: ServerReadTimeout: 5s ServerWriteTimeout: 1m0s @@ -395,7 +391,6 @@ node: - /ip6/::/tcp/2121 MutualPeers: [] PeerExchange: false - RoutingTableRefreshPeriod: 1m0s ConnManager: Low: 50 High: 100 @@ -409,11 +404,10 @@ node: Port: "26659" Enabled: false Share: + BlockStoreCacheSize: 128 UseShareExchange: true EDSStoreParams: - GCInterval: 0s RecentBlocksCacheSize: 10 - BlockstoreCacheSize: 128 ShrExEDSParams: ServerReadTimeout: 5s ServerWriteTimeout: 1m0s diff --git a/scripts/config/node/bridge/v0.18.0/config.toml b/scripts/config/node/bridge/v0.18.0/config.toml new file mode 100644 index 0000000..3d4959d --- /dev/null +++ b/scripts/config/node/bridge/v0.18.0/config.toml @@ -0,0 +1,78 @@ +[Node] + StartupTimeout = "2m0s" + ShutdownTimeout = "2m0s" + +[Core] + IP = "" + RPCPort = "26657" + GRPCPort = "9090" + +[State] + DefaultKeyName = "my_celes_key" + DefaultBackendName = "test" + +[P2P] + ListenAddresses = ["/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip6/::/tcp/2121"] + AnnounceAddresses = [] + NoAnnounceAddresses = ["/ip4/127.0.0.1/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip4/127.0.0.1/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip4/127.0.0.1/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip4/127.0.0.1/tcp/2121", "/ip6/::/tcp/2121"] + MutualPeers = [] + PeerExchange = true + [P2P.ConnManager] + Low = 800 + High = 1000 + GracePeriod = "1m0s" + +[RPC] + Address = "localhost" + Port = "26658" + SkipAuth = false + +[Gateway] + Address = "localhost" + Port = "26659" + Enabled = false + +[Share] + BlockStoreCacheSize = 128 + UseShareExchange = true + [Share.EDSStoreParams] + RecentBlocksCacheSize = 10 + [Share.ShrExEDSParams] + ServerReadTimeout = "5s" + ServerWriteTimeout = "1m0s" + HandleRequestTimeout = "1m0s" + ConcurrencyLimit = 10 + BufferSize = 32768 + [Share.ShrExNDParams] + ServerReadTimeout = "5s" + ServerWriteTimeout = "1m0s" + HandleRequestTimeout = "1m0s" + ConcurrencyLimit = 10 + [Share.PeerManagerParams] + PoolValidationTimeout = "2m0s" + PeerCooldown = "3s" + GcInterval = "30s" + EnableBlackListing = false + [Share.Discovery] + PeersLimit = 5 + AdvertiseInterval = "1h0m0s" + +[Header] + TrustedHash = "" + TrustedPeers = [] + [Header.Store] + StoreCacheSize = 4096 + IndexCacheSize = 16384 + WriteBatchSize = 2048 + [Header.Syncer] + TrustingPeriod = "336h0m0s" + [Header.Server] + WriteDeadline = "8s" + ReadDeadline = "1m0s" + RangeRequestTimeout = "10s" + [Header.Client] + MaxHeadersPerRangeRequest = 64 + RangeRequestTimeout = "8s" + +[Pruner] + EnableService = false diff --git a/scripts/config/node/full/v0.18.0/config.toml b/scripts/config/node/full/v0.18.0/config.toml new file mode 100644 index 0000000..fc13bd4 --- /dev/null +++ b/scripts/config/node/full/v0.18.0/config.toml @@ -0,0 +1,85 @@ +[Node] + StartupTimeout = "2m0s" + ShutdownTimeout = "2m0s" + +[Core] + IP = "" + RPCPort = "26657" + GRPCPort = "9090" + +[State] + DefaultKeyName = "my_celes_key" + DefaultBackendName = "test" + +[P2P] + ListenAddresses = ["/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip6/::/tcp/2121"] + AnnounceAddresses = [] + NoAnnounceAddresses = ["/ip4/127.0.0.1/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip4/127.0.0.1/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip4/127.0.0.1/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip4/127.0.0.1/tcp/2121", "/ip6/::/tcp/2121"] + MutualPeers = [] + PeerExchange = true + [P2P.ConnManager] + Low = 800 + High = 1000 + GracePeriod = "1m0s" + +[RPC] + Address = "localhost" + Port = "26658" + SkipAuth = false + +[Gateway] + Address = "localhost" + Port = "26659" + Enabled = false + +[Share] + BlockStoreCacheSize = 128 + UseShareExchange = true + [Share.EDSStoreParams] + RecentBlocksCacheSize = 10 + [Share.ShrExEDSParams] + ServerReadTimeout = "5s" + ServerWriteTimeout = "1m0s" + HandleRequestTimeout = "1m0s" + ConcurrencyLimit = 10 + BufferSize = 32768 + [Share.ShrExNDParams] + ServerReadTimeout = "5s" + ServerWriteTimeout = "1m0s" + HandleRequestTimeout = "1m0s" + ConcurrencyLimit = 10 + [Share.PeerManagerParams] + PoolValidationTimeout = "2m0s" + PeerCooldown = "3s" + GcInterval = "30s" + EnableBlackListing = false + [Share.Discovery] + PeersLimit = 5 + AdvertiseInterval = "1h0m0s" + +[Header] + TrustedHash = "" + TrustedPeers = [] + [Header.Store] + StoreCacheSize = 4096 + IndexCacheSize = 16384 + WriteBatchSize = 2048 + [Header.Syncer] + TrustingPeriod = "336h0m0s" + [Header.Server] + WriteDeadline = "8s" + ReadDeadline = "1m0s" + RangeRequestTimeout = "10s" + [Header.Client] + MaxHeadersPerRangeRequest = 64 + RangeRequestTimeout = "8s" + +[DASer] + SamplingRange = 100 + ConcurrencyLimit = 6 + BackgroundStoreInterval = "10m0s" + SampleFrom = 1 + SampleTimeout = "2m0s" + +[Pruner] + EnableService = false diff --git a/scripts/config/node/light/v0.18.0/config.toml b/scripts/config/node/light/v0.18.0/config.toml new file mode 100644 index 0000000..9304e91 --- /dev/null +++ b/scripts/config/node/light/v0.18.0/config.toml @@ -0,0 +1,87 @@ +[Node] + StartupTimeout = "20s" + ShutdownTimeout = "20s" + +[Core] + IP = "" + RPCPort = "26657" + GRPCPort = "9090" + +[State] + DefaultKeyName = "my_celes_key" + DefaultBackendName = "test" + +[P2P] + ListenAddresses = ["/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip6/::/tcp/2121"] + AnnounceAddresses = [] + NoAnnounceAddresses = ["/ip4/127.0.0.1/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1/webtransport", "/ip6/::/udp/2121/quic-v1/webtransport", "/ip4/0.0.0.0/udp/2121/quic-v1", "/ip4/127.0.0.1/udp/2121/quic-v1", "/ip6/::/udp/2121/quic-v1", "/ip4/0.0.0.0/udp/2121/webrtc-direct", "/ip4/127.0.0.1/udp/2121/webrtc-direct", "/ip6/::/udp/2121/webrtc-direct", "/ip4/0.0.0.0/tcp/2121", "/ip4/127.0.0.1/tcp/2121", "/ip6/::/tcp/2121"] + MutualPeers = [] + PeerExchange = false + [P2P.ConnManager] + Low = 50 + High = 100 + GracePeriod = "1m0s" + +[RPC] + Address = "localhost" + Port = "26658" + SkipAuth = false + +[Gateway] + Address = "localhost" + Port = "26659" + Enabled = false + +[Share] + BlockStoreCacheSize = 128 + UseShareExchange = true + [Share.EDSStoreParams] + RecentBlocksCacheSize = 10 + [Share.ShrExEDSParams] + ServerReadTimeout = "5s" + ServerWriteTimeout = "1m0s" + HandleRequestTimeout = "1m0s" + ConcurrencyLimit = 10 + BufferSize = 32768 + [Share.ShrExNDParams] + ServerReadTimeout = "5s" + ServerWriteTimeout = "1m0s" + HandleRequestTimeout = "1m0s" + ConcurrencyLimit = 10 + [Share.PeerManagerParams] + PoolValidationTimeout = "2m0s" + PeerCooldown = "3s" + GcInterval = "30s" + EnableBlackListing = false + [Share.LightAvailability] + SampleAmount = 16 + [Share.Discovery] + PeersLimit = 5 + AdvertiseInterval = "1h0m0s" + +[Header] + TrustedHash = "" + TrustedPeers = [] + [Header.Store] + StoreCacheSize = 512 + IndexCacheSize = 2048 + WriteBatchSize = 512 + [Header.Syncer] + TrustingPeriod = "336h0m0s" + [Header.Server] + WriteDeadline = "8s" + ReadDeadline = "1m0s" + RangeRequestTimeout = "10s" + [Header.Client] + MaxHeadersPerRangeRequest = 64 + RangeRequestTimeout = "8s" + +[DASer] + SamplingRange = 100 + ConcurrencyLimit = 16 + BackgroundStoreInterval = "10m0s" + SampleFrom = 1 + SampleTimeout = "2m40s" + +[Pruner] + EnableService = false