mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-16 09:50:45 +00:00
fix
This commit is contained in:
parent
ae696dc547
commit
30e1a9a7fd
4 changed files with 2 additions and 10 deletions
|
|
@ -26,7 +26,6 @@ WORKDIR /work
|
||||||
|
|
||||||
RUN apk add --no-cache bash curl
|
RUN apk add --no-cache bash curl
|
||||||
|
|
||||||
|
|
||||||
COPY --from=builder /builder/build/bin/puppeth /usr/bin
|
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-local /usr/bin
|
||||||
COPY --from=builder /builder/build/bin/XDC-devnet /usr/bin
|
COPY --from=builder /builder/build/bin/XDC-devnet /usr/bin
|
||||||
|
|
|
||||||
|
|
@ -24,13 +24,6 @@ do
|
||||||
bootnodes="${bootnodes},$line"
|
bootnodes="${bootnodes},$line"
|
||||||
fi
|
fi
|
||||||
done < "$input"
|
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
|
log_level=3
|
||||||
if test -z "$LOG_LEVEL"
|
if test -z "$LOG_LEVEL"
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ import (
|
||||||
// between sessions.
|
// between sessions.
|
||||||
type config struct {
|
type config struct {
|
||||||
path string // Output file containing the configuration values
|
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
|
bootnodes []string // Bootnodes to always connect to by all nodes
|
||||||
ethstats string // Ethstats settings to cache for node deploys
|
ethstats string // Ethstats settings to cache for node deploys
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -231,7 +231,7 @@ func (w *wizard) makeGenesis() {
|
||||||
genesis.Config.XDPoS.V2.CurrentConfig.CertThreshold = w.readDefaultFloat(0.667)
|
genesis.Config.XDPoS.V2.CurrentConfig.CertThreshold = w.readDefaultFloat(0.667)
|
||||||
}
|
}
|
||||||
genesis.Config.XDPoS.V2.CurrentConfig.MaxMasternodes = 108
|
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.MaxProtectornodes
|
||||||
// genesis.Config.XDPoS.V2.CurrentConfig.MaxObservernodes
|
// genesis.Config.XDPoS.V2.CurrentConfig.MaxObservernodes
|
||||||
// genesis.Config.XDPoS.V2.CurrentConfig.MinProtectornodes
|
// genesis.Config.XDPoS.V2.CurrentConfig.MinProtectornodes
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue