Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify synchronization #808

Closed
gzliudan opened this issue Jan 21, 2025 · 1 comment
Closed

simplify synchronization #808

gzliudan opened this issue Jan 21, 2025 · 1 comment

Comments

@gzliudan
Copy link
Collaborator

gzliudan commented Jan 21, 2025

If we run XDC without any parameter, then XDC should sync with mainnet automatically. So this PR updates the default value of some flags which are related to sync:

flag old value new value status
port 30303 skip
networkid done by #850
etherbase "0" "0x000000000000000000000000000000000000abcd" done by #855
syncmode "full" skip
gcmode "full" skip
enable-0x-prefix true skip
verbosity 3 (INFO) skip
datadir ${HOME}/.XDC skip
XDCx.datadir datadir/XDCx deprecated by #854
rpc false true done by #855
rpcaddr "localhost" "0.0.0.0" done by #855
rpcport 8545 skip
rpcapi "" "eth,debug,net,txpool,personal,web3,XDPoS" done by #855
rpccorsdomain "" "*" done by #855
rpcvhosts "localhost" "*" done by #855
ws false true done by #855
wsaddr "localhsot" "0.0.0.0" done by #855
wsport 8546 skip
wsapi "" "eth,debug,net,txpool,personal,web3,XDPoS" done by #855
wsorigins "" "*" done by #855
bootnodes done by #857
gasprice 0.25 gwei 1 wei done by #855
targetgaslimit 84000000 50000000 done by #855
password "" skip
ethstats skip
mine false deprecated by #851
@gzliudan gzliudan changed the title set chain id automatically set flags for sync automatically Jan 21, 2025
@gzliudan gzliudan changed the title set flags for sync automatically set default value for flags about sync automatically Jan 21, 2025
@gzliudan gzliudan changed the title set default value for flags about sync automatically simplify flags for synchronization Jan 22, 2025
@gzliudan gzliudan changed the title simplify flags for synchronization simplify synchronization Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant