Skip to content

Instantly share code, notes, and snippets.

View veox's full-sized avatar
💭
Being skeptical of status feature.

Noel Maersk veox

💭
Being skeptical of status feature.
View GitHub Profile
@veox
veox / trinity.service
Created August 15, 2018 13:09
ethereum trinity systemd service file
[Unit]
Description=trinity ethereum node
After=network.target
[Service]
Type=simple
WorkingDirectory=/home/veox/src/py-evm
ExecStartPre=/home/veox/src/py-evm/.virtualenv/py-evm/bin/python /home/veox/src/py-evm/.virtualenv/py-evm/bin/trinity --network-id=3 fix-unclean-shutdown
ExecStart=/home/veox/src/py-evm/.virtualenv/py-evm/bin/python /home/veox/src/py-evm/.virtualenv/py-evm/bin/trinity --network-id=3 --sync-mode=full --log-level=info
TimeoutStopSec=30
@veox
veox / Verifying my Peepeth
Created August 14, 2018 15:03
peepeth github verification
Verifying my identity on Peepeth.com 0xf75b78571f6563e8acf1899f682fb10a9248cce8
BLOCK ULID MIN TIME MAX TIME NUM SAMPLES NUM CHUNKS NUM SERIES
01CMF8DYYQSD304RN5R96M71DK 2018-08-08 11:00:00 +0300 EEST 2018-08-08 21:00:00 +0300 EEST 4546560 37888 9472
01CMFK7F89ZQPW9J576271CJYK 2018-08-08 21:00:00 +0300 EEST 2018-08-09 15:00:00 +0300 EEST 344605 9454 9454
01CMFK772EF8T9FRXJMTS3W76V 2018-08-09 15:00:00 +0300 EEST 2018-08-09 17:00:00 +0300 EEST 4523351 37125 9454
MemTotal: 958380 kB
MemFree: 491720 kB
MemAvailable: 805268 kB
Buffers: 108812 kB
Cached: 189940 kB
SwapCached: 0 kB
Active: 189056 kB
Inactive: 211004 kB
Active(anon): 70580 kB
Inactive(anon): 31068 kB
@veox
veox / pip-freeze.txt
Last active June 12, 2018 20:22
py-evm bugrep #902 pip freeze
aiohttp==2.3.10
alabaster==0.7.10
apipkg==1.4
argh==0.26.2
asn1crypto==0.24.0
async-lru==0.1.0
async-timeout==3.0.0
atomicwrites==1.1.5
attrdict==2.0.0
attrs==18.1.0
@veox
veox / etc-blocks-ft.py
Last active June 9, 2018 14:22
ETC blocks from 1920000 to 1920000
[AttributeDict({'author': '0x61c808d82a3ac53231750dadc13c777b59310bd9',
'difficulty': 62413376722602,
'extraData': HexBytes('0xe4b883e5bda9e7a59ee4bb99e9b1bc'),
'gasLimit': 4712384,
'gasUsed': 84000,
@veox
veox / node.txt
Last active June 5, 2018 16:20
web3.py+parity bug
% ~/src/parity/target/release/parity --version
Parity
version Parity/v1.11.1-unstable-6654d0216-20180515/x86_64-linux-gnu/rustc1.26.1
Copyright 2015, 2016, 2017, 2018 Parity Technologies (UK) Ltd
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
By Wood/Paronyan/Kotewicz/Drwięga/Volf
Habermeier/Czaban/Greeff/Gotchac/Redmann
@veox
veox / txs.json
Last active June 5, 2018 15:07
txs for ropsten block 0x4d208db0540bb9b3e15736e69f152badf725a43e26bf0792669020cd689795cd
[
{
"blockHash": "0x4d208db0540bb9b3e15736e69f152badf725a43e26bf0792669020cd689795cd",
"blockNumber": "0x33892c",
"chainId": null,
"condition": null,
"creates": null,
"from": "0x1015b65d76e686a3001fc0a42a91f058edf067ad",
"gas": "0x30d40",
"gasPrice": "0x174876e800",
@veox
veox / badblock.py
Last active June 5, 2018 14:51
ropsten block 0x4d208db0540bb9b3e15736e69f152badf725a43e26bf0792669020cd689795cd
In [18]: w3.eth.getBlock('0x4d208db0540bb9b3e15736e69f152badf725a43e26bf0792669020cd689795cd')
Out[18]:
AttributeDict({'author': '0x1585936b53834b021f68cc13eeefdec2efc8e724',
'difficulty': 1422023946,
'extraData': HexBytes('0x414952412f7630'),
'gasLimit': 82896132,
@veox
veox / table.md
Last active May 19, 2018 09:47
test table
Model Hashrate (MH/s)
RX580 9.4
Vega56 16.6
Vega64 18.7
GTX1070Ti 13.1
GTX1080 14.9
GTX1080Ti 21.8

Table contents from: