You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we run XDC without any parameter, then XDC should sync with mainnet automatically. So we should set the default value for all the flags which related to synchronization, such as:
port
networkid
etherbase
syncmode
gcmode
verbosity
datadir
XDCx.datadir
rpc
rpcaddr
rpcport
rpcapi
rpccorsdomain
rpcvhosts
ws
wsaddr
wsport
wsapi
wsorigins
Eg: now the chain id is set to 51 when the flag --apothem is specified. If neither --apothem nor --networkid is specified , then the chain id should be set to 50 for mainnet automatically.
The text was updated successfully, but these errors were encountered:
gzliudan
changed the title
set chain id automatically
set flags for sync automatically
Jan 21, 2025
gzliudan
changed the title
set flags for sync automatically
set default value for flags about sync automatically
Jan 21, 2025
gzliudan
changed the title
set default value for flags about sync automatically
simplify flags for synchronization
Jan 22, 2025
If we run XDC without any parameter, then XDC should sync with mainnet automatically. So we should set the default value for all the flags which related to synchronization, such as:
Eg: now the chain id is set to 51 when the flag
--apothem
is specified. If neither--apothem
nor--networkid
is specified , then the chain id should be set to 50 for mainnet automatically.The text was updated successfully, but these errors were encountered: