Skip to content

Commit fe8aa4c

Browse files
alvaropicazosownak
authored andcommitted
feat(2671): Add support for besu 24.12.2 and add syncMinPeers config param and account percentage
Signed-off-by: alvaro.picazo.haase <[email protected]>
1 parent 0d8a881 commit fe8aa4c

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

platforms/hyperledger-besu/charts/besu-node/templates/besu-config-configmap.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,17 @@ data:
2626
logging={{ .Values.node.besu.logging | quote }}
2727
node-private-key-file={{.Values.node.besu.privateKeyPath | quote }}
2828
cache-last-blocks={{ .Values.node.besu.cacheLastBlocks }}
29+
sync-min-peers{{ .Values.node.besu.syncMinPeers }}
2930
3031
# Transaction Pool
3132
tx-pool={{ .Values.node.besu.txPool.type | quote }}
32-
tx-pool-layer-max-capacity={{ .Values.node.besu.txPool.maxCapacity }}
33+
{{ if eq .Values.node.besu.txPool.type "sequenced" -}}
34+
tx-pool-max-size={{ .Values.node.besu.txPool.maxCapacity | quote }}
35+
tx-pool-limit-by-account-percentage={{ .Values.node.besu.txPool.accountPercentage }}
36+
{{ else }}
37+
tx-pool-layer-max-capacity={{ .Values.node.besu.txPool.maxCapacity | quote }}
38+
tx-pool-max-future-by-sender={{ .Values.node.besu.txPool.accountPercentage | quote }}
39+
{{ end }}
3340
3441
{{ if .Values.node.besu.p2p.enabled -}}
3542
# P2P network

platforms/hyperledger-besu/charts/besu-node/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ image:
4949
pullPolicy: IfNotPresent
5050
besu:
5151
repository: hyperledger/besu
52-
tag: 23.10.2
52+
tag: 24.12.2
5353
hooks:
5454
repository: ghcr.io/hyperledger/bevel-k8s-hooks
5555
tag: qgt-0.2.12
@@ -62,6 +62,7 @@ node:
6262
besu:
6363
identity: "supplychain"
6464
cacheLastBlocks: 0
65+
syncMinPeers: 3 # as 4 peers min is needed for ibft/qbft consensus
6566
envBesuOpts: ""
6667
resources:
6768
cpuLimit: 0.25
@@ -107,6 +108,7 @@ node:
107108
txPool:
108109
type: ""
109110
maxCapacity: 12
111+
accountPercentage: 200 #if txPool is sequenced, this has to be [0 to 1] Example: 0.5. By default is 0.4
110112
http:
111113
allowlist: '["*"]'
112114
metrics:

platforms/hyperledger-besu/charts/values/proxy-and-vault/txnode.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ node:
6363
image:
6464
besu:
6565
repository: hyperledger/besu
66-
tag: 23.10.2
66+
tag: 24.12.2

platforms/hyperledger-besu/charts/values/proxy-and-vault/validator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ node:
4343
image:
4444
besu:
4545
repository: hyperledger/besu
46-
tag: 23.10.2
46+
tag: 24.12.2

0 commit comments

Comments
 (0)