Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Being skeptical of status feature.

Noel Maersk veox

💭
Being skeptical of status feature.
View GitHub Profile
View pip-freeze.txt
alabaster==0.7.12
apipkg==1.5
argh==0.26.2
asn1crypto==0.24.0
async-generator==1.10
async-lru==0.1.0
asyncio-cancel-token==0.1.0a2
atomicwrites==1.2.1
attrdict==2.0.0
attrs==18.2.0
View 0-trinity-ropsten-log.py
INFO 04-12 13:53:38 FastChainBodySyncer blks=1215 txs=4361 bps=121 tps=408 elapsed=5.0 head=#544699 7bd1..a23a age=2y1m3w
DEBUG 04-12 13:53:39 FullServer Receiving handshake from Address(128.199.38.116:udp:47720|tcp:47720)
DEBUG 04-12 13:53:39 FastChainBodySyncer Got receipts for 137/137 headers from ETHPeer <Node(0xdd5f@85.214.136.94)>, 119 trivial, from request for <BlockHeader #546654 d611f556>..<BlockHeader #546909 09c70c97>
DEBUG 04-12 13:53:39 FastChainBodySyncer Requesting receipts for 202 headers from ETHPeer <Node(0xdd5f@85.214.136.94)>
DEBUG 04-12 13:53:40 FastChainBodySyncer Got receipts for 234/234 headers from ETHPeer <Node(0x4ea4@193.77.151.5)>, 22 trivial, from request for <BlockHeader #547422 dc0d03dc>..<BlockHeader #547677 6ef43345>
DEBUG 04-12 13:53:40 FastChainBodySyncer Requesting receipts for 256 headers from ETHPeer <Node(0x4ea4@193.77.151.5)>
DEBUG 04-12 13:53:40 FullServer Receiving handshake from Address(89.40
View pr-483-tuplification.py
#!/usr/bin/env python
import timeit
def multiply(x):
return x * 10
def test00(r=5):
msg = tuple(x for x in range(r))
View 1-pr-236-same-node-there.py
DEBUG 02-12 23:29:19 HeaderMeatSyncer Requesting 192 headers from ETHPeer <Node(0xebdb@35.163.186.11)>
DEBUG 02-12 23:29:19 HeaderMeatSyncer Requesting 192 headers from ETHPeer <Node(0xcb4a@139.162.39.223)>
DEBUG 02-12 23:29:19 FastChainBodySyncer Got receipts for 44/256 headers from ETHPeer <Node(0xcb4a@139.162.39.223)>, with 0 trivial headers
DEBUG 02-12 23:29:19 FastChainBodySyncer Got receipts for 40/254 headers from ETHPeer <Node(0x6be8@18.188.209.191)>, with 2 trivial headers
DEBUG 02-12 23:29:19 FastChainBodySyncer Requesting receipts for 256 headers from ETHPeer <Node(0xcb4a@139.162.39.223)>
DEBUG 02-12 23:29:19 FastChainBodySyncer Requesting receipts for 256 headers from ETHPeer <No
View evm-trace.txt
-------------------------------------------------------------------------------------------------------------- Captured log call --------------------------------------------------------------------------------------------------------------
DEBUG2 02-01 16:14:22 logging.py Generating AccountDB trie
DEBUG2 02-01 16:14:23 logging.py TRANSACTION: sender: 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b | to: 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b | value: 0 | gas: 100000 | gas-price: 1 | s: 40891726403850439953374365587933587017898540460236132698587327163578512598704 | r: 96796879067996587441862252401368798040487612135108074009208954375442237283108 | v: 27 | data-hash: 0xece9ce86711568efac1ac8e5ef132e802927f0fd42029c938dcfd034fed6d097
DEBUG2 02-01 16:14:23 logging.py COMPUTATION STARTING: gas: 78808 | from: 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b | to: 0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b | value: 0 | depth 0 | static: n
DEBUG2 02-01 16:14:23 logging
View 1-nonfatal.py
DEBUG 01-30 00:44:07 HeaderMeatSyncer Requesting 192 headers from ETHPeer <Node(0x2780@52.213.50.123)>
DEBUG 01-30 00:44:07 HeaderMeatSyncer Requesting 192 headers from ETHPeer <Node(0x9a69@13.250.15.120)>
DEBUG 01-30 00:44:07 FullServer Receiving handshake from Address(18.223.185.86:udp:59230|tcp:59230)
DEBUG 01-30 00:44:07 ETHPeer Disconnecting from remote peer <Node(0x399a@18.223.185.86)>; reason: too_many_peers
INFO 01-30 00:44:07 HeaderMeatSyncer Unexpected err while downloading headers from ETHPeer <Node(0x2780@52.213.50.123)>: must not prune a node that has a parent
DEBUG 01-30 00:44:07 HeaderMeatSyncer Problem downloading headers from peer, dropping...
View trinity.log
INFO 01-26 22:56:09 trinity Started main process (pid=18522)
INFO 01-26 22:56:09 trinity Trinity/0.1.0a22/linux/cpython3.7.2
INFO 01-26 22:56:09 trinity Trinity DEBUG log file is created at /home/veox/.local/share/trinity/mainnet/logs-eth1/trinity.log
INFO 01-26 22:56:10 trinity Started DB server process (pid=18528)
DEBUG 01-26 22:56:10 root Logging initialized: PID=18528
INFO 01-26 22:56:11 trinity Started networking process (pid=18532)
DEBUG 01-26 22:56:11 root Logging initialized: PID=18532
WARNING 01-26 22:56:11 p2p XXXXX Using cpu_count value of 3 for process pool executor
WARNING 01-26 22:56:11 FullNode XXXXX got process pool executor for <trinity.nodes.full.FullNode object at 0x7f38b4f223c8>
View pip-freeze.txt
aiohttp==3.5.2
aiohttp-socks==0.2.1
aiorpcX==0.10.1
alabaster==0.7.12
anytree==2.4.3
apipkg==1.5
appdirs==1.4.3
asn1crypto==0.24.0
async-timeout==3.0.1
atomicwrites==1.2.1
View 1-launch_node-sync-hodge-podge-043a93a628052ded4118d15310d414898898a83a.txt
In [16]: nodestats.sort_stats('tottime').print_stats(20)
Sat Jan 19 18:51:56 2019 launch_node
823489287 function calls (811373422 primitive calls) in 524.989 seconds
Ordered by: internal time
List reduced from 2680 to 20 due to restriction <20>
ncalls tottime percall cumtime percall filename:lineno(function)
22413 166.017 0.007 347.034 0.015 /home/veox/src/trinity/trinity/_utils/datastructures.py:659(_find_oldest_unpruned_task_id)
View ZZ_out.py
DEBUG:Protocol:updating commands for <__main__.Protocol object at 0x7f0647032dd8>
'commands:'
[]
'cmd_by_type:'
{}
'cmd_by_id:'
{}
DEBUG:P2PProtocol:updating commands for <__main__.P2PProtocol object at 0x7f0647032e48>
XXXXX (<class '__main__.Hello'>, 16, False)
XXXXX (<class '__main__.Ping'>, 16, False)