Skip to content

Instantly share code, notes, and snippets.

View CJentzsch's full-sized avatar

Christoph Jentzsch CJentzsch

View GitHub Profile
@CJentzsch
CJentzsch / gist:f28933cd47a2696a57f1
Created July 8, 2015 17:54
eth foundation wallet
christoph@christoph-ThinkPad-W520:~/software/Ethereum/cpp-ethereum/build/solc$ ./solc --optimize 1 --input-file ~/software/Ethereum/dapp-bin/wallet/wallet.sol --binary stdout --hashes stdout
======= Wallet =======
Binary:
6060604052604051602080611014833960806040818152925160016000818155818055600160a060020a03331660038190558152610102909452938320939093556201518042046101075582917f102d25c49d33fcdb8976a3f2744e0785c98d9e43b88364859e6aec4ae82eff5c91a250610f958061007f6000396000f300606060405236156100b95760e060020a6000350463173825d9811461010b5780632f54bf6e146101675780634123cb6b1461018f5780635c52c2f5146101985780637065cb48146101c9578063746c9171146101fd578063797af62714610206578063b20d30a914610219578063b61d27f61461024d578063b75c7dc61461026e578063ba51a6df1461029e578063c2cf7326146102d2578063cbf0b0c014610312578063f00d4b5d14610346578063f1736d861461037f575b61038960003411156101095760408051600160a060020a033316815234602082015281517fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c929181900390910190a15b565b6103896004
ℹ 20:50:53|ethsync Sent 7388 transactions to Geth/v0.9.35/darwin/go1.4
⧎ ◌ 20:50:53|ethsync|b5350de8…|Geth/v0.9.31/linux/go1.4.2 Closing peer session :-(
⧎ ◌ 20:50:53|ethsync|1d719beb…|Geth/v0.9.35-130f3b27/linux/go1.4.2 Closing peer session :-(
⧎ ◌ 20:50:53|ethsync|ed0ef103…|Geth/haSG.node.003/v0.9.35/linux/go1.4.2 Closing peer session :-(
⧎ ◌ 20:50:53|ethsync|086a6208…|Geth/v0.9.35/darwin/go1.4 Closing peer session :-(
ℹ 20:50:53|ethsync Peer aborting while being asked for Blocks
✘ 20:50:53|ethsync Invariant failed in virtual void dev::eth::PV60Sync::onPeerAborting() at /home/christoph/software/Ethereum/cpp-ethereum/libethereum/BlockChainSync.cpp : 783
Press Enterterminate called after throwing an instance of 'boost::exception_detail::clone_impl<dev::FailedInvariant>'
what(): FailedInvariant
⧎ ✘ 22:24:04|p2p|52b5b23c…|Geth/v0.9.32/windows/go1.4.2 Peer causing an Exception: std::exception [ 0xDC434F5A80B1A57FD4B88367FD98F277998BF1C3DAAA15C78CB808625F347329, 0x800 ]
✘ 22:24:04|p2p|ed0ef103…|Geth/haSG.node.003/v0.9.33/linux/go1.4.2 block hash bad! #270fee41… . Bailing...
✘ 22:24:04|p2p|ed0ef103…|Geth/haSG.node.003/v0.9.33/linux/go1.4.2 block hash bad! #e5d18427… . Bailing...
✘ 22:24:04|p2p|594b67f3…|Geth/v0.9.33/linux/go1.4.2 block hash bad! #e5d18427… . Bailing...
✘ 22:24:04|p2p|a979fb57…|Geth/v0.9.32-72e2613a/linux/go1.4.2 block hash bad! #270fee41… . Bailing...
✘ 22:24:05|p2p|b5350de8…|Geth/v0.9.31/linux/go1.4.2 block hash bad! #e5d18427… . Bailing...
✘ 22:24:05|p2p|010546dd…|Geth/v0.9.32/darwin/go1.4.2 block hash bad! #e5d18427… . Bailing...
✘ 22:24:05|eth
✘ 10:37:08|verifier4
Import Failure InvalidBlockNonce
Guru Meditation #00603661.75339d53…
✘ 10:37:08|verifier4 Report:
{
✘ 12:25:39|verifier3
Import Failure InvalidBlockNonce
Guru Meditation #00579589.ae7e2cb4…
✘ 12:25:39|verifier3 Report:
{
I0610 20:28:27.153788 27955 vm.go:885] (pc) 376 -o- CALL (m) 2016 (s) 9 (g) 2977961 (2977963) => 142a6927cf0060133187ba8a8e74d641438f0c1c
I0610 20:28:27.154093 27955 vm.go:885] (2) (b03f0300) 142a6927cf0060133187ba8a8e74d641438f0c1c (code=911) gas: 2977921 (d) 27138bfb00000000000000000000000000000000000000000000000000000000000f69b5
I0610 20:28:27.154138 27955 vm.go:885] (pc) 0 -o- PUSH1 (m) 0 (s) 0 (g) 3 (2977921) => 0x00
I0610 20:28:27.154162 27955 vm.go:885] (pc) 2 -o- PUSH2 (m) 0 (s) 1 (g) 3 (2977918) => 0x031f
I0610 20:28:27.154194 27955 vm.go:885] (pc) 5 -o- MSTORE8 (m) 0 (s) 2 (g) 79 (2977915) => [799] 0x0
I0610 20:28:27.154220 27955 vm.go:885] (pc) 6 -o- PUSH29 (m) 800 (s) 0 (g) 3 (2977836) => 0x0100000000000000000000000000000000000000000000000000000000
I0610 20:28:27.154244 27955 vm.go:885] (pc) 36 -o- PUSH1 (m) 800 (s) 1 (g) 3 (2977833) => 0x00
I0610 20:28:27.154268 27955 vm.go:885] (pc)
⧎ ◌ 15:00:15|p2p|4c03c40e…|Geth/v0.9.26/darwin/go1.4.2 0 imported OK, 8 with unknown parents, 0 with future timestamps, 0 already known, 0 repeats received.
⧎ ✘ 15:00:15|p2p|fdd29901…|Geth/v0.9.29-dffe6d32/linux/go1.4.2 Error reading: Operation canceled
⧎ ◌ 15:00:15|ethsync|fdd29901…|Geth/v0.9.29-dffe6d32/linux/go1.4.2 Closing peer session :-(
⧎ ◌ 15:00:15|ethsync|fdd29901…|Geth/v0.9.29-dffe6d32/linux/go1.4.2 Aborting Sync :-(
⚙ ◎ 15:00:15|eth Committing to disk: stateRoot #fb988159… = #fb988159… = f90211a0d522470346eebf1e34851e746b2cb09f695884fb4dde26aa5ea2e6da4da14a36a07024f79d3bfe3908bbeb8fd6e2407448b9b09bd452d2e7b97fa359fdec37fd8da064cd433cdbd1cfd26164c0c85671ca875b90dcd8dbe87d68ec6b11a33b6523fba05c4b5f2ea4e4cd8698dd8addd90cfbf89fb1dc2e333ac6a5df289e65c93435dfa0d0c2e48379fdbac6c7d7fe78c6f5a976cc7994455a63473462158f950bf0d555a0558dc2f96d2c454c81cf0f27dd33962c10db1511e7b4d5ecc13fc71e0cd45b2fa0f50f4ed4350247d016efc8f59855875c3ac43d18660f6675e38508a571981ed1a0c60d25a20281bdbf225a36d94dcb4f1aa5fbaa
⧎ ◌ 09:54:31|p2p|36651162…|Geth/v0.9.29-dffe6d32/linux/go1.4.2 Ignoring new blocks since we're already downloading.
Press Enter
>
Program received signal SIGINT, Interrupt.
0x00007ffff60963bd in read () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) thread apply all bt
Thread 11 (Thread 0x7fffa3d9c700 (LWP 26928)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
┅▶ 13:05:50|p2p|91851b35…|Geth/v0.9.27-11f65cf8/linux/go1.4.2 Already known.
⧎ ◌ 13:05:50|p2p|de471bcc…|Geth/v0.9.27-0f1cdfa5/linux/go1.4.2 NewBlock: #03904f94…
▣┅▶ 13:05:50|p2p|de471bcc…|Geth/v0.9.27-0f1cdfa5/linux/go1.4.2 Queuing block #03904f94… for import...
▣┅▶ 13:05:50|p2p|de471bcc…|Geth/v0.9.27-0f1cdfa5/linux/go1.4.2 Already known.
Press Enter
>
Program received signal SIGINT, Interrupt.
0x00007ffff5ca63bd in read () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) thread apply all bt
▣┅▶ 11:52:16|p2p|3414c01c…|Geth/v0.9.27/darwin/go1.4.2 Already known.
Press Enter^C
Program received signal SIGINT, Interrupt.
0x00007ffff54c082d in read () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) thread apply all bt
Thread 11 (Thread 0x7fffb89dd700 (LWP 26085)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007ffff4f97af3 in ?? () from /usr/lib/x86_64-linux-gnu/libleveldb.so.1