Skip to content

Commit

Permalink
feat(node): new version v0.20.2-arabica (#80)
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Ramon Mañes <[email protected]>
  • Loading branch information
tty47 authored Nov 18, 2024
1 parent 8f169ff commit 92781b2
Show file tree
Hide file tree
Showing 11 changed files with 764 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/celestia-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ annotations:
category: celestia
licenses: Apache-2.0
apiVersion: v2
appVersion: v0.20.1
appVersion: v0.20.2
dependencies:
- name: common-celestia-node
version: 0.1.1
Expand All @@ -24,4 +24,4 @@ maintainers:
name: celestia-node
sources:
- https://github.com/celestiaorg/helm-charts
version: 0.10.3
version: 0.10.4
2 changes: 1 addition & 1 deletion charts/celestia-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1
tag: v0.20.2
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
Expand Down
78 changes: 78 additions & 0 deletions scripts/config/node/bridge/v0.20.2-arabica/config.toml
Original file line number Diff line number Diff line change
@@ -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
90 changes: 90 additions & 0 deletions scripts/config/node/bridge/v0.20.2-arabica/config.yaml
Original file line number Diff line number Diff line change
@@ -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
71 changes: 71 additions & 0 deletions scripts/config/node/bridge/v0.20.2-arabica/template.yaml
Original file line number Diff line number Diff line change
@@ -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 }}

85 changes: 85 additions & 0 deletions scripts/config/node/full/v0.20.2-arabica/config.toml
Original file line number Diff line number Diff line change
@@ -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
Loading

0 comments on commit 92781b2

Please sign in to comment.