correct isquorum setting

This commit is contained in:
lash 2022-01-14 14:49:10 +00:00
parent b515225c2e
commit 6b01b0daba
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 18 additions and 3 deletions

View File

@ -2,6 +2,8 @@ when generating genesis from puppeth, remove the outer "genesis" key to parse wi
cat testz.json | jq .genesis > testz_inner.json cat testz.json | jq .genesis > testz_inner.json
genesis needed for both validator and reader
geth --datadir <foo> init testz_inner.json geth --datadir <foo> init testz_inner.json
-- --
@ -14,4 +16,17 @@ invoke validator:
invoke reader: invoke reader:
./build/bin/geth --datadir /root/data --verbosity=3 --http.addr=0.0.0.0 --http --http.api eth,net --http.vhosts=* ./build/bin/geth --datadir /root/data-reader --verbosity=3 --http.addr=0.0.0.0 --http --http.api eth,net --http.vhosts=*
--
For less noise limit who can connect to p2p.
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- 159.65.112.244 anywhere tcp dpt:30304
ACCEPT tcp -- 159.65.112.244 anywhere tcp dpt:30303
DROP tcp -- anywhere anywhere tcp dpt:30303
DROP tcp -- anywhere anywhere tcp dpt:30304
---

View File

@ -16,7 +16,7 @@
"epoch": 30000, "epoch": 30000,
"allowedFutureBlockTime": 0 "allowedFutureBlockTime": 0
}, },
"isQuorum": false, "isQuorum": true,
"txnSizeLimit": 0, "txnSizeLimit": 0,
"maxCodeSize": 0, "maxCodeSize": 0,
"isMPS": false "isMPS": false

View File

@ -15,7 +15,7 @@
"epoch": 30000, "epoch": 30000,
"allowedFutureBlockTime": 0 "allowedFutureBlockTime": 0
}, },
"isQuorum": false, "isQuorum": true,
"txnSizeLimit": 0, "txnSizeLimit": 0,
"maxCodeSize": 0, "maxCodeSize": 0,
"isMPS": false "isMPS": false