From 300498d64b74f2d2ade25b4a2028769f8013761c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Ramon=20Ma=C3=B1es?= Date: Thu, 7 Nov 2024 12:45:50 +0100 Subject: [PATCH] feat(node): new version v0.20.1-arabica-mocha MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jose Ramon MaƱes --- charts/celestia-node/Chart.yaml | 4 +- charts/celestia-node/README.md | 23 ++--- charts/celestia-node/values.yaml | 2 +- .../node/bridge/v0.20.1-arabica/config.toml | 78 +++++++++++++++ .../node/bridge/v0.20.1-arabica/config.yaml | 90 +++++++++++++++++ .../node/bridge/v0.20.1-arabica/template.yaml | 71 ++++++++++++++ .../node/bridge/v0.20.1-mocha/config.toml | 78 +++++++++++++++ .../node/bridge/v0.20.1-mocha/config.yaml | 90 +++++++++++++++++ .../node/bridge/v0.20.1-mocha/template.yaml | 71 ++++++++++++++ .../node/full/v0.20.1-arabica/config.toml | 85 ++++++++++++++++ .../node/full/v0.20.1-arabica/config.yaml | 96 ++++++++++++++++++ .../node/full/v0.20.1-arabica/template.yaml | 77 +++++++++++++++ .../node/full/v0.20.1-mocha/config.toml | 85 ++++++++++++++++ .../node/full/v0.20.1-mocha/config.yaml | 96 ++++++++++++++++++ .../node/full/v0.20.1-mocha/template.yaml | 77 +++++++++++++++ .../node/light/v0.20.1-arabica/config.toml | 87 ++++++++++++++++ .../node/light/v0.20.1-arabica/config.yaml | 98 +++++++++++++++++++ .../node/light/v0.20.1-arabica/template.yaml | 79 +++++++++++++++ .../node/light/v0.20.1-mocha/config.toml | 87 ++++++++++++++++ .../node/light/v0.20.1-mocha/config.yaml | 98 +++++++++++++++++++ .../node/light/v0.20.1-mocha/template.yaml | 79 +++++++++++++++ 21 files changed, 1534 insertions(+), 17 deletions(-) create mode 100644 scripts/config/node/bridge/v0.20.1-arabica/config.toml create mode 100644 scripts/config/node/bridge/v0.20.1-arabica/config.yaml create mode 100644 scripts/config/node/bridge/v0.20.1-arabica/template.yaml create mode 100644 scripts/config/node/bridge/v0.20.1-mocha/config.toml create mode 100644 scripts/config/node/bridge/v0.20.1-mocha/config.yaml create mode 100644 scripts/config/node/bridge/v0.20.1-mocha/template.yaml create mode 100644 scripts/config/node/full/v0.20.1-arabica/config.toml create mode 100644 scripts/config/node/full/v0.20.1-arabica/config.yaml create mode 100644 scripts/config/node/full/v0.20.1-arabica/template.yaml create mode 100644 scripts/config/node/full/v0.20.1-mocha/config.toml create mode 100644 scripts/config/node/full/v0.20.1-mocha/config.yaml create mode 100644 scripts/config/node/full/v0.20.1-mocha/template.yaml create mode 100644 scripts/config/node/light/v0.20.1-arabica/config.toml create mode 100644 scripts/config/node/light/v0.20.1-arabica/config.yaml create mode 100644 scripts/config/node/light/v0.20.1-arabica/template.yaml create mode 100644 scripts/config/node/light/v0.20.1-mocha/config.toml create mode 100644 scripts/config/node/light/v0.20.1-mocha/config.yaml create mode 100644 scripts/config/node/light/v0.20.1-mocha/template.yaml diff --git a/charts/celestia-node/Chart.yaml b/charts/celestia-node/Chart.yaml index 8d58c0e..2f28eb7 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.20.0 +appVersion: v0.20.1 dependencies: - name: common-celestia-node version: 0.1.1 @@ -24,4 +24,4 @@ maintainers: name: celestia-node sources: - https://github.com/celestiaorg/helm-charts -version: 0.10.2 +version: 0.10.3 diff --git a/charts/celestia-node/README.md b/charts/celestia-node/README.md index 09db50a..ff13881 100644 --- a/charts/celestia-node/README.md +++ b/charts/celestia-node/README.md @@ -1,6 +1,6 @@ # celestia-node -![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square) ![AppVersion: v0.17.0](https://img.shields.io/badge/AppVersion-v0.17.0-informational?style=flat-square) +![Version: 0.10.3](https://img.shields.io/badge/Version-0.10.3-informational?style=flat-square) ![AppVersion: v0.20.1](https://img.shields.io/badge/AppVersion-v0.20.1-informational?style=flat-square) Celestia Node @@ -10,16 +10,17 @@ Celestia Node | Name | Email | Url | | ---- | ------ | --- | -| Celestia Labs | | | +| Celestia Labs | | | ## Source Code -* +* ## Requirements | Repository | Name | Version | |------------|------|---------| +| https://celestiaorg.github.io/helm-charts | common-celestia-node | 0.1.1 | | oci://registry-1.docker.io/bitnamicharts | common | 2.x.x | ## Values @@ -106,15 +107,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"` | | @@ -182,15 +181,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"` | | @@ -258,15 +255,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` | | @@ -319,11 +314,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.17.0"}` | image parameters for the image | +| node.image | object | `{"digest":"","pullPolicy":"IfNotPresent","pullSecrets":[],"registry":"ghcr.io","repository":"celestiaorg/celestia-node","tag":"v0.20.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.17.0"` | tag for the image, v0.18.1 by default | +| node.image.tag | string | `"v0.20.0"` | tag for the image, v0.18.1 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/values.yaml b/charts/celestia-node/values.yaml index 553cb91..1eabf0b 100644 --- a/charts/celestia-node/values.yaml +++ b/charts/celestia-node/values.yaml @@ -93,7 +93,7 @@ node: # -- repository for the image, celestiaorg/celestia-node by default repository: celestiaorg/celestia-node # -- tag for the image, v0.18.1 by default - tag: v0.20.0 + tag: v0.20.1 digest: "" ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' diff --git a/scripts/config/node/bridge/v0.20.1-arabica/config.toml b/scripts/config/node/bridge/v0.20.1-arabica/config.toml new file mode 100644 index 0000000..3d4959d --- /dev/null +++ b/scripts/config/node/bridge/v0.20.1-arabica/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/bridge/v0.20.1-arabica/config.yaml b/scripts/config/node/bridge/v0.20.1-arabica/config.yaml new file mode 100644 index 0000000..1664a47 --- /dev/null +++ b/scripts/config/node/bridge/v0.20.1-arabica/config.yaml @@ -0,0 +1,90 @@ +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 + 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 + EDSStoreParams: + RecentBlocksCacheSize: 10 + ShrExEDSParams: + ServerReadTimeout: 5s + ServerWriteTimeout: 1m0s + HandleRequestTimeout: 1m0s + ConcurrencyLimit: 10 + BufferSize: 32768 + ShrExNDParams: + ServerReadTimeout: 5s + ServerWriteTimeout: 1m0s + HandleRequestTimeout: 1m0s + ConcurrencyLimit: 10 + PeerManagerParams: + PoolValidationTimeout: 2m0s + PeerCooldown: 3s + GcInterval: 30s + EnableBlackListing: false + Discovery: + PeersLimit: 5 + AdvertiseInterval: 1h0m0s +Header: + TrustedHash: "" + TrustedPeers: [] + Store: + StoreCacheSize: 4096 + IndexCacheSize: 16384 + WriteBatchSize: 2048 + Syncer: + TrustingPeriod: 336h0m0s + Server: + WriteDeadline: 8s + ReadDeadline: 1m0s + RangeRequestTimeout: 10s + Client: + MaxHeadersPerRangeRequest: 64 + RangeRequestTimeout: 8s +Pruner: + EnableService: false diff --git a/scripts/config/node/bridge/v0.20.1-arabica/template.yaml b/scripts/config/node/bridge/v0.20.1-arabica/template.yaml new file mode 100644 index 0000000..7e0862b --- /dev/null +++ b/scripts/config/node/bridge/v0.20.1-arabica/template.yaml @@ -0,0 +1,71 @@ +[Node] + StartupTimeout = "{{ .Values.node.config.bridge.configtoml.Node.StartupTimeout }}" + ShutdownTimeout = "{{ .Values.node.config.bridge.configtoml.Node.ShutdownTimeout }}" +[Core] + IP = "{{ .Values.node.config.bridge.configtoml.Core.IP }}" + RPCPort = "{{ .Values.node.config.bridge.configtoml.Core.RPCPort }}" + GRPCPort = "{{ .Values.node.config.bridge.configtoml.Core.GRPCPort }}" +[State] + DefaultKeyName = "{{ .Values.node.config.bridge.configtoml.State.DefaultKeyName }}" + DefaultBackendName = "{{ .Values.node.config.bridge.configtoml.State.DefaultBackendName }}" +[P2P] + ListenAddresses = [{{ range $index, $element := .Values.node.config.bridge.configtoml.P2P.ListenAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}] + AnnounceAddresses = {{ .Values.node.config.bridge.configtoml.P2P.AnnounceAddresses }} + 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 }} + [P2P.ConnManager] + Low = {{ printf "%.0f" .Values.node.config.bridge.configtoml.P2P.ConnManager.Low }} + High = {{ printf "%.0f" .Values.node.config.bridge.configtoml.P2P.ConnManager.High }} + GracePeriod = "{{ .Values.node.config.bridge.configtoml.P2P.ConnManager.GracePeriod }}" +[RPC] + Address = "{{ .Values.node.config.bridge.configtoml.RPC.Address }}" + Port = "{{ .Values.node.config.bridge.configtoml.RPC.Port }}" + SkipAuth = {{ .Values.node.config.bridge.configtoml.RPC.SkipAuth }} +[Gateway] + Address = "{{ .Values.node.config.bridge.configtoml.Gateway.Address }}" + 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] + RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }} + [Share.ShrExEDSParams] + ServerReadTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}" + ServerWriteTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}" + HandleRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.HandleRequestTimeout }}" + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ConcurrencyLimit }} + BufferSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.BufferSize }} + [Share.ShrExNDParams] + ServerReadTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExNDParams.ServerReadTimeout }}" + ServerWriteTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExNDParams.ServerWriteTimeout }}" + HandleRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExNDParams.HandleRequestTimeout }}" + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.ShrExNDParams.ConcurrencyLimit }} + [Share.PeerManagerParams] + PoolValidationTimeout = "{{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.PoolValidationTimeout }}" + PeerCooldown = "{{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.PeerCooldown }}" + GcInterval = "{{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.GcInterval }}" + EnableBlackListing = {{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.EnableBlackListing }} + [Share.Discovery] + PeersLimit = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.Discovery.PeersLimit }} + AdvertiseInterval = "{{ .Values.node.config.bridge.configtoml.Share.Discovery.AdvertiseInterval }}" +[Header] + TrustedHash = "{{ .Values.node.config.bridge.configtoml.Header.TrustedHash }}" + TrustedPeers = {{ .Values.node.config.bridge.configtoml.Header.TrustedPeers }} + [Header.Store] + StoreCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Store.StoreCacheSize }} + IndexCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Store.IndexCacheSize }} + WriteBatchSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Store.WriteBatchSize }} + [Header.Syncer] + TrustingPeriod = "{{ .Values.node.config.bridge.configtoml.Header.Syncer.TrustingPeriod }}" + [Header.Server] + WriteDeadline = "{{ .Values.node.config.bridge.configtoml.Header.Server.WriteDeadline }}" + ReadDeadline = "{{ .Values.node.config.bridge.configtoml.Header.Server.ReadDeadline }}" + RangeRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Header.Server.RangeRequestTimeout }}" + [Header.Client] + MaxHeadersPerRangeRequest = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Client.MaxHeadersPerRangeRequest }} + RangeRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Header.Client.RangeRequestTimeout }}" +[Pruner] + EnableService = {{ .Values.node.config.bridge.configtoml.Pruner.EnableService }} + diff --git a/scripts/config/node/bridge/v0.20.1-mocha/config.toml b/scripts/config/node/bridge/v0.20.1-mocha/config.toml new file mode 100644 index 0000000..3d4959d --- /dev/null +++ b/scripts/config/node/bridge/v0.20.1-mocha/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/bridge/v0.20.1-mocha/config.yaml b/scripts/config/node/bridge/v0.20.1-mocha/config.yaml new file mode 100644 index 0000000..1664a47 --- /dev/null +++ b/scripts/config/node/bridge/v0.20.1-mocha/config.yaml @@ -0,0 +1,90 @@ +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 + 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 + EDSStoreParams: + RecentBlocksCacheSize: 10 + ShrExEDSParams: + ServerReadTimeout: 5s + ServerWriteTimeout: 1m0s + HandleRequestTimeout: 1m0s + ConcurrencyLimit: 10 + BufferSize: 32768 + ShrExNDParams: + ServerReadTimeout: 5s + ServerWriteTimeout: 1m0s + HandleRequestTimeout: 1m0s + ConcurrencyLimit: 10 + PeerManagerParams: + PoolValidationTimeout: 2m0s + PeerCooldown: 3s + GcInterval: 30s + EnableBlackListing: false + Discovery: + PeersLimit: 5 + AdvertiseInterval: 1h0m0s +Header: + TrustedHash: "" + TrustedPeers: [] + Store: + StoreCacheSize: 4096 + IndexCacheSize: 16384 + WriteBatchSize: 2048 + Syncer: + TrustingPeriod: 336h0m0s + Server: + WriteDeadline: 8s + ReadDeadline: 1m0s + RangeRequestTimeout: 10s + Client: + MaxHeadersPerRangeRequest: 64 + RangeRequestTimeout: 8s +Pruner: + EnableService: false diff --git a/scripts/config/node/bridge/v0.20.1-mocha/template.yaml b/scripts/config/node/bridge/v0.20.1-mocha/template.yaml new file mode 100644 index 0000000..7e0862b --- /dev/null +++ b/scripts/config/node/bridge/v0.20.1-mocha/template.yaml @@ -0,0 +1,71 @@ +[Node] + StartupTimeout = "{{ .Values.node.config.bridge.configtoml.Node.StartupTimeout }}" + ShutdownTimeout = "{{ .Values.node.config.bridge.configtoml.Node.ShutdownTimeout }}" +[Core] + IP = "{{ .Values.node.config.bridge.configtoml.Core.IP }}" + RPCPort = "{{ .Values.node.config.bridge.configtoml.Core.RPCPort }}" + GRPCPort = "{{ .Values.node.config.bridge.configtoml.Core.GRPCPort }}" +[State] + DefaultKeyName = "{{ .Values.node.config.bridge.configtoml.State.DefaultKeyName }}" + DefaultBackendName = "{{ .Values.node.config.bridge.configtoml.State.DefaultBackendName }}" +[P2P] + ListenAddresses = [{{ range $index, $element := .Values.node.config.bridge.configtoml.P2P.ListenAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}] + AnnounceAddresses = {{ .Values.node.config.bridge.configtoml.P2P.AnnounceAddresses }} + 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 }} + [P2P.ConnManager] + Low = {{ printf "%.0f" .Values.node.config.bridge.configtoml.P2P.ConnManager.Low }} + High = {{ printf "%.0f" .Values.node.config.bridge.configtoml.P2P.ConnManager.High }} + GracePeriod = "{{ .Values.node.config.bridge.configtoml.P2P.ConnManager.GracePeriod }}" +[RPC] + Address = "{{ .Values.node.config.bridge.configtoml.RPC.Address }}" + Port = "{{ .Values.node.config.bridge.configtoml.RPC.Port }}" + SkipAuth = {{ .Values.node.config.bridge.configtoml.RPC.SkipAuth }} +[Gateway] + Address = "{{ .Values.node.config.bridge.configtoml.Gateway.Address }}" + 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] + RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }} + [Share.ShrExEDSParams] + ServerReadTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}" + ServerWriteTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}" + HandleRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.HandleRequestTimeout }}" + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.ConcurrencyLimit }} + BufferSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.ShrExEDSParams.BufferSize }} + [Share.ShrExNDParams] + ServerReadTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExNDParams.ServerReadTimeout }}" + ServerWriteTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExNDParams.ServerWriteTimeout }}" + HandleRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Share.ShrExNDParams.HandleRequestTimeout }}" + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.ShrExNDParams.ConcurrencyLimit }} + [Share.PeerManagerParams] + PoolValidationTimeout = "{{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.PoolValidationTimeout }}" + PeerCooldown = "{{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.PeerCooldown }}" + GcInterval = "{{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.GcInterval }}" + EnableBlackListing = {{ .Values.node.config.bridge.configtoml.Share.PeerManagerParams.EnableBlackListing }} + [Share.Discovery] + PeersLimit = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Share.Discovery.PeersLimit }} + AdvertiseInterval = "{{ .Values.node.config.bridge.configtoml.Share.Discovery.AdvertiseInterval }}" +[Header] + TrustedHash = "{{ .Values.node.config.bridge.configtoml.Header.TrustedHash }}" + TrustedPeers = {{ .Values.node.config.bridge.configtoml.Header.TrustedPeers }} + [Header.Store] + StoreCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Store.StoreCacheSize }} + IndexCacheSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Store.IndexCacheSize }} + WriteBatchSize = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Store.WriteBatchSize }} + [Header.Syncer] + TrustingPeriod = "{{ .Values.node.config.bridge.configtoml.Header.Syncer.TrustingPeriod }}" + [Header.Server] + WriteDeadline = "{{ .Values.node.config.bridge.configtoml.Header.Server.WriteDeadline }}" + ReadDeadline = "{{ .Values.node.config.bridge.configtoml.Header.Server.ReadDeadline }}" + RangeRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Header.Server.RangeRequestTimeout }}" + [Header.Client] + MaxHeadersPerRangeRequest = {{ printf "%.0f" .Values.node.config.bridge.configtoml.Header.Client.MaxHeadersPerRangeRequest }} + RangeRequestTimeout = "{{ .Values.node.config.bridge.configtoml.Header.Client.RangeRequestTimeout }}" +[Pruner] + EnableService = {{ .Values.node.config.bridge.configtoml.Pruner.EnableService }} + diff --git a/scripts/config/node/full/v0.20.1-arabica/config.toml b/scripts/config/node/full/v0.20.1-arabica/config.toml new file mode 100644 index 0000000..fc13bd4 --- /dev/null +++ b/scripts/config/node/full/v0.20.1-arabica/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/full/v0.20.1-arabica/config.yaml b/scripts/config/node/full/v0.20.1-arabica/config.yaml new file mode 100644 index 0000000..6008be0 --- /dev/null +++ b/scripts/config/node/full/v0.20.1-arabica/config.yaml @@ -0,0 +1,96 @@ +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 + 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 + EDSStoreParams: + RecentBlocksCacheSize: 10 + ShrExEDSParams: + ServerReadTimeout: 5s + ServerWriteTimeout: 1m0s + HandleRequestTimeout: 1m0s + ConcurrencyLimit: 10 + BufferSize: 32768 + ShrExNDParams: + ServerReadTimeout: 5s + ServerWriteTimeout: 1m0s + HandleRequestTimeout: 1m0s + ConcurrencyLimit: 10 + PeerManagerParams: + PoolValidationTimeout: 2m0s + PeerCooldown: 3s + GcInterval: 30s + EnableBlackListing: false + Discovery: + PeersLimit: 5 + AdvertiseInterval: 1h0m0s +Header: + TrustedHash: "" + TrustedPeers: [] + Store: + StoreCacheSize: 4096 + IndexCacheSize: 16384 + WriteBatchSize: 2048 + Syncer: + TrustingPeriod: 336h0m0s + Server: + WriteDeadline: 8s + ReadDeadline: 1m0s + RangeRequestTimeout: 10s + 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/full/v0.20.1-arabica/template.yaml b/scripts/config/node/full/v0.20.1-arabica/template.yaml new file mode 100644 index 0000000..7c0874b --- /dev/null +++ b/scripts/config/node/full/v0.20.1-arabica/template.yaml @@ -0,0 +1,77 @@ +[Node] + StartupTimeout = "{{ .Values.node.config.full.configtoml.Node.StartupTimeout }}" + ShutdownTimeout = "{{ .Values.node.config.full.configtoml.Node.ShutdownTimeout }}" +[Core] + IP = "{{ .Values.node.config.full.configtoml.Core.IP }}" + RPCPort = "{{ .Values.node.config.full.configtoml.Core.RPCPort }}" + GRPCPort = "{{ .Values.node.config.full.configtoml.Core.GRPCPort }}" +[State] + DefaultKeyName = "{{ .Values.node.config.full.configtoml.State.DefaultKeyName }}" + DefaultBackendName = "{{ .Values.node.config.full.configtoml.State.DefaultBackendName }}" +[P2P] + ListenAddresses = [{{ range $index, $element := .Values.node.config.full.configtoml.P2P.ListenAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}] + AnnounceAddresses = {{ .Values.node.config.full.configtoml.P2P.AnnounceAddresses }} + 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 }} + [P2P.ConnManager] + Low = {{ printf "%.0f" .Values.node.config.full.configtoml.P2P.ConnManager.Low }} + High = {{ printf "%.0f" .Values.node.config.full.configtoml.P2P.ConnManager.High }} + GracePeriod = "{{ .Values.node.config.full.configtoml.P2P.ConnManager.GracePeriod }}" +[RPC] + Address = "{{ .Values.node.config.full.configtoml.RPC.Address }}" + Port = "{{ .Values.node.config.full.configtoml.RPC.Port }}" + SkipAuth = {{ .Values.node.config.full.configtoml.RPC.SkipAuth }} +[Gateway] + Address = "{{ .Values.node.config.full.configtoml.Gateway.Address }}" + 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] + RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }} + [Share.ShrExEDSParams] + ServerReadTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}" + ServerWriteTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}" + HandleRequestTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExEDSParams.HandleRequestTimeout }}" + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.ShrExEDSParams.ConcurrencyLimit }} + BufferSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.ShrExEDSParams.BufferSize }} + [Share.ShrExNDParams] + ServerReadTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExNDParams.ServerReadTimeout }}" + ServerWriteTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExNDParams.ServerWriteTimeout }}" + HandleRequestTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExNDParams.HandleRequestTimeout }}" + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.ShrExNDParams.ConcurrencyLimit }} + [Share.PeerManagerParams] + PoolValidationTimeout = "{{ .Values.node.config.full.configtoml.Share.PeerManagerParams.PoolValidationTimeout }}" + PeerCooldown = "{{ .Values.node.config.full.configtoml.Share.PeerManagerParams.PeerCooldown }}" + GcInterval = "{{ .Values.node.config.full.configtoml.Share.PeerManagerParams.GcInterval }}" + EnableBlackListing = {{ .Values.node.config.full.configtoml.Share.PeerManagerParams.EnableBlackListing }} + [Share.Discovery] + PeersLimit = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.Discovery.PeersLimit }} + AdvertiseInterval = "{{ .Values.node.config.full.configtoml.Share.Discovery.AdvertiseInterval }}" +[Header] + TrustedHash = "{{ .Values.node.config.full.configtoml.Header.TrustedHash }}" + TrustedPeers = {{ .Values.node.config.full.configtoml.Header.TrustedPeers }} + [Header.Store] + StoreCacheSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Header.Store.StoreCacheSize }} + IndexCacheSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Header.Store.IndexCacheSize }} + WriteBatchSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Header.Store.WriteBatchSize }} + [Header.Syncer] + TrustingPeriod = "{{ .Values.node.config.full.configtoml.Header.Syncer.TrustingPeriod }}" + [Header.Server] + WriteDeadline = "{{ .Values.node.config.full.configtoml.Header.Server.WriteDeadline }}" + ReadDeadline = "{{ .Values.node.config.full.configtoml.Header.Server.ReadDeadline }}" + RangeRequestTimeout = "{{ .Values.node.config.full.configtoml.Header.Server.RangeRequestTimeout }}" + [Header.Client] + MaxHeadersPerRangeRequest = {{ printf "%.0f" .Values.node.config.full.configtoml.Header.Client.MaxHeadersPerRangeRequest }} + RangeRequestTimeout = "{{ .Values.node.config.full.configtoml.Header.Client.RangeRequestTimeout }}" +[DASer] + SamplingRange = {{ printf "%.0f" .Values.node.config.full.configtoml.DASer.SamplingRange }} + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.full.configtoml.DASer.ConcurrencyLimit }} + BackgroundStoreInterval = "{{ .Values.node.config.full.configtoml.DASer.BackgroundStoreInterval }}" + SampleFrom = {{ printf "%.0f" .Values.node.config.full.configtoml.DASer.SampleFrom }} + SampleTimeout = "{{ .Values.node.config.full.configtoml.DASer.SampleTimeout }}" +[Pruner] + EnableService = {{ .Values.node.config.full.configtoml.Pruner.EnableService }} + diff --git a/scripts/config/node/full/v0.20.1-mocha/config.toml b/scripts/config/node/full/v0.20.1-mocha/config.toml new file mode 100644 index 0000000..fc13bd4 --- /dev/null +++ b/scripts/config/node/full/v0.20.1-mocha/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/full/v0.20.1-mocha/config.yaml b/scripts/config/node/full/v0.20.1-mocha/config.yaml new file mode 100644 index 0000000..6008be0 --- /dev/null +++ b/scripts/config/node/full/v0.20.1-mocha/config.yaml @@ -0,0 +1,96 @@ +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 + 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 + EDSStoreParams: + RecentBlocksCacheSize: 10 + ShrExEDSParams: + ServerReadTimeout: 5s + ServerWriteTimeout: 1m0s + HandleRequestTimeout: 1m0s + ConcurrencyLimit: 10 + BufferSize: 32768 + ShrExNDParams: + ServerReadTimeout: 5s + ServerWriteTimeout: 1m0s + HandleRequestTimeout: 1m0s + ConcurrencyLimit: 10 + PeerManagerParams: + PoolValidationTimeout: 2m0s + PeerCooldown: 3s + GcInterval: 30s + EnableBlackListing: false + Discovery: + PeersLimit: 5 + AdvertiseInterval: 1h0m0s +Header: + TrustedHash: "" + TrustedPeers: [] + Store: + StoreCacheSize: 4096 + IndexCacheSize: 16384 + WriteBatchSize: 2048 + Syncer: + TrustingPeriod: 336h0m0s + Server: + WriteDeadline: 8s + ReadDeadline: 1m0s + RangeRequestTimeout: 10s + 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/full/v0.20.1-mocha/template.yaml b/scripts/config/node/full/v0.20.1-mocha/template.yaml new file mode 100644 index 0000000..7c0874b --- /dev/null +++ b/scripts/config/node/full/v0.20.1-mocha/template.yaml @@ -0,0 +1,77 @@ +[Node] + StartupTimeout = "{{ .Values.node.config.full.configtoml.Node.StartupTimeout }}" + ShutdownTimeout = "{{ .Values.node.config.full.configtoml.Node.ShutdownTimeout }}" +[Core] + IP = "{{ .Values.node.config.full.configtoml.Core.IP }}" + RPCPort = "{{ .Values.node.config.full.configtoml.Core.RPCPort }}" + GRPCPort = "{{ .Values.node.config.full.configtoml.Core.GRPCPort }}" +[State] + DefaultKeyName = "{{ .Values.node.config.full.configtoml.State.DefaultKeyName }}" + DefaultBackendName = "{{ .Values.node.config.full.configtoml.State.DefaultBackendName }}" +[P2P] + ListenAddresses = [{{ range $index, $element := .Values.node.config.full.configtoml.P2P.ListenAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}] + AnnounceAddresses = {{ .Values.node.config.full.configtoml.P2P.AnnounceAddresses }} + 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 }} + [P2P.ConnManager] + Low = {{ printf "%.0f" .Values.node.config.full.configtoml.P2P.ConnManager.Low }} + High = {{ printf "%.0f" .Values.node.config.full.configtoml.P2P.ConnManager.High }} + GracePeriod = "{{ .Values.node.config.full.configtoml.P2P.ConnManager.GracePeriod }}" +[RPC] + Address = "{{ .Values.node.config.full.configtoml.RPC.Address }}" + Port = "{{ .Values.node.config.full.configtoml.RPC.Port }}" + SkipAuth = {{ .Values.node.config.full.configtoml.RPC.SkipAuth }} +[Gateway] + Address = "{{ .Values.node.config.full.configtoml.Gateway.Address }}" + 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] + RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }} + [Share.ShrExEDSParams] + ServerReadTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}" + ServerWriteTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}" + HandleRequestTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExEDSParams.HandleRequestTimeout }}" + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.ShrExEDSParams.ConcurrencyLimit }} + BufferSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.ShrExEDSParams.BufferSize }} + [Share.ShrExNDParams] + ServerReadTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExNDParams.ServerReadTimeout }}" + ServerWriteTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExNDParams.ServerWriteTimeout }}" + HandleRequestTimeout = "{{ .Values.node.config.full.configtoml.Share.ShrExNDParams.HandleRequestTimeout }}" + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.ShrExNDParams.ConcurrencyLimit }} + [Share.PeerManagerParams] + PoolValidationTimeout = "{{ .Values.node.config.full.configtoml.Share.PeerManagerParams.PoolValidationTimeout }}" + PeerCooldown = "{{ .Values.node.config.full.configtoml.Share.PeerManagerParams.PeerCooldown }}" + GcInterval = "{{ .Values.node.config.full.configtoml.Share.PeerManagerParams.GcInterval }}" + EnableBlackListing = {{ .Values.node.config.full.configtoml.Share.PeerManagerParams.EnableBlackListing }} + [Share.Discovery] + PeersLimit = {{ printf "%.0f" .Values.node.config.full.configtoml.Share.Discovery.PeersLimit }} + AdvertiseInterval = "{{ .Values.node.config.full.configtoml.Share.Discovery.AdvertiseInterval }}" +[Header] + TrustedHash = "{{ .Values.node.config.full.configtoml.Header.TrustedHash }}" + TrustedPeers = {{ .Values.node.config.full.configtoml.Header.TrustedPeers }} + [Header.Store] + StoreCacheSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Header.Store.StoreCacheSize }} + IndexCacheSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Header.Store.IndexCacheSize }} + WriteBatchSize = {{ printf "%.0f" .Values.node.config.full.configtoml.Header.Store.WriteBatchSize }} + [Header.Syncer] + TrustingPeriod = "{{ .Values.node.config.full.configtoml.Header.Syncer.TrustingPeriod }}" + [Header.Server] + WriteDeadline = "{{ .Values.node.config.full.configtoml.Header.Server.WriteDeadline }}" + ReadDeadline = "{{ .Values.node.config.full.configtoml.Header.Server.ReadDeadline }}" + RangeRequestTimeout = "{{ .Values.node.config.full.configtoml.Header.Server.RangeRequestTimeout }}" + [Header.Client] + MaxHeadersPerRangeRequest = {{ printf "%.0f" .Values.node.config.full.configtoml.Header.Client.MaxHeadersPerRangeRequest }} + RangeRequestTimeout = "{{ .Values.node.config.full.configtoml.Header.Client.RangeRequestTimeout }}" +[DASer] + SamplingRange = {{ printf "%.0f" .Values.node.config.full.configtoml.DASer.SamplingRange }} + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.full.configtoml.DASer.ConcurrencyLimit }} + BackgroundStoreInterval = "{{ .Values.node.config.full.configtoml.DASer.BackgroundStoreInterval }}" + SampleFrom = {{ printf "%.0f" .Values.node.config.full.configtoml.DASer.SampleFrom }} + SampleTimeout = "{{ .Values.node.config.full.configtoml.DASer.SampleTimeout }}" +[Pruner] + EnableService = {{ .Values.node.config.full.configtoml.Pruner.EnableService }} + diff --git a/scripts/config/node/light/v0.20.1-arabica/config.toml b/scripts/config/node/light/v0.20.1-arabica/config.toml new file mode 100644 index 0000000..9304e91 --- /dev/null +++ b/scripts/config/node/light/v0.20.1-arabica/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 diff --git a/scripts/config/node/light/v0.20.1-arabica/config.yaml b/scripts/config/node/light/v0.20.1-arabica/config.yaml new file mode 100644 index 0000000..3eacef1 --- /dev/null +++ b/scripts/config/node/light/v0.20.1-arabica/config.yaml @@ -0,0 +1,98 @@ +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 + 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 + EDSStoreParams: + RecentBlocksCacheSize: 10 + ShrExEDSParams: + ServerReadTimeout: 5s + ServerWriteTimeout: 1m0s + HandleRequestTimeout: 1m0s + ConcurrencyLimit: 10 + BufferSize: 32768 + ShrExNDParams: + ServerReadTimeout: 5s + ServerWriteTimeout: 1m0s + HandleRequestTimeout: 1m0s + ConcurrencyLimit: 10 + PeerManagerParams: + PoolValidationTimeout: 2m0s + PeerCooldown: 3s + GcInterval: 30s + EnableBlackListing: false + LightAvailability: + SampleAmount: 16 + Discovery: + PeersLimit: 5 + AdvertiseInterval: 1h0m0s +Header: + TrustedHash: "" + TrustedPeers: [] + Store: + StoreCacheSize: 512 + IndexCacheSize: 2048 + WriteBatchSize: 512 + Syncer: + TrustingPeriod: 336h0m0s + Server: + WriteDeadline: 8s + ReadDeadline: 1m0s + RangeRequestTimeout: 10s + Client: + MaxHeadersPerRangeRequest: 64 + RangeRequestTimeout: 8s +DASer: + SamplingRange: 100 + ConcurrencyLimit: 16 + BackgroundStoreInterval: 10m0s + SampleFrom: 1 + SampleTimeout: 2m40s +Pruner: + EnableService: false diff --git a/scripts/config/node/light/v0.20.1-arabica/template.yaml b/scripts/config/node/light/v0.20.1-arabica/template.yaml new file mode 100644 index 0000000..957e6fc --- /dev/null +++ b/scripts/config/node/light/v0.20.1-arabica/template.yaml @@ -0,0 +1,79 @@ +[Node] + StartupTimeout = "{{ .Values.node.config.light.configtoml.Node.StartupTimeout }}" + ShutdownTimeout = "{{ .Values.node.config.light.configtoml.Node.ShutdownTimeout }}" +[Core] + IP = "{{ .Values.node.config.light.configtoml.Core.IP }}" + RPCPort = "{{ .Values.node.config.light.configtoml.Core.RPCPort }}" + GRPCPort = "{{ .Values.node.config.light.configtoml.Core.GRPCPort }}" +[State] + DefaultKeyName = "{{ .Values.node.config.light.configtoml.State.DefaultKeyName }}" + DefaultBackendName = "{{ .Values.node.config.light.configtoml.State.DefaultBackendName }}" +[P2P] + ListenAddresses = [{{ range $index, $element := .Values.node.config.light.configtoml.P2P.ListenAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}] + AnnounceAddresses = {{ .Values.node.config.light.configtoml.P2P.AnnounceAddresses }} + 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 }} + [P2P.ConnManager] + Low = {{ printf "%.0f" .Values.node.config.light.configtoml.P2P.ConnManager.Low }} + High = {{ printf "%.0f" .Values.node.config.light.configtoml.P2P.ConnManager.High }} + GracePeriod = "{{ .Values.node.config.light.configtoml.P2P.ConnManager.GracePeriod }}" +[RPC] + Address = "{{ .Values.node.config.light.configtoml.RPC.Address }}" + Port = "{{ .Values.node.config.light.configtoml.RPC.Port }}" + SkipAuth = {{ .Values.node.config.light.configtoml.RPC.SkipAuth }} +[Gateway] + Address = "{{ .Values.node.config.light.configtoml.Gateway.Address }}" + 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] + RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }} + [Share.ShrExEDSParams] + ServerReadTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}" + ServerWriteTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}" + HandleRequestTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExEDSParams.HandleRequestTimeout }}" + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.ShrExEDSParams.ConcurrencyLimit }} + BufferSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.ShrExEDSParams.BufferSize }} + [Share.ShrExNDParams] + ServerReadTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExNDParams.ServerReadTimeout }}" + ServerWriteTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExNDParams.ServerWriteTimeout }}" + HandleRequestTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExNDParams.HandleRequestTimeout }}" + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.ShrExNDParams.ConcurrencyLimit }} + [Share.PeerManagerParams] + PoolValidationTimeout = "{{ .Values.node.config.light.configtoml.Share.PeerManagerParams.PoolValidationTimeout }}" + PeerCooldown = "{{ .Values.node.config.light.configtoml.Share.PeerManagerParams.PeerCooldown }}" + GcInterval = "{{ .Values.node.config.light.configtoml.Share.PeerManagerParams.GcInterval }}" + EnableBlackListing = {{ .Values.node.config.light.configtoml.Share.PeerManagerParams.EnableBlackListing }} + [Share.LightAvailability] + SampleAmount = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.LightAvailability.SampleAmount }} + [Share.Discovery] + PeersLimit = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.Discovery.PeersLimit }} + AdvertiseInterval = "{{ .Values.node.config.light.configtoml.Share.Discovery.AdvertiseInterval }}" +[Header] + TrustedHash = "{{ .Values.node.config.light.configtoml.Header.TrustedHash }}" + TrustedPeers = {{ .Values.node.config.light.configtoml.Header.TrustedPeers }} + [Header.Store] + StoreCacheSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Header.Store.StoreCacheSize }} + IndexCacheSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Header.Store.IndexCacheSize }} + WriteBatchSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Header.Store.WriteBatchSize }} + [Header.Syncer] + TrustingPeriod = "{{ .Values.node.config.light.configtoml.Header.Syncer.TrustingPeriod }}" + [Header.Server] + WriteDeadline = "{{ .Values.node.config.light.configtoml.Header.Server.WriteDeadline }}" + ReadDeadline = "{{ .Values.node.config.light.configtoml.Header.Server.ReadDeadline }}" + RangeRequestTimeout = "{{ .Values.node.config.light.configtoml.Header.Server.RangeRequestTimeout }}" + [Header.Client] + MaxHeadersPerRangeRequest = {{ printf "%.0f" .Values.node.config.light.configtoml.Header.Client.MaxHeadersPerRangeRequest }} + RangeRequestTimeout = "{{ .Values.node.config.light.configtoml.Header.Client.RangeRequestTimeout }}" +[DASer] + SamplingRange = {{ printf "%.0f" .Values.node.config.light.configtoml.DASer.SamplingRange }} + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.light.configtoml.DASer.ConcurrencyLimit }} + BackgroundStoreInterval = "{{ .Values.node.config.light.configtoml.DASer.BackgroundStoreInterval }}" + SampleFrom = {{ printf "%.0f" .Values.node.config.light.configtoml.DASer.SampleFrom }} + SampleTimeout = "{{ .Values.node.config.light.configtoml.DASer.SampleTimeout }}" +[Pruner] + EnableService = {{ .Values.node.config.light.configtoml.Pruner.EnableService }} + diff --git a/scripts/config/node/light/v0.20.1-mocha/config.toml b/scripts/config/node/light/v0.20.1-mocha/config.toml new file mode 100644 index 0000000..9304e91 --- /dev/null +++ b/scripts/config/node/light/v0.20.1-mocha/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 diff --git a/scripts/config/node/light/v0.20.1-mocha/config.yaml b/scripts/config/node/light/v0.20.1-mocha/config.yaml new file mode 100644 index 0000000..3eacef1 --- /dev/null +++ b/scripts/config/node/light/v0.20.1-mocha/config.yaml @@ -0,0 +1,98 @@ +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 + 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 + EDSStoreParams: + RecentBlocksCacheSize: 10 + ShrExEDSParams: + ServerReadTimeout: 5s + ServerWriteTimeout: 1m0s + HandleRequestTimeout: 1m0s + ConcurrencyLimit: 10 + BufferSize: 32768 + ShrExNDParams: + ServerReadTimeout: 5s + ServerWriteTimeout: 1m0s + HandleRequestTimeout: 1m0s + ConcurrencyLimit: 10 + PeerManagerParams: + PoolValidationTimeout: 2m0s + PeerCooldown: 3s + GcInterval: 30s + EnableBlackListing: false + LightAvailability: + SampleAmount: 16 + Discovery: + PeersLimit: 5 + AdvertiseInterval: 1h0m0s +Header: + TrustedHash: "" + TrustedPeers: [] + Store: + StoreCacheSize: 512 + IndexCacheSize: 2048 + WriteBatchSize: 512 + Syncer: + TrustingPeriod: 336h0m0s + Server: + WriteDeadline: 8s + ReadDeadline: 1m0s + RangeRequestTimeout: 10s + Client: + MaxHeadersPerRangeRequest: 64 + RangeRequestTimeout: 8s +DASer: + SamplingRange: 100 + ConcurrencyLimit: 16 + BackgroundStoreInterval: 10m0s + SampleFrom: 1 + SampleTimeout: 2m40s +Pruner: + EnableService: false diff --git a/scripts/config/node/light/v0.20.1-mocha/template.yaml b/scripts/config/node/light/v0.20.1-mocha/template.yaml new file mode 100644 index 0000000..957e6fc --- /dev/null +++ b/scripts/config/node/light/v0.20.1-mocha/template.yaml @@ -0,0 +1,79 @@ +[Node] + StartupTimeout = "{{ .Values.node.config.light.configtoml.Node.StartupTimeout }}" + ShutdownTimeout = "{{ .Values.node.config.light.configtoml.Node.ShutdownTimeout }}" +[Core] + IP = "{{ .Values.node.config.light.configtoml.Core.IP }}" + RPCPort = "{{ .Values.node.config.light.configtoml.Core.RPCPort }}" + GRPCPort = "{{ .Values.node.config.light.configtoml.Core.GRPCPort }}" +[State] + DefaultKeyName = "{{ .Values.node.config.light.configtoml.State.DefaultKeyName }}" + DefaultBackendName = "{{ .Values.node.config.light.configtoml.State.DefaultBackendName }}" +[P2P] + ListenAddresses = [{{ range $index, $element := .Values.node.config.light.configtoml.P2P.ListenAddresses }}{{ if $index }}, {{ end }}"{{ $element }}"{{ end }}] + AnnounceAddresses = {{ .Values.node.config.light.configtoml.P2P.AnnounceAddresses }} + 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 }} + [P2P.ConnManager] + Low = {{ printf "%.0f" .Values.node.config.light.configtoml.P2P.ConnManager.Low }} + High = {{ printf "%.0f" .Values.node.config.light.configtoml.P2P.ConnManager.High }} + GracePeriod = "{{ .Values.node.config.light.configtoml.P2P.ConnManager.GracePeriod }}" +[RPC] + Address = "{{ .Values.node.config.light.configtoml.RPC.Address }}" + Port = "{{ .Values.node.config.light.configtoml.RPC.Port }}" + SkipAuth = {{ .Values.node.config.light.configtoml.RPC.SkipAuth }} +[Gateway] + Address = "{{ .Values.node.config.light.configtoml.Gateway.Address }}" + 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] + RecentBlocksCacheSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.EDSStoreParams.RecentBlocksCacheSize }} + [Share.ShrExEDSParams] + ServerReadTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExEDSParams.ServerReadTimeout }}" + ServerWriteTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExEDSParams.ServerWriteTimeout }}" + HandleRequestTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExEDSParams.HandleRequestTimeout }}" + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.ShrExEDSParams.ConcurrencyLimit }} + BufferSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.ShrExEDSParams.BufferSize }} + [Share.ShrExNDParams] + ServerReadTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExNDParams.ServerReadTimeout }}" + ServerWriteTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExNDParams.ServerWriteTimeout }}" + HandleRequestTimeout = "{{ .Values.node.config.light.configtoml.Share.ShrExNDParams.HandleRequestTimeout }}" + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.ShrExNDParams.ConcurrencyLimit }} + [Share.PeerManagerParams] + PoolValidationTimeout = "{{ .Values.node.config.light.configtoml.Share.PeerManagerParams.PoolValidationTimeout }}" + PeerCooldown = "{{ .Values.node.config.light.configtoml.Share.PeerManagerParams.PeerCooldown }}" + GcInterval = "{{ .Values.node.config.light.configtoml.Share.PeerManagerParams.GcInterval }}" + EnableBlackListing = {{ .Values.node.config.light.configtoml.Share.PeerManagerParams.EnableBlackListing }} + [Share.LightAvailability] + SampleAmount = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.LightAvailability.SampleAmount }} + [Share.Discovery] + PeersLimit = {{ printf "%.0f" .Values.node.config.light.configtoml.Share.Discovery.PeersLimit }} + AdvertiseInterval = "{{ .Values.node.config.light.configtoml.Share.Discovery.AdvertiseInterval }}" +[Header] + TrustedHash = "{{ .Values.node.config.light.configtoml.Header.TrustedHash }}" + TrustedPeers = {{ .Values.node.config.light.configtoml.Header.TrustedPeers }} + [Header.Store] + StoreCacheSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Header.Store.StoreCacheSize }} + IndexCacheSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Header.Store.IndexCacheSize }} + WriteBatchSize = {{ printf "%.0f" .Values.node.config.light.configtoml.Header.Store.WriteBatchSize }} + [Header.Syncer] + TrustingPeriod = "{{ .Values.node.config.light.configtoml.Header.Syncer.TrustingPeriod }}" + [Header.Server] + WriteDeadline = "{{ .Values.node.config.light.configtoml.Header.Server.WriteDeadline }}" + ReadDeadline = "{{ .Values.node.config.light.configtoml.Header.Server.ReadDeadline }}" + RangeRequestTimeout = "{{ .Values.node.config.light.configtoml.Header.Server.RangeRequestTimeout }}" + [Header.Client] + MaxHeadersPerRangeRequest = {{ printf "%.0f" .Values.node.config.light.configtoml.Header.Client.MaxHeadersPerRangeRequest }} + RangeRequestTimeout = "{{ .Values.node.config.light.configtoml.Header.Client.RangeRequestTimeout }}" +[DASer] + SamplingRange = {{ printf "%.0f" .Values.node.config.light.configtoml.DASer.SamplingRange }} + ConcurrencyLimit = {{ printf "%.0f" .Values.node.config.light.configtoml.DASer.ConcurrencyLimit }} + BackgroundStoreInterval = "{{ .Values.node.config.light.configtoml.DASer.BackgroundStoreInterval }}" + SampleFrom = {{ printf "%.0f" .Values.node.config.light.configtoml.DASer.SampleFrom }} + SampleTimeout = "{{ .Values.node.config.light.configtoml.DASer.SampleTimeout }}" +[Pruner] + EnableService = {{ .Values.node.config.light.configtoml.Pruner.EnableService }} +