Skip to content

Instantly share code, notes, and snippets.

View rawsushi's full-sized avatar

Parker rawsushi

  • Guangzhou, China
View GitHub Profile
@rawsushi
rawsushi / gist:1a833019460caf9332ba2442b141762c
Created April 1, 2016 21:47
not much action showing - verbosity = 6
C:\ETHEREUM\geth_app>geth --verbosity=6 --rpc
I0402 05:38:12.115055 5968 database.go:71] Alloted 16MB cache to C:\Users\Parker\AppData\Roaming\Ethereum\chaindata
I0402 05:38:12.133065 5968 database.go:71] Alloted 16MB cache to C:\Users\Parker\AppData\Roaming\Ethereum\dapp
I0402 05:38:12.147077 5968 backend.go:314] Protocol Versions: [63 62 61], Network Id: 1
I0402 05:38:12.149076 5968 backend.go:362] Blockchain DB Version: 3
I0402 05:38:12.151077 5968 blockchain.go:214] Last header: #0 [d4e56740…] TD=17179869184
I0402 05:38:12.155080 5968 blockchain.go:215] Last block: #0 [d4e56740…] TD=17179869184
I0402 05:38:12.157081 5968 blockchain.go:216] Fast block: #0 [d4e56740…] TD=17179869184
I0402 05:38:12.168090 5968 cmd.go:115] Starting Geth/v1.3.6/windows/go1.5.1
I0402 05:38:12.170090 5968 server.go:311] Starting Server
@rawsushi
rawsushi / gist:2782eb9bf2e93b01aa8abcf53bcc4486
Created April 1, 2016 22:09
VPN on OR off // geth --verbosity=6 --nat=none --rpc
I0402 06:04:27.147280 1916 table.go:336] no seed nodes found
I0402 06:04:30.581598 1916 server.go:465] <-taskdone: discovery lookup
I0402 06:04:30.583601 1916 server.go:431] new task: discovery lookup
I0402 06:04:30.591608 1916 database.go:183] failed to retrieve node 979b7fa28feeb35a4741660a16076f1943202cb72b6af70d327f053e248bab9ba81760f39d0701ef1d8f89cc1fbd2cacba0710a12cd5314d5e0c9021aa3637f9: leveldb: not found
I0402 06:04:30.596610 1916 table.go:417] Bonding 979b7fa28feeb35a: known=false, fails=0 age=405445h4m30.5966103s
I0402 06:04:30.599612 1916 udp.go:429] >>> 5.1.83.226:30303 discover.ping
I0402 06:04:30.591608 1916 database.go:183] failed to retrieve node 1118980bf48b0a3640bdba04e0fe78b1add18e1cd99bf22d53daac1fd9972ad650df52176e7c7d89d1114cfef2bc23a2959aa54998a46afcf7d91809f0855082: leveldb: not found
I0402 06:04:30.610619 1916 table.go:417] Bonding 1118980bf48b0a36: known=false, fails=0 age=405445h4m30.6106196s
I0402 06:04:30.613621 1916 udp.go:429] >>> 52.74.57.123:30303
@rawsushi
rawsushi / gist:c8411ef43eb4f2bffdf327b2768765e3
Created April 1, 2016 22:21
virgin install WinOS 10 ENG, VPN = on, REGION Time & Date MANUALLY SET, geth --verbosity=6 --nat=none --rpc
I0402 06:19:20.154594 6668 tx_pool.go:311] tx error: Account does not exist or account balance too low
I0402 06:19:20.143587 6668 udp.go:429] >>> 185.26.126.108:30303 discover.ping
I0402 06:19:20.137583 6668 udp.go:497] <<< 128.199.64.55:30303 *discover.pong: unsolicited reply
I0402 06:19:20.155595 6668 database_util.go:346] stored block receipts [49d0e641…]
I0402 06:19:20.162600 6668 database_util.go:311] stored block total difficulty [49d0e641…]: 168646869221427
I0402 06:19:20.164601 6668 database_util.go:296] stored block body [49d0e641…]
I0402 06:19:20.166602 6668 database_util.go:281] stored header #3618 [49d0e641…]
I0402 06:19:20.167603 6668 blockchain.go:1220] [1459549160167603300] inserted block #3618 (0 TXs 0 G 1 UNCs) (49d0e641...). Took 36.526ms
I0402 06:19:20.157596 6668 tx_pool.go:311] tx error: Exceeds block gas limit
I0402 06:19:20.173607 6668 tx_pool.go:311] tx error: Exceeds block gas limit
@rawsushi
rawsushi / gist:562eaba9ac3838769c8557a72f669b8b
Created April 1, 2016 22:24
virgin install WinOS 10 ENG, VPN = on, REGION Time & Date MANUALLY SET, geth ---nat=none --rpc
C:\ETHEREUM\geth_app>geth --nat=none --rpc
I0402 06:22:37.691529 5936 database.go:71] Alloted 16MB cache to C:\Users\Parker\AppData\Roaming\Ethereum\chaindata
I0402 06:22:37.943630 5936 database.go:71] Alloted 16MB cache to C:\Users\Parker\AppData\Roaming\Ethereum\dapp
I0402 06:22:37.962647 5936 backend.go:314] Protocol Versions: [63 62 61], Network Id: 1
I0402 06:22:37.977832 5936 backend.go:362] Blockchain DB Version: 3
I0402 06:22:37.981334 5936 blockchain.go:214] Last header: #9011 [fc1d0a94…] TD=1744258910567925
I0402 06:22:37.984838 5936 blockchain.go:215] Last block: #9011 [fc1d0a94…] TD=1744258910567925
I0402 06:22:37.987840 5936 blockchain.go:216] Fast block: #9011 [fc1d0a94…] TD=1744258910567925
I0402 06:22:38.001350 5936 cmd.go:115] Starting Geth/v1.3.6/windows/go1.5.1
I0402 06:22:38.004352 5936 server.go:311] Starting Server
@rawsushi
rawsushi / gist:cd7e616b9ce7235202cd2dfcc954739a
Last active April 2, 2016 07:18
sleep . restart finds correct HEADER 454461 .... but ?
there are 3 sections to this gist.
LIne 8 - 33
line 36 - 49
line 54 --->
I0402 07:37:40.407834 4748 blockchain.go:889] imported 192 header(s) (0 ignored) in 105.5711ms. #456317 [522122fd… / fa8c226b…]
I0402 07:37:41.016788 4748 blockchain.go:1044] imported 192 receipt(s) (0 ignored) in 74.5556ms. #456317 [522122fd… / fa8c226b…]
I0402 12:45:27.520150 4748 blockchain.go:889] imported 192 header(s) (0 ignored) in 117.5837ms. #456509 [d91beaa6… / 8c5df105…]
@rawsushi
rawsushi / gist:67798761dc28a6aea33c60630ae0f780
Created April 2, 2016 10:18
seems to have stopped working - VPN crashed and rebooted ...
I0402 17:44:58.228345 6808 blockchain.go:1044] imported 3 receipt(s) (0 ignored) in 0. #43713 [0c490fc9… / 6215f494…]
I0402 17:44:59.236142 6808 blockchain.go:1044] imported 43 receipt(s) (0 ignored) in 7.0045ms. #43756 [d5a8d90c… / 7eccab04…]
I0402 17:45:00.494179 6808 blockchain.go:1044] imported 20 receipt(s) (0 ignored) in 3.0022ms. #43776 [d4960451… / 9b143357…]
I0402 17:45:01.728369 6808 blockchain.go:1044] imported 6 receipt(s) (0 ignored) in 1.0005ms. #43782 [dcffac7f… / 0dd2c0e3…]
I0402 17:45:03.086755 6808 blockchain.go:1044] imported 13 receipt(s) (0 ignored) in 1.0022ms. #43795 [5f5c623e… / f192c600…]
I0402 17:45:04.070875 6808 blockchain.go:1044] imported 3 receipt(s) (0 ignored) in 1.0026ms. #43798 [c7fa122a… / 04c0a7ee…]
I0402 17:45:04.585278 6808 blockchain.go:1044] imported 3 receipt(s) (0 ignored) in 1.0012ms. #43801 [0d174d15… / d3187a33…]
I0402 18:11:06.658768 6808 types.go:106] Generated response: *shared.SuccessResponse &{%!s(float64=7) 2.0 %!s(bool=true)}
I0402 1
@rawsushi
rawsushi / gist:12dbedfd58cf5deaa60fe798766947c5
Created April 2, 2016 10:41
are these connection issues? verbosity 3 to 4 to 5 ... thru good VPN connection geth --nat=none --verbosity=x --fast
I0402 18:32:58.796957 7760 database_util.go:311] stored block total difficulty [9b96cc9b…]: 40013327087592470
I0402 18:32:58.798958 7760 database_util.go:281] stored header #44290 [9b96cc9b…]
I0402 18:32:58.802961 7760 database_util.go:311] stored block total difficulty [48c96744…]: 40014721619605230
I0402 18:32:58.805962 7760 database_util.go:281] stored header #44291 [48c96744…]
I0402 18:32:58.807964 7760 database_util.go:311] stored block total difficulty [a5c72a7e…]: 40016115470694156
I0402 18:32:58.810966 7760 database_util.go:281] stored header #44292 [a5c72a7e…]
I0402 18:32:58.812967 7760 database_util.go:311] stored block total difficulty [5def8265…]: 40017510002374434
I0402 18:32:58.815969 7760 database_util.go:281] stored header #44293 [5def8265…]
I0402 18:32:58.818971 7760 database_util.go:311] stored block total difficulty [b840f0f4…]: 40018903853131040
I0402 18:32:58.824396 7760 database_util.go:281] stored header #44294 [b840f0f4…]
@rawsushi
rawsushi / gist:7588a40eb5efe5d96ff1891b710fbecc
Created April 3, 2016 05:48
VPN stable - but getting this connection issue (VERBOSITY =6)
I0403 13:37:20.171703 8032 server.go:465] <-taskdone: discovery lookup (1 results)
I0403 13:37:20.174229 8032 server.go:431] new task: discovery lookup
I0403 13:37:24.172000 8032 server.go:465] <-taskdone: discovery lookup (1 results)
I0403 13:37:24.176019 8032 server.go:431] new task: discovery lookup
I0403 13:37:28.172081 8032 server.go:465] <-taskdone: discovery lookup (1 results)
I0403 13:37:28.175245 8032 server.go:431] new task: discovery lookup
I0403 13:37:32.172581 8032 server.go:465] <-taskdone: discovery lookup (1 results)
I0403 13:37:32.175077 8032 server.go:431] new task: discovery lookup
I0403 13:37:36.173557 8032 server.go:465] <-taskdone: discovery lookup (1 results)
I0403 13:37:36.176066 8032 server.go:431] new task: discovery lookup
@rawsushi
rawsushi / gist:f8e03dd350536ff26701201b9c39f1b4
Created April 3, 2016 06:31
what causes this connection problem?
I0403 14:25:48.104640 10076 server.go:465] <-taskdone: dyn dial d270798d021548c3 127.0.0.1:30303
I0403 14:25:52.025989 10076 server.go:465] <-taskdone: discovery lookup (1 results)
I0403 14:25:52.028022 10076 server.go:431] new task: discovery lookup
I0403 14:25:56.026343 10076 server.go:465] <-taskdone: discovery lookup (1 results)
I0403 14:25:56.028361 10076 server.go:431] new task: discovery lookup
I0403 14:26:00.026722 10076 server.go:465] <-taskdone: discovery lookup (1 results)
I0403 14:26:00.028262 10076 server.go:431] new task: discovery lookup
I0403 14:26:04.027228 10076 server.go:465] <-taskdone: discovery lookup (1 results)
I0403 14:26:04.028735 10076 server.go:431] new task: discovery lookup
I0403 14:26:08.028214 10076 server.go:465] <-taskdone: discovery lookup (1 results)
@rawsushi
rawsushi / gist:8dd727f96926735e9f074a31ac9f2264
Created April 3, 2016 09:51
Static Node problem (with VPN and WITHOUT vpn I get the same result)
Initially I was not connecting to a network ...
SO I was told to enter my own STATIC NODES (https://github.com/ethereum/go-ethereum/wiki/Connecting-to-the-network)
I made the following list by going to https://www.ethernodes.org/network/1/nodes
admin.addPeer("enode://e32429c0a11fadfdc436fd7b17edda655d43ccd90119e79a3e46681a70afdb25e3a300b9751afb4365045ab2e29104021c578e13d8c506816df31e0da10bcea7@115.198.92.119:30303")
admin.addPeer("enode://73aeeada0bfc24c3b43ffeec033c65e5900088a2fd6bdfc2efe9f3f1c1831a5b331a61eeabd3a6be7fec65f2b2579e1a855ea9735c450cd7968d327bcc629c80@222.128.135.71:44829")
admin.addPeer("enode://5112a14a26b3f777ea168a8a6aa627ccbbd2bbf8b770754e5d38aab3c77346befe1fa0b3d77ce1ddc95b20de73d6b5bd5dd436afc8d33bf695bc17105a645cf2@60.206.230.85:55126")
admin.addPeer("enode://f04553472065428c8ddd1d6bc38f1f10489e329ad4cd2dfaf219b02f260a862b7c912fa5f93191885234d947407c20435b4c3e1cddb33527ea6b8ffe1bd54ba8@182.44.68.101:30303")
admin.addPeer("enode://035350c4fc298933a7efae147f555cee2b7d1fed43c4b5ab0c6b94