This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:( ./ethereum -datadir /tmp/bp.test/0/ -loglevel 5 -logfile=/tmp/bp.test/0/0.log | |
BLOCK(9c0cf000f2db6381bacee2d3cc2d8d8173f882d35dcc2684ae4a878c803c553b): Size: 539.00 B TD: 0 { | |
NoNonce: 17239fea4381a58c8bbd3f21ce41084f482c2ce95aaecf73d39df7bb7b38cf03 | |
Header: | |
[ | |
ParentHash: 0000000000000000000000000000000000000000000000000000000000000000 | |
UncleHash: 1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347 | |
Coinbase: 0000000000000000000000000000000000000000 | |
Root: 9178d0f23c965d81f0834a4c72c6253ce6830f4022b1359aaebfc1ecba442d4e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:) rm -rf /tmp/dag | |
:) go test -v -cpu 4 ./cmd/ethereum/ | |
=== RUN TestNodeInfo-4 | |
--- PASS: TestNodeInfo-4 (0.81s) | |
=== RUN TestAccounts-4 | |
passphrase: '' (0)--- PASS: TestAccounts-4 (0.83s) | |
=== RUN TestBlockChain-4 | |
--- PASS: TestBlockChain-4 (1.08s) | |
== RUN TestMining-4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:) bash cluster.sh /tmp/59/01 4 1 blah | |
:) grep ChainHeadEvent /tmp/59/01/04.log |cut -d':' -f5,7|tr -d ',' |awk '{print $1, $3}'> /tmp/59/01/04.blox | |
:) grep ChainHeadEvent /tmp/59/01/03.log |cut -d':' -f5,7|tr -d ',' |awk '{print $1, $3}'> /tmp/59/01/03.blox | |
:) grep ChainHeadEvent /tmp/59/01/02.log |cut -d':' -f5,7|tr -d ',' |awk '{print $1, $3}'> /tmp/59/01/02.blox | |
:) grep ChainHeadEvent /tmp/59/01/01.log |cut -d':' -f5,7|tr -d ',' |awk '{print $1, $3}'> /tmp/59/01/01.blox | |
:) paste /tmp/59/01/*.blox | tail | |
151 5dc86dcc 151 5dc86dcc 151 5dc86dcc 151 5dc86dcc | |
152 3ad33047 152 3ad33047 152 3ad33047 152 3ad33047 | |
152 92cf6e23 152 92cf6e23 152 92cf6e23 152 92cf6e23 | |
153 b4faa0eb 153 b4faa0eb 153 b4faa0eb 153 b4faa0eb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# bash cluster <cluster_root> <number_of_clusters> <network_id> <runid> <local_IP> [[params]...] | |
# | |
# sets up a local ethereum network cluster of nodes | |
# - the nodes are set up with datadir root/00, root/01, ... | |
# - the nodes log into root/00.log root/01.log, ... | |
# - new accounts are created for each | |
# - the new account is unlocked when they launch | |
# - they launch on port 30300, 30301, ... | |
# - by collecting the nodes nodeUrl, they get connected to each other |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:) ./geth -datadir /tmp/59/09/00 -loglevel 5 --mine -port 30300 -logfile /tmp/59/09/00.log | |
Welcome to the FRONTIER | |
SIGQUIT: quit | |
PC=0x4059afb | |
goroutine 0 [idle]: | |
runtime.mach_semaphore_wait(0x2d03, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4056c9a, 0x404ac60, 0x7fff5fbff108, ...) | |
/usr/local/Cellar/go/1.4.1/libexec/src/runtime/sys_darwin_amd64.s:412 +0xb | |
semasleep() | |
/usr/local/Cellar/go/1.4.1/libexec/src/runtime/os_darwin.c:438 +0x16c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015/04/03 06:56:06 [Blockpool] activateChain: section [8b381488-d383b8c2] activated by peer <58ea4b5ca7a22cb7> | |
2015/04/03 06:56:06 [Blockpool] addPeer: Update peer <ff91fbe99d56d4d8> with td 20542588609 and current block 8aa54cb4 (was 562c2799) | |
2015/04/03 06:56:06 [Blockpool] [8b381488-d383b8c2] activate section process for peer <58ea4b5ca7a22cb7> | |
2015/04/03 06:56:06 [Blockpool] [8b381488-d383b8c2] active mode <b40d3282c01cdd90> -> <58ea4b5ca7a22cb7> | |
2015/04/03 06:56:06 [Blockpool] addPeer: peer <ff91fbe99d56d4d8> (td: 20542588609 > current td 20538776451) promoted best peer | |
2015/04/03 06:56:06 [Blockpool] activateChain: section [abb9c805-74543c30] activated by peer <58ea4b5ca7a22cb7> | |
2015/04/03 06:56:06 [Blockpool] <b40d3282c01cdd90> quit peer processes | |
2015/04/03 06:56:06 [Blockpool] [abb9c805-74543c30] activate section process for peer <58ea4b5ca7a22cb7> | |
2015/04/03 06:56:06 [Blockpool] [abb9c805-74543c30] active mode <b40d3282c01cdd90> -> <58ea4b5ca7a22cb7> | |
2015/04/03 06:56:06 [Blockpool] activateChain: s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/bin/bash | |
# bash cluster <cluster_root> <number_of_clusters> <network_id> <runid> <local_IP> [[params]...] | |
# sets up a local ethereum network cluster of nodes | |
# - <n> is the number of clusters | |
# - <root> is the root directory for the cluster, the nodes are set up | |
# with datadir `<root>/00`, `<root>/01`, ... | |
# - new accounts are created for each node | |
# - they launch on port 30300, 30301, ... | |
# - they star rpc on port 8100, 8101, ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SIGQUIT: quit | |
PC=0x40619ab | |
goroutine 0 [idle]: | |
runtime.mach_semaphore_wait(0x2d03, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x405eb4a, 0x4052b10, 0x7fff5fbff0c8, ...) | |
/usr/local/Cellar/go/1.4.1/libexec/src/runtime/sys_darwin_amd64.s:412 +0xb | |
semasleep() | |
/usr/local/Cellar/go/1.4.1/libexec/src/runtime/os_darwin.c:438 +0x16c | |
runtime.onM(0x7fff5fbff0c8) | |
/usr/local/Cellar/go/1.4.1/libexec/src/runtime/asm_amd64.s:273 +0x9a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
geth(8527,0xb0499000) malloc: *** error for object 0xc28cba2008: pointer being freed was not allocated | |
*** set a breakpoint in malloc_error_break to debug | |
SIGABRT: abort | |
PC=0x7fff94076866 | |
signal arrived during cgo execution | |
goroutine 29774 [syscall, locked to thread]: | |
runtime.cgocall_errno(0x40034b0, 0xc3100c9b30, 0x0) | |
/usr/local/Cellar/go/1.4.1/libexec/src/runtime/cgocall.go:130 +0xf5 fp=0xc3100c9b10 sp=0xc3100c9ae8 | |
github.com/ethereum/ethash._Cfunc_free(0xc28cba2008) |