qiyichain / peculiar

Golang implemention of Qiyi chain which is a high-performance permissioned public chain
https://qiyichain.cn
GNU Lesser General Public License v3.0
3 stars 1 forks source link

chain stopped when all node be killed at same time #15

Open youngqqcn opened 2 years ago

youngqqcn commented 2 years ago

node0 first kill log:

INFO [08-24|14:10:29.001] Commit new mining work                   number=34514 sealhash=fc8558..b5c8a3 uncles=0 txs=0    gas=0          fees=0          elapsed="371.139µs"
INFO [08-24|14:10:29.001] Signed recently, must wait for others
INFO [08-24|14:10:32.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="378.716µs" mgasps=0.000    number=34514 hash=3beaee..023a69 dirty=1.11MiB
INFO [08-24|14:10:32.002] Commit new mining work                   number=34515 sealhash=f2c2c0..e45fba uncles=0 txs=0    gas=0          fees=0          elapsed="299.594µs"
INFO [08-24|14:10:32.002] Signed recently, must wait for others
INFO [08-24|14:10:35.001] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="422.294µs" mgasps=0.000    number=34515 hash=47f30c..dc200e dirty=1.11MiB
INFO [08-24|14:10:35.002] Commit new mining work                   number=34516 sealhash=b2a0f0..00b44d uncles=0 txs=0    gas=0          fees=0          elapsed="362.952µs"
INFO [08-24|14:10:36.330] Looking for peers                        peercount=3 tried=0 static=0
INFO [08-24|14:10:38.001] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="385.884µs" mgasps=0.000    number=34516 hash=cd88c5..c21a92 dirty=1.11MiB
INFO [08-24|14:10:38.002] 🔗 block reached canonical chain          number=34509 hash=f8d1dc..43726c
INFO [08-24|14:10:38.002] Commit new mining work                   number=34517 sealhash=f6477a..17d829 uncles=0 txs=0    gas=0          fees=0          elapsed="163.087µs"
INFO [08-24|14:10:41.000] Successfully sealed new block            number=34517 sealhash=f6477a..17d829 hash=71cba0..a0e521 elapsed=2.998s
INFO [08-24|14:10:41.000] 🔨 mined potential block                  number=34517 hash=71cba0..a0e521
INFO [08-24|14:10:41.001] Commit new mining work                   number=34518 sealhash=31fa50..bef375 uncles=0 txs=0    gas=0          fees=0          elapsed="400.012µs"
INFO [08-24|14:10:41.001] Signed recently, must wait for others
INFO [08-24|14:10:44.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="396.08µs"  mgasps=0.000    number=34518 hash=e07c00..4e6d6c dirty=1.11MiB
INFO [08-24|14:10:44.002] Commit new mining work                   number=34519 sealhash=3e5189..5b5432 uncles=0 txs=0    gas=0          fees=0          elapsed="250.123µs"
INFO [08-24|14:10:44.002] Signed recently, must wait for others
INFO [08-24|14:10:46.342] Looking for peers                        peercount=3 tried=0 static=0
INFO [08-24|14:10:47.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="395.93µs"  mgasps=0.000    number=34519 hash=2b551e..7ac058 dirty=1.11MiB
INFO [08-24|14:10:47.002] Commit new mining work                   number=34520 sealhash=2df3e2..043dec uncles=0 txs=0    gas=0          fees=0          elapsed="394.045µs"
INFO [08-24|14:10:50.001] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="396.649µs" mgasps=0.000    number=34520 hash=6d55b4..e7e329 dirty=1.11MiB
INFO [08-24|14:10:50.001] 🔗 block reached canonical chain          number=34513 hash=ef0033..a8d2ec
INFO [08-24|14:10:50.002] Commit new mining work                   number=34521 sealhash=ea9146..8ff26e uncles=0 txs=0    gas=0          fees=0          elapsed="166.434µs"
INFO [08-24|14:10:53.001] Successfully sealed new block            number=34521 sealhash=ea9146..8ff26e hash=509c1a..49d6c4 elapsed=2.999s
INFO [08-24|14:10:53.001] 🔨 mined potential block                  number=34521 hash=509c1a..49d6c4
INFO [08-24|14:10:53.001] Commit new mining work                   number=34522 sealhash=e68950..607c3a uncles=0 txs=0    gas=0          fees=0          elapsed="360.466µs"
INFO [08-24|14:10:53.001] Signed recently, must wait for others
INFO [08-24|14:10:56.001] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="388.577µs" mgasps=0.000    number=34522 hash=cc3930..1d4239 dirty=1.11MiB
INFO [08-24|14:10:56.001] Commit new mining work                   number=34523 sealhash=c463c3..1e0015 uncles=0 txs=0    gas=0          fees=0          elapsed="299.331µs"
INFO [08-24|14:10:56.002] Signed recently, must wait for others
INFO [08-24|14:10:56.282] Got interrupt, shutting down...
INFO [08-24|14:10:56.284] HTTP server stopped                      endpoint=[::]:8545
INFO [08-24|14:10:56.285] HTTP server stopped                      endpoint=[::]:8546
INFO [08-24|14:10:56.285] Ethereum protocol stopped
INFO [08-24|14:10:56.285] Transaction pool stopped
WARN [08-24|14:10:56.286] prediction loop quitting
INFO [08-24|14:10:56.296] Writing cached state to disk             block=34522 hash=cc3930..1d4239 root=fd1f9a..f12bbb
INFO [08-24|14:10:56.308] Persisted trie from memory database      nodes=5000 size=663.59KiB time=12.357024ms gcnodes=16864 gcsize=3.06MiB gctime=17.971531ms livenodes=12 livesize=-3896.00B
INFO [08-24|14:10:56.308] Writing cached state to disk             block=34521 hash=509c1a..49d6c4 root=fd1f9a..f12bbb
INFO [08-24|14:10:56.308] Persisted trie from memory database      nodes=0    size=0.00B     time=944ns       gcnodes=0     gcsize=0.00B   gctime=0s          livenodes=12 livesize=-3896.00B
INFO [08-24|14:10:56.308] Writing cached state to disk             block=34395 hash=20b037..427a01 root=a3e75e..a41c8f
INFO [08-24|14:10:56.308] Persisted trie from memory database      nodes=11   size=4.60KiB   time="58.802µs"  gcnodes=0     gcsize=0.00B   gctime=0s          livenodes=1  livesize=-8610.00B
INFO [08-24|14:10:56.308] Writing snapshot state to disk           root=86616a..d0ae89
INFO [08-24|14:10:56.308] Persisted trie from memory database      nodes=0    size=0.00B     time=658ns       gcnodes=0     gcsize=0.00B   gctime=0s          livenodes=1  livesize=-8610.00B
INFO [08-24|14:10:56.308] Writing clean trie cache to disk         path=/data/node0/data/geth/triecache threads=16
INFO [08-24|14:10:56.362] Looking for peers                        peercount=0 tried=0 static=0
INFO [08-24|14:10:56.427] Persisted the clean trie cache           path=/data/node0/data/geth/triecache elapsed=118.142ms
INFO [08-24|14:10:56.427] Blockchain stopped
INFO [08-24|14:11:25.787] Starting Geth on Ethereum mainnet...
INFO [08-24|14:11:25.787] Bumping default cache on mainnet         provided=4096 updated=4096
INFO [08-24|14:11:25.787]

node1 first kill log:

INFO [08-24|14:10:29.002] Signed recently, must wait for others
INFO [08-24|14:10:29.004] Looking for peers                        peercount=3 tried=0 static=0
INFO [08-24|14:10:32.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="420.249µs" mgasps=0.000    number=34514 hash=3beaee..023a69 dirty=1.11MiB
INFO [08-24|14:10:32.002] Commit new mining work                   number=34515 sealhash=e7cffb..86815f uncles=0 txs=0    gas=0          fees=0          elapsed="288.314µs"
INFO [08-24|14:10:35.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="381.751µs" mgasps=0.000    number=34515 hash=47f30c..dc200e dirty=1.11MiB
INFO [08-24|14:10:35.002] 🔗 block reached canonical chain          number=34508 hash=778d33..4be9b7
INFO [08-24|14:10:35.002] Commit new mining work                   number=34516 sealhash=4a193e..faec59 uncles=0 txs=0    gas=0          fees=0          elapsed="180.49µs"
INFO [08-24|14:10:38.001] Successfully sealed new block            number=34516 sealhash=4a193e..faec59 hash=cd88c5..c21a92 elapsed=2.998s
INFO [08-24|14:10:38.001] 🔨 mined potential block                  number=34516 hash=cd88c5..c21a92
INFO [08-24|14:10:38.001] Commit new mining work                   number=34517 sealhash=a7e881..1c9e85 uncles=0 txs=0    gas=0          fees=0          elapsed="436.012µs"
INFO [08-24|14:10:38.001] Signed recently, must wait for others
INFO [08-24|14:10:39.017] Looking for peers                        peercount=3 tried=0 static=0
INFO [08-24|14:10:41.001] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="398.665µs" mgasps=0.000    number=34517 hash=71cba0..a0e521 dirty=1.11MiB
INFO [08-24|14:10:41.001] Commit new mining work                   number=34518 sealhash=82e57d..51b6d3 uncles=0 txs=0    gas=0          fees=0          elapsed="267.582µs"
INFO [08-24|14:10:41.001] Signed recently, must wait for others
INFO [08-24|14:10:44.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="396.999µs" mgasps=0.000    number=34518 hash=e07c00..4e6d6c dirty=1.11MiB
INFO [08-24|14:10:44.002] Commit new mining work                   number=34519 sealhash=6923f5..9f4ba7 uncles=0 txs=0    gas=0          fees=0          elapsed="257.037µs"
INFO [08-24|14:10:47.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="399.896µs" mgasps=0.000    number=34519 hash=2b551e..7ac058 dirty=1.11MiB
INFO [08-24|14:10:47.002] 🔗 block reached canonical chain          number=34512 hash=09ab54..29b265
INFO [08-24|14:10:47.002] Commit new mining work                   number=34520 sealhash=3d303f..dc04de uncles=0 txs=0    gas=0          fees=0          elapsed="119.008µs"
INFO [08-24|14:10:49.030] Looking for peers                        peercount=3 tried=0 static=0
INFO [08-24|14:10:50.000] Successfully sealed new block            number=34520 sealhash=3d303f..dc04de hash=6d55b4..e7e329 elapsed=2.998s
INFO [08-24|14:10:50.000] 🔨 mined potential block                  number=34520 hash=6d55b4..e7e329
INFO [08-24|14:10:50.001] Commit new mining work                   number=34521 sealhash=702818..04010f uncles=0 txs=0    gas=0          fees=0          elapsed="435.541µs"
INFO [08-24|14:10:50.001] Signed recently, must wait for others
INFO [08-24|14:10:53.001] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="384.35µs"  mgasps=0.000    number=34521 hash=509c1a..49d6c4 dirty=1.11MiB
INFO [08-24|14:10:53.002] Commit new mining work                   number=34522 sealhash=449790..05e8f3 uncles=0 txs=0    gas=0          fees=0          elapsed="262.977µs"
INFO [08-24|14:10:53.002] Signed recently, must wait for others
INFO [08-24|14:10:56.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="397.389µs" mgasps=0.000    number=34522 hash=cc3930..1d4239 dirty=1.11MiB
INFO [08-24|14:10:56.002] Commit new mining work                   number=34523 sealhash=49cfa0..36ddc7 uncles=0 txs=0    gas=0          fees=0          elapsed="278.552µs"
INFO [08-24|14:10:57.313] Got interrupt, shutting down...
INFO [08-24|14:10:57.314] HTTP server stopped                      endpoint=[::]:8545
INFO [08-24|14:10:57.315] HTTP server stopped                      endpoint=[::]:8546
INFO [08-24|14:10:57.315] Ethereum protocol stopped
INFO [08-24|14:10:57.315] Transaction pool stopped
WARN [08-24|14:10:57.315] prediction loop quitting
INFO [08-24|14:10:57.325] Writing cached state to disk             block=34522 hash=cc3930..1d4239 root=fd1f9a..f12bbb
INFO [08-24|14:10:57.337] Persisted trie from memory database      nodes=4997 size=663.02KiB time=12.040597ms gcnodes=16857 gcsize=3.06MiB gctime=18.120057ms livenodes=12 livesize=-3896.00B
INFO [08-24|14:10:57.337] Writing cached state to disk             block=34521 hash=509c1a..49d6c4 root=fd1f9a..f12bbb
INFO [08-24|14:10:57.337] Persisted trie from memory database      nodes=0    size=0.00B     time="1.037µs"   gcnodes=0     gcsize=0.00B   gctime=0s          livenodes=12 livesize=-3896.00B
INFO [08-24|14:10:57.337] Writing cached state to disk             block=34395 hash=20b037..427a01 root=a3e75e..a41c8f
INFO [08-24|14:10:57.337] Persisted trie from memory database      nodes=11   size=4.60KiB   time="54.646µs"  gcnodes=0     gcsize=0.00B   gctime=0s          livenodes=1  livesize=-8610.00B
INFO [08-24|14:10:57.337] Writing snapshot state to disk           root=86616a..d0ae89
INFO [08-24|14:10:57.337] Persisted trie from memory database      nodes=0    size=0.00B     time=463ns       gcnodes=0     gcsize=0.00B   gctime=0s          livenodes=1  livesize=-8610.00B
INFO [08-24|14:10:57.338] Writing clean trie cache to disk         path=/data/node1/data/geth/triecache threads=16
INFO [08-24|14:10:57.448] Persisted the clean trie cache           path=/data/node1/data/geth/triecache elapsed=110.127ms
INFO [08-24|14:10:57.448] Blockchain stopped
INFO [08-24|14:11:27.024] Starting Geth on Ethereum mainnet...
INFO [08-24|14:11:27.024] Bumping default cache on mainnet         provided=4096 updated=4096
INFO [08-24|14:11:27.024] Enabling 

node2 first kill log:

INFO [08-24|14:10:32.001] Signed recently, must wait for others
INFO [08-24|14:10:35.000] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="369.046µs" mgasps=0.000    number=34515 hash=47f30c..dc200e dirty=1.11MiB
INFO [08-24|14:10:35.001] Commit new mining work                   number=34516 sealhash=2e6db4..4cd2f2 uncles=0 txs=0    gas=0          fees=0          elapsed="393.413µs"
INFO [08-24|14:10:35.001] Signed recently, must wait for others
INFO [08-24|14:10:38.001] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="345.796µs" mgasps=0.000    number=34516 hash=cd88c5..c21a92 dirty=1.11MiB
INFO [08-24|14:10:38.002] Commit new mining work                   number=34517 sealhash=9c13ae..5ab908 uncles=0 txs=0    gas=0          fees=0          elapsed="309.949µs"
INFO [08-24|14:10:39.721] Looking for peers                        peercount=3 tried=0 static=0
INFO [08-24|14:10:41.001] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="362.031µs" mgasps=0.000    number=34517 hash=71cba0..a0e521 dirty=1.11MiB
INFO [08-24|14:10:41.001] 🔗 block reached canonical chain          number=34510 hash=40ec66..2eecff
INFO [08-24|14:10:41.001] Commit new mining work                   number=34518 sealhash=2a95a1..1f81cd uncles=0 txs=0    gas=0          fees=0          elapsed="118.681µs"
INFO [08-24|14:10:44.000] Successfully sealed new block            number=34518 sealhash=2a95a1..1f81cd hash=e07c00..4e6d6c elapsed=2.999s
INFO [08-24|14:10:44.000] 🔨 mined potential block                  number=34518 hash=e07c00..4e6d6c
INFO [08-24|14:10:44.001] Commit new mining work                   number=34519 sealhash=a99bbd..771faf uncles=0 txs=0    gas=0          fees=0          elapsed="393.025µs"
INFO [08-24|14:10:44.001] Signed recently, must wait for others
INFO [08-24|14:10:47.001] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="366.759µs" mgasps=0.000    number=34519 hash=2b551e..7ac058 dirty=1.11MiB
INFO [08-24|14:10:47.001] Commit new mining work                   number=34520 sealhash=c4561a..c592f1 uncles=0 txs=0    gas=0          fees=0          elapsed="396.926µs"
INFO [08-24|14:10:47.001] Signed recently, must wait for others
INFO [08-24|14:10:49.731] Looking for peers                        peercount=3 tried=0 static=0
INFO [08-24|14:10:50.001] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="405.657µs" mgasps=0.000    number=34520 hash=6d55b4..e7e329 dirty=1.11MiB
INFO [08-24|14:10:50.002] Commit new mining work                   number=34521 sealhash=04607c..9cf723 uncles=0 txs=0    gas=0          fees=0          elapsed="291.759µs"
INFO [08-24|14:10:53.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="376.979µs" mgasps=0.000    number=34521 hash=509c1a..49d6c4 dirty=1.11MiB
INFO [08-24|14:10:53.002] 🔗 block reached canonical chain          number=34514 hash=3beaee..023a69
INFO [08-24|14:10:53.002] Commit new mining work                   number=34522 sealhash=19d5a2..da5847 uncles=0 txs=0    gas=0          fees=0          elapsed="139.221µs"
INFO [08-24|14:10:56.000] Successfully sealed new block            number=34522 sealhash=19d5a2..da5847 hash=cc3930..1d4239 elapsed=2.998s
INFO [08-24|14:10:56.000] 🔨 mined potential block                  number=34522 hash=cc3930..1d4239
INFO [08-24|14:10:56.000] Commit new mining work                   number=34523 sealhash=30645d..95c0a4 uncles=0 txs=0    gas=0          fees=0          elapsed="387.912µs"
INFO [08-24|14:10:56.000] Signed recently, must wait for others
INFO [08-24|14:10:59.001] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="373.961µs" mgasps=0.000    number=34523 hash=04a907..8c5c1c dirty=1.11MiB
INFO [08-24|14:10:59.001] Commit new mining work                   number=34524 sealhash=5c38b6..6cb76d uncles=0 txs=0    gas=0          fees=0          elapsed="426.674µs"
INFO [08-24|14:10:59.001] Signed recently, must wait for others
INFO [08-24|14:10:59.151] Got interrupt, shutting down...
INFO [08-24|14:10:59.152] HTTP server stopped                      endpoint=[::]:8545
INFO [08-24|14:10:59.153] HTTP server stopped                      endpoint=[::]:8546
INFO [08-24|14:10:59.153] Ethereum protocol stopped
INFO [08-24|14:10:59.153] Transaction pool stopped
WARN [08-24|14:10:59.153] prediction loop quitting
INFO [08-24|14:10:59.164] Writing cached state to disk             block=34523 hash=04a907..8c5c1c root=fd1f9a..f12bbb
INFO [08-24|14:10:59.176] Persisted trie from memory database      nodes=4997 size=663.02KiB time=12.341115ms gcnodes=16831 gcsize=3.05MiB gctime=17.635316ms livenodes=12 livesize=-3896.00B
INFO [08-24|14:10:59.176] Writing cached state to disk             block=34522 hash=cc3930..1d4239 root=fd1f9a..f12bbb
INFO [08-24|14:10:59.176] Persisted trie from memory database      nodes=0    size=0.00B     time=885ns       gcnodes=0     gcsize=0.00B   gctime=0s          livenodes=12 livesize=-3896.00B
INFO [08-24|14:10:59.176] Writing cached state to disk             block=34396 hash=fbc5ae..2cacfa root=a3e75e..a41c8f
INFO [08-24|14:10:59.176] Persisted trie from memory database      nodes=11   size=4.60KiB   time="58.449µs"  gcnodes=0     gcsize=0.00B   gctime=0s          livenodes=1  livesize=-8610.00B
INFO [08-24|14:10:59.176] Writing snapshot state to disk           root=86616a..d0ae89
INFO [08-24|14:10:59.176] Persisted trie from memory database      nodes=0    size=0.00B     time=468ns       gcnodes=0     gcsize=0.00B   gctime=0s          livenodes=1  livesize=-8610.00B
INFO [08-24|14:10:59.176] Writing clean trie cache to disk         path=/data/node2/data/geth/triecache threads=16
INFO [08-24|14:10:59.284] Persisted the clean trie cache           path=/data/node2/data/geth/triecache elapsed=107.362ms
INFO [08-24|14:10:59.284] Blockchain stopped
INFO [08-24|14:11:22.455] Starting Geth on Ethereum mainnet...
INFO [08-24|14:11:22.455] Bumping default cache on mainnet         provided=4096 updated=4096
INFO [08-24|14:11:22.455] Enabling metrics collection
INFO [08-24|14:11:22.455] Enabling metrics export to InfluxDB
INFO [08-24|14:11:22.455] Maximum peer count                       ETH=50 LES=0 total=50
INFO [08-24|14:11:22.455] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"

node3 first kill log:

INFO [08-24|14:10:23.001] 🔨 mined potential block                  number=34511 hash=5e07d2..95a20d
INFO [08-24|14:10:23.001] Commit new mining work                   number=34512 sealhash=eff348..aceefa uncles=0 txs=0    gas=0          fees=0          elapsed="507.867µs"
INFO [08-24|14:10:23.001] Signed recently, must wait for others
INFO [08-24|14:10:26.001] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="387.081µs" mgasps=0.000    number=34512 hash=09ab54..29b265 dirty=0.00B
INFO [08-24|14:10:26.002] Commit new mining work                   number=34513 sealhash=29f0bf..0585dc uncles=0 txs=0    gas=0          fees=0          elapsed="292.233µs"
INFO [08-24|14:10:26.002] Signed recently, must wait for others
INFO [08-24|14:10:29.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="399.935µs" mgasps=0.000    number=34513 hash=ef0033..a8d2ec dirty=0.00B
INFO [08-24|14:10:29.002] Commit new mining work                   number=34514 sealhash=d0d97a..5d695d uncles=0 txs=0    gas=0          fees=0          elapsed="289.157µs"
INFO [08-24|14:10:32.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="390.882µs" mgasps=0.000    number=34514 hash=3beaee..023a69 dirty=0.00B
INFO [08-24|14:10:32.003] 🔗 block reached canonical chain          number=34507 hash=8ab476..8e2d34
INFO [08-24|14:10:32.003] Commit new mining work                   number=34515 sealhash=0e245a..608b70 uncles=0 txs=0    gas=0          fees=0          elapsed="154.897µs"
INFO [08-24|14:10:35.000] Successfully sealed new block            number=34515 sealhash=0e245a..608b70 hash=47f30c..dc200e elapsed=2.997s
INFO [08-24|14:10:35.000] 🔨 mined potential block                  number=34515 hash=47f30c..dc200e
INFO [08-24|14:10:35.000] Commit new mining work                   number=34516 sealhash=efc8f5..63ff3d uncles=0 txs=0    gas=0          fees=0          elapsed="506.348µs"
INFO [08-24|14:10:35.001] Signed recently, must wait for others
INFO [08-24|14:10:38.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="397.39µs"  mgasps=0.000    number=34516 hash=cd88c5..c21a92 dirty=0.00B
INFO [08-24|14:10:38.002] Commit new mining work                   number=34517 sealhash=2bf49e..1b6ef8 uncles=0 txs=0    gas=0          fees=0          elapsed="291.373µs"
INFO [08-24|14:10:38.003] Signed recently, must wait for others
WARN [08-24|14:10:38.341] Served eth_sendRawTransaction            conn=183.14.133.200:28981 reqid=8557871222368 t="129.518µs" err="insufficient funds for gas * price + value"
INFO [08-24|14:10:41.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="403.134µs" mgasps=0.000    number=34517 hash=71cba0..a0e521 dirty=0.00B
INFO [08-24|14:10:41.002] Commit new mining work                   number=34518 sealhash=4df171..72764e uncles=0 txs=0    gas=0          fees=0          elapsed="316.717µs"
INFO [08-24|14:10:44.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="395.917µs" mgasps=0.000    number=34518 hash=e07c00..4e6d6c dirty=0.00B
INFO [08-24|14:10:44.003] 🔗 block reached canonical chain          number=34511 hash=5e07d2..95a20d
INFO [08-24|14:10:44.003] Commit new mining work                   number=34519 sealhash=9f4b16..fe0276 uncles=0 txs=0    gas=0          fees=0          elapsed="178.538µs"
INFO [08-24|14:10:47.000] Successfully sealed new block            number=34519 sealhash=9f4b16..fe0276 hash=2b551e..7ac058 elapsed=2.997s
INFO [08-24|14:10:47.000] 🔨 mined potential block                  number=34519 hash=2b551e..7ac058
INFO [08-24|14:10:47.001] Commit new mining work                   number=34520 sealhash=a81835..aaabb0 uncles=0 txs=0    gas=0          fees=0          elapsed="489.047µs"
INFO [08-24|14:10:47.001] Signed recently, must wait for others
INFO [08-24|14:10:50.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="404.397µs" mgasps=0.000    number=34520 hash=6d55b4..e7e329 dirty=0.00B
INFO [08-24|14:10:50.002] Commit new mining work                   number=34521 sealhash=47785f..c857bc uncles=0 txs=0    gas=0          fees=0          elapsed="313.159µs"
INFO [08-24|14:10:50.002] Signed recently, must wait for others
INFO [08-24|14:10:53.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="417.174µs" mgasps=0.000    number=34521 hash=509c1a..49d6c4 dirty=0.00B
INFO [08-24|14:10:53.003] Commit new mining work                   number=34522 sealhash=349d18..f86e4d uncles=0 txs=0    gas=0          fees=0          elapsed="271.068µs"
INFO [08-24|14:10:56.002] Imported new chain segment               blocks=1 txs=0    mgas=0.000  elapsed="383.774µs" mgasps=0.000    number=34522 hash=cc3930..1d4239 dirty=0.00B
INFO [08-24|14:10:56.002] 🔗 block reached canonical chain          number=34515 hash=47f30c..dc200e
INFO [08-24|14:10:56.002] Commit new mining work                   number=34523 sealhash=d9e453..aead63 uncles=0 txs=0    gas=0          fees=0          elapsed="160.427µs"
WARN [08-24|14:10:58.359] Served eth_sendRawTransaction            conn=183.14.133.200:28982 reqid=8557871222369 t="141.789µs" err="insufficient funds for gas * price + value"
INFO [08-24|14:10:59.000] Successfully sealed new block            number=34523 sealhash=d9e453..aead63 hash=04a907..8c5c1c elapsed=2.998s
INFO [08-24|14:10:59.000] 🔨 mined potential block                  number=34523 hash=04a907..8c5c1c
INFO [08-24|14:10:59.001] Commit new mining work                   number=34524 sealhash=dc8498..6618e6 uncles=0 txs=0    gas=0          fees=0          elapsed="515.531µs"
INFO [08-24|14:10:59.001] Signed recently, must wait for others
INFO [08-24|14:11:00.098] Got interrupt, shutting down...
INFO [08-24|14:11:00.099] HTTP server stopped                      endpoint=[::]:8545
INFO [08-24|14:11:00.100] HTTP server stopped                      endpoint=[::]:8546
INFO [08-24|14:11:00.100] IPC endpoint closed                      url=/data/node3/data/geth.ipc
INFO [08-24|14:11:00.100] Ethereum protocol stopped
INFO [08-24|14:11:00.100] Transaction pool stopped
WARN [08-24|14:11:00.100]

geth start log:

INFO [08-24|14:11:29.439] Enabling recording of key preimages since archive mode is used
INFO [08-24|14:11:29.439] Set global gas cap                       cap=50,000,000
INFO [08-24|14:11:29.439] Allocated trie memory caches             clean=1.40GiB dirty=0.00B
INFO [08-24|14:11:29.439] Allocated cache and file handles         database=/data/node3/data/geth/chaindata cache=1.60GiB handles=32767
INFO [08-24|14:11:29.583] Opened ancient database                  database=/data/node3/data/geth/chaindata/ancient readonly=false
INFO [08-24|14:11:29.584] Initialised chain configuration          config="{ChainID: 2285 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: 0, Muir Glacier: 0, Berlin: 0, London: 0, Engine: congress}"
INFO [08-24|14:11:29.587] Initialising Ethereum protocol           network=2285 dbversion=8
INFO [08-24|14:11:29.828] Loaded most recent local header          number=34523 hash=04a907..8c5c1c td=68984 age=30s
INFO [08-24|14:11:29.828] Loaded most recent local full block      number=34523 hash=04a907..8c5c1c td=68984 age=30s
INFO [08-24|14:11:29.828] Loaded most recent local fast block      number=34523 hash=04a907..8c5c1c td=68984 age=30s
INFO [08-24|14:11:29.897] Gasprice oracle is ignoring threshold set threshold=2
INFO [08-24|14:11:29.898] Prediction started                       checkBlocks=20 Interval=3 ff=2 mf=5 lf=8 minMi=500 minLi=1000 fp=75 mp=90 minCnt=100
INFO [08-24|14:11:29.898] Starting peer-to-peer node               instance=Geth/v1.0.0-beta-a6f71cc2/linux-amd64/go1.18.4
INFO [08-24|14:11:29.907] New local node record                    seq=1,661,217,391,519 id=0b9e3d896ab5ace8 ip=127.0.0.1 udp=32668 tcp=32668
INFO [08-24|14:11:29.907] Started P2P networking                   self=enode://2c13d9a14ce014bcb8c38bbe727dadfa6a59a44e3dc9b82e6cd89859bf30bd565ec61151f849f84bc8fac6069d3b37ada990058509472d3d367891bd60bb7b88@127.0.0.1:32668
INFO [08-24|14:11:29.907] IPC endpoint opened                      url=/data/node3/data/geth.ipc
ERROR[08-24|14:11:29.908] Unavailable modules in HTTP API list     unavailable=[shh] available="[admin debug web3 eth txpool personal congress miner net]"
ERROR[08-24|14:11:29.908] Unavailable modules in HTTP API list     unavailable=[network] available="[admin debug web3 eth txpool personal congress miner net]"
INFO [08-24|14:11:29.908] HTTP server started                      endpoint=[::]:8545 prefix= cors= vhosts=localhost
INFO [08-24|14:11:29.908] WebSocket enabled                        url=ws://[::]:8546
INFO [08-24|14:11:30.547] Unlocked account                         address=0xC20001631404C81d19E0B5b5Aa4d30D45ed793d0
INFO [08-24|14:11:30.548] Transaction pool price threshold updated price=1,000,000,000
INFO [08-24|14:11:30.548] Transaction pool price threshold updated price=1,000,000,000
INFO [08-24|14:11:30.548] Etherbase automatically configured       address=0xC20001631404C81d19E0B5b5Aa4d30D45ed793d0
INFO [08-24|14:11:30.548] Commit new mining work                   number=34524 sealhash=cbb604..513f84 uncles=0 txs=0 gas=0 fees=0 elapsed="818.621µs"
INFO [08-24|14:11:30.549] Signed recently, must wait for others
WARN [08-24|14:11:30.577] Served eth_sendRawTransaction            conn=183.14.133.200:31321 reqid=8557871222370 t="227.891µs" err="insufficient funds for gas * price + value"
INFO [08-24|14:40:54.885] Commit new mining work                   number=34524 sealhash=92a40a..19c68b uncles=0 txs=100 gas=2,100,000 fees=0.021 elapsed=6.945ms
INFO [08-24|14:40:54.885] Signed recently, must wait for others
INFO [08-24|14:43:23.895] Looking for peers                        peercount=2 tried=1 static=0
INFO [08-24|14:43:34.409] Looking for peers                        peercount=1 tried=1 static=0
INFO [08-24|14:43:44.926] Looking for peers                        peercount=0 tried=1 static=0
INFO [08-24|14:43:45.798] Got interrupt, shutting down...
INFO [08-24|14:43:45.799] HTTP server stopped                      endpoint=[::]:8545
INFO [08-24|14:43:45.800] HTTP server stopped                      endpoint=[::]:8546
INFO [08-24|14:43:45.800] IPC endpoint closed                      url=/data/node3/data/geth.ipc
INFO [08-24|14:43:45.800] Ethereum protocol stopped
INFO [08-24|14:43:45.800] Transaction pool stopped
WARN [08-24|14:43:45.801] prediction loop quitting
INFO [08-24|14:43:45.810] Writing clean trie cache to disk         path=/data/node3/data/geth/triecache threads=16
INFO [08-24|14:43:46.337] Persisted the clean trie cache           path=/data/node3/data/geth/triecache elapsed=527.198ms
INFO [08-24|14:43:46.337] Blockchain stopped
INFO [08-24|14:45:24.983] Starting Geth on Ethereum mainnet...
INFO [08-24|14:45:24.983] Bumping default cache on mainnet         provided=4096 updated=4096
INFO [08-24|14:45:24.983] Enabling metrics collection
INFO [08-24|14:45:24.983] Enabling metrics export to InfluxDB
INFO [08-24|14:45:24.984] Maximum peer count                     

node3:

Commit new mining work                   number=34524 sealhash=92a40a..19c68b uncles=0 txs=100 gas=2,100,000 fees=0.021 elapsed=6.945ms
INFO [08-24|14:40:54.885] Signed recently, must wait for others

node2:

 Commit new mining work                   number=34524 sealhash=fc7fea..f71c5e uncles=0 txs=0 gas=0 fees=0 elapsed="658.657µs"
INFO [08-24|14:11:23.389] Signed recently, must wait for others
INFO [08-24|14:11:28.215] Imported new chain segment               blocks=1 txs=0 mgas=0.000 elapsed=1.264ms     mgasps=0.000 number=34523 hash=1ffe6a..a6594c dirty=4.54KiB
INFO [08-24|14:11:28.215] Commit new mining work                   number=34524 sealhash=fc7fea..f71c5e uncles=1 txs=0 gas=0 fees=0 elapsed="320.497µs"
INFO [08-24|14:11:30.215] Imported new chain segment               blocks=1 txs=0 mgas=0.000 elapsed="279.148µs" mgasps=0.000 number=34524 hash=d50ab9..ad88eb dirty=4.54KiB
INF

node0

INFO [08-24|14:11:26.682] Etherbase automatically configured       address=0x4045d4Ef78738B9750cc266Bb972f66D950Dc942
INFO [08-24|14:11:26.683] Commit new mining work                   number=34523 sealhash=02b2c7..1bd3eb uncles=0 txs=0 gas=0 fees=0 elapsed="533.435µs"
INFO [08-24|14:11:26.683] Signed recently, must wait for others
INFO [08-24|14:11:28.214] Imported new chain segment               blocks=1 txs=0 mgas=0.000 elapsed="799.808µs" mgasps=0.000 number=34523 hash=1ffe6a..a6594c dirty=4.54KiB
INFO [08-24|14:11:28.214] Commit new mining work                   number=34524 sealhash=84e46b..ab1797 uncles=0 txs=0 gas=0 fees=0 elapsed="107.663µs"
INFO [08-24|14:11:30.215] Successfully sealed new block            number=34524 sealhash=84e46b..ab1797 hash=d50ab9..ad88eb elapsed=2.001s
INFO [08-24|14:11:30.215] 🔨 mined potential block                  number=34524 hash=d50ab9..ad88eb
INFO [08-24|14:11:30.215] Commit new mining work                   number=34525 sealhash=c51235..4e277e uncles=0 txs=0 gas=0 fees=0 elapsed="219.714µs"
INFO [08-24|14:11:30.215] Signed recently, must wait for others

node1

INFO [08-24|14:11:27.305] HTTP server started                      endpoint=[::]:8545 prefix= cors= vhosts=localhost
INFO [08-24|14:11:27.305] WebSocket enabled                        url=ws://[::]:8546
INFO [08-24|14:11:27.922] Unlocked account                         address=0x0D80B670B2d44017468CCc75787Ea017678C6F72
INFO [08-24|14:11:27.922] Transaction pool price threshold updated price=1,000,000,000
INFO [08-24|14:11:27.922] Transaction pool price threshold updated price=1,000,000,000
INFO [08-24|14:11:27.922] Etherbase automatically configured       address=0x0D80B670B2d44017468CCc75787Ea017678C6F72
INFO [08-24|14:11:27.923] Commit new mining work                   number=34523 sealhash=85af3f..3ba0be uncles=0 txs=0 gas=0 fees=0 elapsed="548.003µs"
INFO [08-24|14:11:28.212] Successfully sealed new block            number=34523 sealhash=85af3f..3ba0be hash=1ffe6a..a6594c elapsed=289.187ms
INFO [08-24|14:11:28.212] 🔨 mined potential block                  number=34523 hash=1ffe6a..a6594c
INFO [08-24|14:11:28.212] Commit new mining work                   number=34524 sealhash=be4a54..6a5c5f uncles=0 txs=0 gas=0 fees=0 elapsed="209.367µs"
INFO [08-24|14:11:28.212] Signed recently, must wait for others
INFO [08-24|14:11:30.216] Imported new chain segment               blocks=1 txs=0 mgas=0.000 elapsed="398.498µs" mgasps=0.000 number=34524 hash=d50ab9..ad88eb dirty=4.54KiB
INFO [08-24|14:11:30.216] Commit new mining work                   number=34525 sealhash=abde51..ef1349 uncles=0 txs=0 gas=0 fees=0 elapsed="102.86µs"
INFO [08-24|14:11:30.216] Signed recently, must wait for others
INFO [08-24|14:11:37.318] Looking for peers                        peercount=3 tried=3 static=0
INFO [08-24|14:11:47.330] Looking for peers                        peercount=3 tried=0 static=0
INFO [08-24|14:11:57.344] Looking for peers                        peercount=3 tried=0 static=0
INFO [08-24|14:12:07.358] Looking for peers                        peercount=3 tried=0 static=0
INFO [08-24|14:12:17.373] Looking for peers                        peercount=3 tried=0 static=0
INFO [08-24|14:12:27.386] Looking for peers                        peercount=3 tried=0 static=0
youngqqcn commented 2 years ago

get block 34523 at node0:

# curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x86db", true],"id":1}' localhost:8545 -s | jq
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "baseFeePerGas": "0x0",
    "difficulty": "0x1",
    "extraData": "0xd883010000846765746888676f312e31382e34856c696e757800000000000000e800b7cc1a0efcf18d3ac47a73f89e4c16993f11156a99e5df283c69d308a3d70c878c87b8f3a8572c411b8f2af31f2486ef2967f681f3ee5724726bb59dbb8b00",
    "gasLimit": "0x2faf080",
    "gasUsed": "0x0",
    "hash": "0x1ffe6a9110016adea26eaccc794e4fca9361c348a11306d8a3211b5e39a6594c",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "miner": "0x0d80b670b2d44017468ccc75787ea017678c6f72",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0x86db",
    "parentHash": "0xcc3930f5b2ea236d7513fd7fee0e88061eadd9f16f2b3a0a03702bb2871d4239",
    "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x262",
    "stateRoot": "0x149d6b521601ce5243fb5c77b0cb8dff833971283d80e08ffd12740a8ee8cf2d",
    "timestamp": "0x6305c10f",
    "totalDifficulty": "0x10d77",
    "transactions": [],
    "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "uncles": []
  }
}

get block 34523 at node2 as below:

# curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x86db", true],"id":1}' localhost:8545 -s | jq 
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "baseFeePerGas": "0x0",
    "difficulty": "0x2",
    "extraData": "0xd883010000846765746888676f312e31382e34856c696e7578000000000000007e1701cc02888a7e501530dc399f2118184e9bde826d34ac159f76b13ab9ee7a299a2a8ef4d2b072252ca7fc68023138fafd802361eab7c3eb0b8b5099bc296a01",
    "gasLimit": "0x2faf080",
    "gasUsed": "0x0",
    "hash": "0x04a907ebb763452f484cb2d831d01ec4e80b219ec11da1b68231027a048c5c1c",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "miner": "0xc20001631404c81d19e0b5b5aa4d30d45ed793d0",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0x86db",
    "parentHash": "0xcc3930f5b2ea236d7513fd7fee0e88061eadd9f16f2b3a0a03702bb2871d4239",
    "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x262",
    "stateRoot": "0xfd1f9ab400c2633e485ee5170c5bd3241c112ebc146cc3529793ca8243f12bbb",
    "timestamp": "0x6305c0f3",
    "totalDifficulty": "0x10d78",
    "transactions": [],
    "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "uncles": []
  }
}

get block 34523 at node1 as below:

# curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x86db", true],"id":1}' localhost:8545 -s | jq
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "baseFeePerGas": "0x0",
    "difficulty": "0x1",
    "extraData": "0xd883010000846765746888676f312e31382e34856c696e757800000000000000e800b7cc1a0efcf18d3ac47a73f89e4c16993f11156a99e5df283c69d308a3d70c878c87b8f3a8572c411b8f2af31f2486ef2967f681f3ee5724726bb59dbb8b00",
    "gasLimit": "0x2faf080",
    "gasUsed": "0x0",
    "hash": "0x1ffe6a9110016adea26eaccc794e4fca9361c348a11306d8a3211b5e39a6594c",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "miner": "0x0d80b670b2d44017468ccc75787ea017678c6f72",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0x86db",
    "parentHash": "0xcc3930f5b2ea236d7513fd7fee0e88061eadd9f16f2b3a0a03702bb2871d4239",
    "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x262",
    "stateRoot": "0x149d6b521601ce5243fb5c77b0cb8dff833971283d80e08ffd12740a8ee8cf2d",
    "timestamp": "0x6305c10f",
    "totalDifficulty": "0x10d77",
    "transactions": [],
    "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "uncles": []
  }
}

get block 34523 at node3:

# curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x86db", true],"id":1}' localhost:8545 -s | jq 
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "baseFeePerGas": "0x0",
    "difficulty": "0x2",
    "extraData": "0xd883010000846765746888676f312e31382e34856c696e7578000000000000007e1701cc02888a7e501530dc399f2118184e9bde826d34ac159f76b13ab9ee7a299a2a8ef4d2b072252ca7fc68023138fafd802361eab7c3eb0b8b5099bc296a01",
    "gasLimit": "0x2faf080",
    "gasUsed": "0x0",
    "hash": "0x04a907ebb763452f484cb2d831d01ec4e80b219ec11da1b68231027a048c5c1c",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "miner": "0xc20001631404c81d19e0b5b5aa4d30d45ed793d0",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0x86db",
    "parentHash": "0xcc3930f5b2ea236d7513fd7fee0e88061eadd9f16f2b3a0a03702bb2871d4239",
    "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x262",
    "stateRoot": "0xfd1f9ab400c2633e485ee5170c5bd3241c112ebc146cc3529793ca8243f12bbb",
    "timestamp": "0x6305c0f3",
    "totalDifficulty": "0x10d78",
    "transactions": [],
    "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "uncles": []
  }
}

youngqqcn commented 2 years ago

geth block 34524 at node03 as below:

 ~]# curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x86dc", true],"id":1}' localhost:8545 -s | jq 
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": null
}

geth block 34524 at node1 as below:

# curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x86dc", true],"id":1}' localhost:8545 -s | jq
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "baseFeePerGas": "0x0",
    "difficulty": "0x1",
    "extraData": "0xd883010000846765746888676f312e31382e34856c696e7578000000000000005ac59f8c2acbbb914559608e4deed715ab3741678bdd60d97363ba91235f70f255d78368bb7d1e19c200807dca3476f9b1b0eeccafc632f2980f55dfcfe0219901",
    "gasLimit": "0x2faf080",
    "gasUsed": "0x0",
    "hash": "0xd50ab913a69f51cce74a0b86d2683697dc0166ed43b3701d959812f7a5ad88eb",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "miner": "0x4045d4ef78738b9750cc266bb972f66d950dc942",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0x86dc",
    "parentHash": "0x1ffe6a9110016adea26eaccc794e4fca9361c348a11306d8a3211b5e39a6594c",
    "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x262",
    "stateRoot": "0x149d6b521601ce5243fb5c77b0cb8dff833971283d80e08ffd12740a8ee8cf2d",
    "timestamp": "0x6305c112",
    "totalDifficulty": "0x10d78",
    "transactions": [],
    "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "uncles": []
  }
}

geth block 34524 at node0 as below:

# curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x86dc", true],"id":1}' localhost:8545 -s | jq
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "baseFeePerGas": "0x0",
    "difficulty": "0x1",
    "extraData": "0xd883010000846765746888676f312e31382e34856c696e7578000000000000005ac59f8c2acbbb914559608e4deed715ab3741678bdd60d97363ba91235f70f255d78368bb7d1e19c200807dca3476f9b1b0eeccafc632f2980f55dfcfe0219901",
    "gasLimit": "0x2faf080",
    "gasUsed": "0x0",
    "hash": "0xd50ab913a69f51cce74a0b86d2683697dc0166ed43b3701d959812f7a5ad88eb",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "miner": "0x4045d4ef78738b9750cc266bb972f66d950dc942",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0x86dc",
    "parentHash": "0x1ffe6a9110016adea26eaccc794e4fca9361c348a11306d8a3211b5e39a6594c",
    "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x262",
    "stateRoot": "0x149d6b521601ce5243fb5c77b0cb8dff833971283d80e08ffd12740a8ee8cf2d",
    "timestamp": "0x6305c112",
    "totalDifficulty": "0x10d78",
    "transactions": [],
    "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "uncles": []
  }
}

get block 34524 at node2 as below:

# curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x86dc", true],"id":1}' localhost:8545 
{"jsonrpc":"2.0","id":1,"result":null}
googgoog commented 2 years ago

Both node0 and node1 had the same block at 34523 as below:

# curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x86db", true],"id":1}' localhost:8545 -s | jq
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "baseFeePerGas": "0x0",
    "difficulty": "0x1",
    "extraData": "0xd883010000846765746888676f312e31382e34856c696e757800000000000000e800b7cc1a0efcf18d3ac47a73f89e4c16993f11156a99e5df283c69d308a3d70c878c87b8f3a8572c411b8f2af31f2486ef2967f681f3ee5724726bb59dbb8b00",
    "gasLimit": "0x2faf080",
    "gasUsed": "0x0",
    "hash": "0x1ffe6a9110016adea26eaccc794e4fca9361c348a11306d8a3211b5e39a6594c",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "miner": "0x0d80b670b2d44017468ccc75787ea017678c6f72",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0x86db",
    "parentHash": "0xcc3930f5b2ea236d7513fd7fee0e88061eadd9f16f2b3a0a03702bb2871d4239",
    "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x262",
    "stateRoot": "0x149d6b521601ce5243fb5c77b0cb8dff833971283d80e08ffd12740a8ee8cf2d",
    "timestamp": "0x6305c10f",
    "totalDifficulty": "0x10d77",
    "transactions": [],
    "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "uncles": []
  }
}

