This file contains 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
04:08:41 batman ~/gopath/src/github.com/ethereum/go-ethereum/cmd/geth> sensors | |
acpitz-virtual-0 | |
Adapter: Virtual device | |
temp1: +27.8°C (crit = +95.0°C) | |
temp2: +29.8°C (crit = +95.0°C) | |
coretemp-isa-0000 | |
Adapter: ISA adapter | |
Physical id 0: +38.0°C (high = +90.0°C, crit = +94.0°C) | |
Core 0: +27.0°C (high = +90.0°C, crit = +94.0°C) |
This file contains 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
Running 1 test case... | |
[94m ℹ [35m04:56:18[0m[30m|[34mtesteth[0m Testing user defined test: /home/gs/eth/tests/StateTests/RandomTests/st201507231150PYTHON.json[0m | |
randomStatetest2 | |
EVM [35m04:56:18[0m[30m|[34mtesteth[0m | |
STACK | |
MEMORY | |
STORAGE | |
[0m | |
EVM [35m04:56:18[0m[30m|[34mtesteth[0m < [94m0[0m : [91m@095e7bae…[0m : #[94m0[0m : [94m0[0m : PUSH32[0m : [34m1003940057[0m : -[34m3[0m : [34m0[0mx32 > | |
EVM [35m04:56:18[0m[30m|[34mtesteth[0m |
This file contains 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
=== RUN TestStateTestsRandom | |
FUNKY: 2015-07-27 04:56:34.182854591 +0200 CEST randomStatetest2 | |
I0727 04:56:34.183002 48981 statedb.go:246] (+) 4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82 | |
I0727 04:56:34.183025 48981 state_object.go:230] 4401fcaf7d64d53fb1cfc5c9045c32aa919a8c82: gas (+ 1478962728) | |
I0727 04:56:34.187792 48981 state_object.go:206] a94f5374fce5edbc8e2a8697c15331677e6ebf0b: #0 5237518281936388156 (- 485615357772210072) | |
I0727 04:56:34.187867 48981 state_object.go:206] a94f5374fce5edbc8e2a8697c15331677e6ebf0b: #1 5237518281321687269 (- 614700887) | |
I0727 04:56:34.187878 48981 state_object.go:198] 095e7baea6a6c7c4c2dfeb977efac326af552d87: #254 711702023 (+ 614700887) | |
I0727 04:56:34.187977 48981 statedb.go:246] (+) 00000000002147c39fd6b5c19b7b89fc003e6b16 | |
I0727 04:56:34.187995 48981 state_object.go:198] 00000000002147c39fd6b5c19b7b89fc003e6b16: #0 711702023 (+ 711702023) | |
I0727 04:56:34.188003 48981 state_object.go:133] 095e7baea6a6c7c4c2dfeb977efac326af552d87: #254 711702023 X |
This file contains 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
0804 16:16:51.827039 51616 table.go:376] Bonding de471bccee3d0422: known=false, fails=0 | |
I0804 16:16:51.827267 51616 udp.go:413] >>> 52.16.188.185:30303 discover.ping | |
I0804 16:16:51.827309 51616 udp.go:413] >>> 5.1.83.226:30303 discover.ping | |
I0804 16:16:51.827623 51616 udp.go:413] >>> 54.94.239.50:30303 discover.ping | |
I0804 16:16:52.328496 51616 server.go:465] <-taskdone: discovery lookup | |
I0804 16:16:52.328558 51616 server.go:431] new task: discovery lookup | |
I0804 16:16:55.825652 51616 database.go:185] failed to retrieve node a979fb575495b8d6db44f750317d0f4622bf4c2aa3365d6af7c284339968eef29b69ad0dce72a4d8db5ebb4968de0e3bec910127f134779fbcb0cb6d3331163c: leveldb: not found | |
I0804 16:16:55.825780 51616 database.go:185] failed to retrieve node de471bccee3d042261d52e9bff31458daecc406142b401d4cd848f677479f73104b9fdeb090af9583d3391b7f10cb2ba9e26865dd5fca4fcdc0fb1e3b723c786: leveldb: not found | |
I0804 16:16:55.825879 51616 table.go:376] Bonding de471bccee3d0422: known=false, fails=0 | |
I0804 16:16:55.826151 |
This file contains 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 /home/gs/eth/frontier/fnet2/ | |
I0824 04:30:40.448408 12682 flags.go:405] WARNING: No etherbase set and no accounts found as default | |
I0824 04:30:40.448877 12682 backend.go:733] Database upgrade required. Upgrading... | |
I0824 04:30:40.448903 12682 database.go:73] Alloted 16MB cache to /home/gs/eth/frontier/fnet2/chaindata | |
I0824 04:30:40.454403 12682 database.go:73] Alloted 16MB cache to /home/gs/eth/frontier/fnet2/blockchain | |
I0824 04:30:40.486227 12682 backend.go:749] Merging blockchain database... | |
I0824 04:30:42.450314 12682 database.go:73] Alloted 16MB cache to /home/gs/eth/frontier/fnet2/state | |
I0824 04:30:42.530478 12682 backend.go:765] Merging state database... | |
I0824 04:30:52.449176 12682 database.go:73] Alloted 16MB cache to /home/gs/eth/frontier/fnet2/extra | |
I0824 04:30:52.515518 12682 backend.go:781] Merging transaction database... |
This file contains 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
"SuicideCoinbase" : | |
contract killer { function x() {suicide(msg.sender); }}" | |
Filler tests needs first one tx where non-contract account calls Killer.x and then another tx (can be anything) | |
"OOGStateCopyContainingDeletedContract": | |
contract Victim { | |
function Die () { | |
suicide(msg.sender); |
This file contains 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
-module(records). | |
-compile(export_all). | |
-record(foo, {bar = "baz"}). | |
-define(make_record_to_list(Record), | |
fun(Val = #Record{}) -> | |
Fields = record_info(fields, Record), | |
[_Tag| Values] = tuple_to_list(Val), |
This file contains 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
all_msg(Acc) -> | |
receive | |
X -> | |
all_msg([X|Acc]) | |
after | |
1 -> | |
Acc | |
end. |
This file contains 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
-define(proplist_to_record(Record), | |
fun(PropList) -> | |
[_Tag | Defaults] = tuple_to_list(#Record{}), | |
Fields = record_info(fields, Record), | |
list_to_tuple([Record | [proplists:get_value(F, PropList, D) | |
|| {F, D} <- lists:zip(Fields, Defaults)]]) | |
end). |
This file contains 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
subs(String, Ints) -> | |
{Intervals, _} = lists:mapfoldl(fun(E, A) -> L = A + E, {{A, L - 1}, L} end, 1, Ints), | |
[string:sub_string(String, Start, Stop) || {Start, Stop} <- Intervals]. |