DRILL
Published in

DRILL

And what if a validator node does not like our consensus?

“There may be a rogue node between us”

$ ./bin/start_network.sh clean <num_validators> <num_gws> 
--faulty_node <faulty_mode>
$ ./bin/start_network.sh clean 3 3 --faulty_node 2
$ ./bin/start_faulty_node.sh <node-name> <faulty-mode>$ ./bin/start_faulty_node.sh validator2 4
INFO [06-28|09:53:57] 🔨 mined potential block                  number=47 hash=906ee8…d11959INFO [06-28|09:53:57] Commit new mining work                   number=48 txs=0 uncles=0 elapsed=229.742µsINFO [06-28|09:53:58] Committed                                address=0xB50001FfA410F4D03663D69540c1C8e1C017e7e6 hash=2a6c45…50e74f number=48INFO [06-28|09:53:58] Imported new chain segment               blocks=1 txs=0 mgas=0.000 elapsed=1.057ms   mgasps=0.000 number=48 hash=2a6c45…50e74f cache=0.00BINFO [06-28|09:53:58] Commit new mining work                   number=49 txs=0 uncles=0 elapsed=199.896µs
INFO [06-28|10:41:20] Not broadcast message                    address=0xB50001FfA410F4D03663D69540c1C8e1C017e7e6 state="Accept request" message="{Code: 3, Address: 0x0000000000000000000000000000000000000000}"
ERROR[06-28|10:16:14] Failed to decode message from payload    address=0xB50001FfA410F4D03663D69540c1C8e1C017e7e6 err="unauthorized address"WARN [06-28|10:16:27] Invalid stats history request            msg=false
WARN [06-28|10:10:13] Invalid stats history request            msg=falseINFO [06-28|10:10:19] Modify the signature                     address=0xb87dC349944CC47474775DDe627A8a171fC94532ERROR[06-28|10:10:19] Failed to get signer address             err="recovery failed"ERROR[06-28|10:10:19] Failed to decode message from payload
INFO [06-28|10:03:57] Always propose a proposal                address=0xb87dC349944CC47474775DDe627A8a171fC94532 state="Accept request" request="&{Proposal:Block(#70): Size: 677.00 B {\nMinerHash: 17c3372f657c6dc973f9cd18a4bfda16d73216aa1fda13f24f59bb174afde897\nHeader(b9f1c217ae418bdcaf9b24a210fddc970b5a5f0905b0873663629be5fcc01263):\n[\n\tParentHash:\t    cd814e4d9f132f0dcc09ba6e28fbc968e6e4728872fe295bad596dbd140335dc\n\tUncleHash:\t    1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347\n\tCoinbase:\t    0000000000000000000000000000000000000000\n\tRoot:\t\t    3ec94002202a20e803850ddeff006fa88bf399f9f02563d80195c5818010f37b\n\tTxSha\t\t    56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421\n\tReceiptSha:\t    56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421\n\tBloom:\t\t    00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\n\tDifficulty:\t    1\n\tNumber:\t\t    70\n\tGasLimINFO [06-28|10:03:5n\tGasUsed:\t    0\n\tTime:\t\t    1530180237\n\tExtra:\t\t    ׃
INFO [06-28|10:04:25] 🔗 block reached canonical chain          number=86 hash=eb2eed…8f989eINFO [06-28|10:04:26] Committed                                address=0xB50001FfA410F4D03663D69540c1C8e1C017e7e6 hash=11e7dd…e60857 number=92INFO [06-28|10:04:26] Successfully sealed new block            number=92 hash=11e7dd…e60857INFO [06-28|10:04:26] 🔨 mined potential block                  number=92 hash=11e7dd…e60857INFO [06-28|10:04:26] Commit new mining work                   number=93 txs=0 uncles=0 elapsed=228.383µsINFO [06-28|10:04:27] Committed                                address=0xB50001FfA410F4D03663D69540c1C8e1C017e7e6 hash=51bb55…fd1ee4 number=93INFO [06-28|10:04:27] Imported new chain segment               blocks=1 txs=0 mgas=0.000 elapsed=1.070ms   mgasps=0.000 number=93 hash=51bb55…fd1ee4 cache=0.00BINFO [06-28|10:04:27] Commit new mining work                   number=94 txs=0 uncles=0 elapsed=224.741µsINFO [06-28|10:04:29] Imported new chain segment               blocks=1 txs=0 mgas=0.000 elapsed=1.070ms   mgasps=0.000 number=94 hash=a9edde…9a0ecc cache=0.00BINFO [06-28|10:04:29] Commit new mining work                   number=95 txs=0 uncles=0 elapsed=225.095µs
INFO [06-28|12:01:40] 🔗 block reached canonical chain          number=132 hash=9ced45…82be47INFO [06-28|12:01:41] Committed                                address=0xB50001FfA410F4D03663D69540c1C8e1C017e7e6 hash=409ad2…d29665 number=138INFO [06-28|12:01:41] Successfully sealed new block            number=138 hash=409ad2…d29665INFO [06-28|12:01:41] 🔨 mined potential block                  number=138 hash=409ad2…d29665INFO [06-28|12:01:41] Commit new mining work                   number=139 txs=0 uncles=0 elapsed=276.691µsINFO [06-28|12:01:42] Committed                                address=0xB50001FfA410F4D03663D69540c1C8e1C017e7e6 hash=a9775c…ba30b0 number=139INFO [06-28|12:01:42] Imported new chain segment               blocks=1 txs=0 mgas=0.000 elapsed=2.186ms   mgasps=0.000 number=139 hash=a9775c…ba30b0 cache=0.00BINFO [06-28|12:01:42] Commit new mining work                   number=140 txs=0 uncles=0 elapsed=245.532µs

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store