However, node2 and node3 had another block at 34523:

# curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x86db", true],"id":1}' localhost:8545 -s | jq 
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "baseFeePerGas": "0x0",
    "difficulty": "0x2",
    "extraData": "0xd883010000846765746888676f312e31382e34856c696e7578000000000000007e1701cc02888a7e501530dc399f2118184e9bde826d34ac159f76b13ab9ee7a299a2a8ef4d2b072252ca7fc68023138fafd802361eab7c3eb0b8b5099bc296a01",
    "gasLimit": "0x2faf080",
    "gasUsed": "0x0",
    "hash": "0x04a907ebb763452f484cb2d831d01ec4e80b219ec11da1b68231027a048c5c1c",
    "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
    "miner": "0xc20001631404c81d19e0b5b5aa4d30d45ed793d0",
    "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
    "nonce": "0x0000000000000000",
    "number": "0x86db",
    "parentHash": "0xcc3930f5b2ea236d7513fd7fee0e88061eadd9f16f2b3a0a03702bb2871d4239",
    "receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x262",
    "stateRoot": "0xfd1f9ab400c2633e485ee5170c5bd3241c112ebc146cc3529793ca8243f12bbb",
    "timestamp": "0x6305c0f3",
    "totalDifficulty": "0x10d78",
    "transactions": [],
    "transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
    "uncles": []
  }
}

It was obviously that the chain had been forked.