This commit is contained in:
wanwiset25 2025-09-16 03:24:36 +04:00
parent ae696dc547
commit 30e1a9a7fd
4 changed files with 2 additions and 10 deletions

View file

@ -26,7 +26,6 @@ WORKDIR /work
RUN apk add --no-cache bash curl
COPY --from=builder /builder/build/bin/puppeth /usr/bin
COPY --from=builder /builder/build/bin/XDC-local /usr/bin
COPY --from=builder /builder/build/bin/XDC-devnet /usr/bin

View file

@ -24,13 +24,6 @@ do
bootnodes="${bootnodes},$line"
fi
done < "$input"
#check last line since it's not included in "read" command https://stackoverflow.com/questions/12916352/shell-script-read-missing-last-line
if [ -z "${bootnodes}" ]
then
bootnodes=$line
else
bootnodes="${bootnodes},$line"
fi
log_level=3
if test -z "$LOG_LEVEL"

View file

@ -39,7 +39,7 @@ import (
// between sessions.
type config struct {
path string // Output file containing the configuration values
inpath string // Input file to read genesis generation parameters (optional)
inpath string // Input file to read genesis generation parameters (optional)
bootnodes []string // Bootnodes to always connect to by all nodes
ethstats string // Ethstats settings to cache for node deploys

View file

@ -231,7 +231,7 @@ func (w *wizard) makeGenesis() {
genesis.Config.XDPoS.V2.CurrentConfig.CertThreshold = w.readDefaultFloat(0.667)
}
genesis.Config.XDPoS.V2.CurrentConfig.MaxMasternodes = 108
//TODO: config to add after rewards upgrade enabled
// TODO: config to add after rewards upgrade enabled
// genesis.Config.XDPoS.V2.CurrentConfig.MaxProtectornodes
// genesis.Config.XDPoS.V2.CurrentConfig.MaxObservernodes
// genesis.Config.XDPoS.V2.CurrentConfig.MinProtectornodes