I hereby claim:
- I am carver on github.
- I am jasoncarver (https://keybase.io/jasoncarver) on keybase.
- I have a public key whose fingerprint is D1AA B317 6243 B1F5 215D C489 1243 D8E2 CFF0 5F92
To claim this, I am signing this object:
Verifying myself: My Bitcoin username is +carver. https://onename.io/carver |
pragma solidity ^0.4.15; | |
contract ENS { | |
function setSubnodeOwner(bytes32 node, bytes32 label, address owner); | |
function owner(bytes32 node) constant returns (address); | |
} | |
contract Deed { | |
address public owner; | |
address public previousOwner; |
I hereby claim:
To claim this, I am signing this object:
pragma solidity ^0.4.25; | |
// This contract is an example, not to be used in production | |
// One example issue is that there are potential overflow/underflow bugs. | |
contract UnsafeERC20 { | |
mapping (address => uint256) private _balances; | |
uint256 private _totalSupply; | |
# roughly | |
wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz | |
tar xf Python-3* | |
cd Python-3* | |
./configure | |
make | |
make altinstall |
Below are witnesses needed to run mainnet blocks. They have everything you need to execute the transactions and generate the next state root.
The keys and values are hex encoded. To load them into a trinity database, you can use something like:
$ trinity <your launch config> db-shell
>>> with open('block7436790.witness') as f:
hexnodes = [l.strip().split(':') for l in f.readlines()]
from abc import ABC, abstractmethod | |
from enum import Enum | |
from typing import ( | |
Iterable, | |
Tuple, | |
) | |
import cbor | |
from eth_typing import Hash32 | |
from eth_utils import ( |
INFO 2020-04-20 15:48:44,450 trinity | |
______ _ _ __ | |
/_ __/____(_)___ (_) /___ __ | |
/ / / ___/ / __ \/ / __/ / / / | |
/ / / / / / / / / / /_/ /_/ / | |
/_/ /_/ /_/_/ /_/_/\__/\__, / | |
/____/ | |
INFO 2020-04-20 15:48:44,450 trinity Started main process (pid=3970) | |
INFO 2020-04-20 15:48:44,451 trinity Trinity/v0.1.0a35/linux/cpython3.6.9 | |
INFO 2020-04-20 15:48:44,451 trinity Trinity DEBUG log file is created at /home/jcarver/.local/share/trinity-beam/logs-eth1/trinity.log |