Skip to content

Instantly share code, notes, and snippets.

View marknguyen85's full-sized avatar
💭
I may be slow to respond.

Mark Nguyen marknguyen85

💭
I may be slow to respond.
View GitHub Profile
@marknguyen85
marknguyen85 / the 1st node
Last active November 27, 2019 08:25
log runs 3 nodes at the second time
This file has been truncated, but you can view the full file.
INFO [11-27|11:14:48.996] Maximum peer count ETH=50 LES=0 total=50
WARN [11-27|11:14:49.022] Found deprecated node list file /Users/marknguyen/evrynetclient/tests/test_nodes/node1/data/static-nodes.json, please use the TOML config file instead.
INFO [11-27|11:14:49.023] Starting peer-to-peer node instance=Geth/v1.9.0-unstable/darwin-amd64/go1.13.1
INFO [11-27|11:14:49.023] Allocated trie memory caches clean=256.00MiB dirty=256.00MiB
INFO [11-27|11:14:49.023] Allocated cache and file handles database=/Users/marknguyen/evrynetclient/tests/test_nodes/node1/data/geth/chaindata cache=512.00MiB handles=5120
INFO [11-27|11:14:49.155] Opened ancient database database=/Users/marknguyen/evrynetclient/tests/test_nodes/node1/data/geth/chaindata/ancient
INFO [11-27|11:14:49.156] Initialised chain configuration config="{ChainID: 15 GasPrice:<nil> Homestead: 1 DAO: <nil> DAOSupport: false EIP150: 2 EIP155: 3 EIP158: 3 Byzantium: 4 Constantino
@marknguyen85
marknguyen85 / the 1st node
Last active November 27, 2019 08:21
log runs 3 nodes at the 3th time
This file has been truncated, but you can view the full file.
INFO [11-27|14:44:17.808] Maximum peer count ETH=50 LES=0 total=50
WARN [11-27|14:44:17.825] Found deprecated node list file /Users/marknguyen/evrynetclient/tests/test_nodes/node1/data/static-nodes.json, please use the TOML config file instead.
INFO [11-27|14:44:17.825] Starting peer-to-peer node instance=Geth/v1.9.0-unstable/darwin-amd64/go1.13.1
INFO [11-27|14:44:17.825] Allocated trie memory caches clean=256.00MiB dirty=256.00MiB
INFO [11-27|14:44:17.826] Allocated cache and file handles database=/Users/marknguyen/evrynetclient/tests/test_nodes/node1/data/geth/chaindata cache=512.00MiB handles=5120
INFO [11-27|14:44:17.949] Opened ancient database database=/Users/marknguyen/evrynetclient/tests/test_nodes/node1/data/geth/chaindata/ancient
INFO [11-27|14:44:17.950] Initialised chain configuration config="{ChainID: 15 GasPrice:<nil> Homestead: 1 DAO: <nil> DAOSupport: false EIP150: 2 EIP155: 3 EIP158: 3 Byzantium: 4 Constantino
@marknguyen85
marknguyen85 / node1
Last active December 5, 2019 03:41
can not jump text step
2019-12-05T10:16:03.508+0700 INFO core/handler.go:280 added prevote vote into roundState {"block": "22", "round": 0, "step": "RoundStepPrevote", "vote_block": "22", "from": "0x560089aB68dc224b250f9588b3DB540D87A66b7a", "vote_round": 0, "block_hash": "0x0000000000000000000000000000000000000000000000000000000000000000"}
2019-12-05T10:16:03.508+0700 INFO core/handler.go:280 added prevote vote into roundState {"block": "22", "round": 0, "step": "RoundStepPrevote", "vote_block": "22", "from": "0x45F8B547A7f16730c0C8961A21b56c31d84DdB49", "vote_round": 0, "block_hash": "0x0000000000000000000000000000000000000000000000000000000000000000"}
2019-12-05T10:16:03.520+0700 INFO core/handler.go:280 added prevote vote into roundState {"block": "22", "round": 0, "step": "RoundStepPrevote", "vote_block": "22", "from": "0x954e4BF2C68F13D97C45db0e02645D145dB6911f", "vote_round": 0, "block_hash": "0x0000000000000000000000000000000000000000000000000000000000000000"}
2019-12-05T10:16:03.520+0700 INFO core/handler.go:287 got 2/3 ma
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// Copyright 2017 The go-ethereum Authors
// This file is part of the go-ethereum library.
//
// The go-ethereum library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The go-ethereum library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
Marks-MacBook-Pro:evrynet-node marknguyen$ ./puppeth
+-----------------------------------------------------------+
| Welcome to puppeth, your Evrynet private network manager |
| |
| This tool lets you create a new Evrynet network down to |
| the genesis block, bootnodes, miners and ethstats servers |
| without the hassle that it would normally entail. |
| |
| Puppeth uses SSH to dial in to remote servers, and builds |
| its network components out of Docker containers using the |
>>> /usr/local/go/bin/go test -ldflags -X main.gitCommit=0568ccdbb5c47595e06c72131b0a1dec80d185d6 -X main.gitDate=20200415 -s -p 1 -timeout 5m --short ./accounts/... ./cmd/... ./core/... ./common/... ./consensus/... ./crypto/... ./dashboard/... ./ethstats/... ./event/... ./evr/... ./evrclient/... ./evrdb/... ./graphql/... ./internal/... ./les/... ./light/... ./log/... ./metrics/... ./miner/... ./mobile/... ./node/... ./p2p/... ./params/... ./rlp/... ./rpc/... ./signer/... ./trie/... ./whisper/...
ok github.com/Evrynetlabs/evrynet-node/accounts 0.327s
ok github.com/Evrynetlabs/evrynet-node/accounts/abi 0.361s
ok github.com/Evrynetlabs/evrynet-node/accounts/abi/bind 5.511s
ok github.com/Evrynetlabs/evrynet-node/accounts/abi/bind/backends 0.411s
? github.com/Evrynetlabs/evrynet-node/accounts/external [no test files]
ok github.com/Evrynetlabs/evrynet-node/accounts/keystore 15.954s
? github.com/Evrynetlabs/evrynet-node/accounts/scwallet [no test files]
?
@marknguyen85
marknguyen85 / node_connect_testnet
Last active April 15, 2020 11:07
Run command "./gev --publictestnet --mine --verbosity 5" on the "5706-fix-bad-block" branch.
$ ./gev --publictestnet --mine --verbosity 5
DEBUG[04-15|15:40:47.480] Sanitizing Go's GC trigger percent=100
INFO [04-15|15:40:47.481] Maximum peer count ETH=50 LES=0 total=50
DEBUG[04-15|15:40:47.482] FS scan times list=136.098µs set=893ns diff=4.041µs
TRACE[04-15|15:40:47.483] Started watching keystore folder path=/Users/marknguyen/Library/Evrynet/publictestnet/keystore
INFO [04-15|15:40:47.509] Starting peer-to-peer node instance=Geth/v1.9.0-unstable/darwin-amd64/go1.13.1
INFO [04-15|15:40:47.510] Allocated trie memory caches clean=256.00MiB dirty=256.00MiB
INFO [04-15|15:40:47.511] Allocated cache and file handles database=/Users/marknguyen/Library/Evrynet/publictestnet/geth/chaindata cache=512.00MiB handles=5120
DEBUG[04-15|15:40:47.577] Chain freezer table opened database=/Users/marknguyen/Library/Evrynet/publictestnet/geth/chaindata/ancient table=headers items=0 size=0.00B
./puppeth
+-----------------------------------------------------------+
| Welcome to puppeth, your Evrynet private network manager |
| |
| This tool lets you create a new Evrynet network down to |
| the genesis block, bootnodes, miners and ethstats servers |
| without the hassle that it would normally entail. |
| |
| Puppeth uses SSH to dial in to remote servers, and builds |
| its network components out of Docker containers using the |
@marknguyen85
marknguyen85 / test_stop_at_70.log
Created April 27, 2020 03:30
stop and start at block 70
INFO [04-27|06:19:09.093] ************** set priority origin=-1
INFO [04-27|06:19:10.098] ************** set priority origin=-2
INFO [04-27|06:19:11.108] ************** set priority origin=-3
INFO [04-27|06:19:12.117] ************** set priority origin=-4
INFO [04-27|06:19:13.123] ************** set priority origin=-5
INFO [04-27|06:19:14.129] ************** set priority origin=-6
INFO [04-27|06:19:15.134] ************** set priority origin=-7
INFO [04-27|06:19:16.138] ************** set priority origin=-8
INFO [04-27|06:19:17.146] ************** set priority origin=-9
INFO [04-27|06:19:18.149] ************** set priority origin=-10