Skip to content

Instantly share code, notes, and snippets.

View subtly's full-sized avatar
🤓
🧹 📁 🗄️ 📚

subtly

🤓
🧹 📁 🗄️ 📚
View GitHub Profile
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
__node_holder __construct_node();
template <class _A0>
typename enable_if
<
is_constructible<value_type, _A0>::value,
__node_holder
>::type
__construct_node(_A0&& __a0);
template <class _A0>
{
[[1]] (caller)
}
(if (calldatasize)
{
(when (= (caller) @@1)
[[(calldataload 0)]] 1
)
(when @@(caller)
Help: github.com/ethereum/cpp-ethereum/wiki/
Linux github checkout develop:
$ git reset --hard 364efd6495f0437ecff86f23005956c851a86056
Mac Version: http://bit.ly/1u1vEdG
Menu Debug > +Use Private Chain...
Local network: 192.168.67.124:30303 “ethdevtest”
@subtly
subtly / gist:db4f70b693ed376eacaf
Created May 18, 2015 00:47
when starting eth on macos
(lldb) bt
* thread #1: tid = 0x2236, 0x00007fff8c1a0286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00007fff8c1a0286 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff9934f42f libsystem_pthread.dylib`pthread_kill + 90
frame #2: 0x00007fff9254eb53 libsystem_c.dylib`abort + 129
frame #3: 0x00007fff8e428a21 libc++abi.dylib`abort_message + 257
frame #4: 0x00007fff8e4509b9 libc++abi.dylib`default_terminate_handler() + 243
frame #5: 0x00007fff907dd7eb libobjc.A.dylib`_objc_terminate() + 124
frame #6: 0x00007fff8e44e0a1 libc++abi.dylib`std::__terminate(void (*)()) + 8
frame #7: 0x00007fff8e44db30 libc++abi.dylib`__cxa_throw + 121
Running 46 test cases...
testeth(85407,0x7fff73152310) malloc: *** error for object 0xa000000000000000: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
(lldb) bt
* thread #1: tid = 0x229415, 0x00007fff83de6866 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00007fff83de6866 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff8a21535c libsystem_pthread.dylib`pthread_kill + 92
frame #2: 0x00007fff836acb1a libsystem_c.dylib`abort + 125
frame #3: 0x00007fff8ab6e07f libsystem_malloc.dylib`free + 411
frame #4: 0x00000001015a6123 libsolidity.dylib`std::__1::__vector_base<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>
@subtly
subtly / gist:5fc6ad1feab13fc5b6da
Created May 18, 2015 14:36
sha3 in block 7704cbf1 #374396
☍ ℹ 16:30:35|eth Imported and best 180713892780520 (# 374394 ). Has 0 siblings. Route: [#444610eb…, #79b69254…]
☍ ◌ 16:30:35|eth Attempting import of #b0583f75… ...
⚙ ◎ 16:30:35|eth Committed: stateRoot #fc6903cd… = #fc6903cd… = f90211a093cf88f0ec6da59757585c74615c0d247dc89eb4ad5a09fe616a92ed94149139a0b294d815f2d113ec0a426d0baa967761f0cd2ef5032a4e5b418586e0ca44c3e6a017351dc94560d15e9103b569ed3af603f036414d17cc677cebc1b4568f50e502a08bd10ec82da5ec68e9b4d9cf7c34bfab77bd5cfdc89507a09405d4cd36475a3ca051781df5a7b8303d9c5c3cf815ffbd37342614a839fa49ebe933a02b83d2fb59a0ac6755df44dba4989a352337d2ece0a4d810406fb9d4c1e780bbc5322964d27ca0dfab38376c55447eda3bde90837387118247e19f86d297aebc9b1ed1586af239a08c3f6118f9aa7c80405b5c8a69f7b273722d452fce124456960eedd736136ee0a084ca347255dd260146e79b38aa7b6edb1d5b1fc3324aa21eb17f327a902e5f19a0db1d63463a1c12aa729dcfb133d37225ec708f86dfed8b9342938888d1f653b4a0cc6b88bba23843635ad6659a8bf7a40dacc2abb86fcd5705774ba7b648a44e80a038ef7d1c6ce81f4a70223de3a30d1240df008d8284bbb4632a5
30c1d70519824861491c27cd5f45fc5fbf8e1f73
Please enter your MASTER password:
Ethereum (++) 0.9.26
Code by Gav Wood et al, (c) 2013, 2014, 2015.
Transaction Signer: 0000000000000000000000000000000000000000
Mining Benefactor: 30c1d70519824861491c27cd5f45fc5fbf8e1f73
Node ID: enode://7d739b26d091f6508d4079ef43ec38e334828d2816c0500871d73fd7428a0e4966b053971a7ee9b3a53545f2e8f9d01ae3a8532f32b4872ed92d5af715a9074c@127.0.0.1:30303
JSONRPC Admin Session Key: e0X+28OTPNg=
ℹ 06:59:17|p2p UPnP device not found.
⧎ ◌ 06:59:18|p2p Hello: Geth/v0.9.25-27e0d2a9/linux/go1.4.2 V[ 4 ] ##a8c45d90… (eth,60) 0
⧎ ◌ 06:59:18|p2p|a8c45d90…|Geth/v0.9.25-27e0d2a9/linux/go1.4.2 Status: 60 / 0 / #fd4af92a… / 0 , TD: 4759822785667616 = #d234b72f…
(lldb) bt
* thread #4: tid = 0x1046c8, 0x00007fff844bd286 libsystem_kernel.dylib`__pthread_kill + 10, stop reason = signal SIGABRT
frame #0: 0x00007fff844bd286 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff9197c42f libsystem_pthread.dylib`pthread_kill + 90
frame #2: 0x00007fff8f115b53 libsystem_c.dylib`abort + 129
frame #3: 0x00007fff8445ba21 libc++abi.dylib`abort_message + 257
frame #4: 0x00007fff844839b9 libc++abi.dylib`default_terminate_handler() + 243
frame #5: 0x00007fff847927eb libobjc.A.dylib`_objc_terminate() + 124
frame #6: 0x00007fff844810a1 libc++abi.dylib`std::__terminate(void (*)()) + 8
frame #7: 0x00007fff84481113 libc++abi.dylib`std::terminate() + 51
* thread #68: tid = 0xe5cd07, 0x00007fff83de6866 libsystem_kernel.dylib`__pthread_kill + 10, stop reason = signal SIGABRT
frame #0: 0x00007fff83de6866 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff8a21535c libsystem_pthread.dylib`pthread_kill + 92
frame #2: 0x00007fff836acb1a libsystem_c.dylib`abort + 125
frame #3: 0x00007fff836769bf libsystem_c.dylib`__assert_rtn + 321
* frame #4: 0x0000000101558338 libethereum.dylib`dev::eth::EthereumPeer::requestHashes(this=<unavailable>, _lastHash=<unavailable>) + 504 at EthereumPeer.cpp:143
frame #5: 0x00000001014d6aaf libethereum.dylib`dev::eth::PV60Sync::transition(this=<unavailable>, _peer=0x000000012c227280, _s=<unavailable>, _force=<unavailable>, _needHelp=<unavailable>) + 1375 at BlockChainSync.cpp:381
frame #6: 0x00000001014d844b libethereum.dylib`dev::eth::PV60Sync::attemptSync(this=<unavailable>, _peer=<unavailable>) + 1547 at BlockChainSync.cpp:555
frame #7: 0x00000001014d98c5 libethereum.dylib`std::__1::__functio