- Have one ethereum-vm state dump (so that we can verify that the js impl can load it correctly
- Add two endpoints to the JSON-RPC
- getRawBlock
- currently only:
- https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getblockbynumber
- https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getblockbyhash
- but it doesn't return the whole block
- currently only:
- getRawTransaction
- currently only https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_gettransactionbyhash (doesn't include the signatures)
- getRawBlock
- Add a libp2pNode to go-ethereum, that exposes two protocols
- /eth/block - works like bitswap
- /eth/tx - rebroadcast to the network
Notes:
- The JavaScript implementation of ethereum can't connect to the rest of the ethereum network due to the changes in the network protocol (61 to 62)
- node-blockchain-server is broken because of this
- ethereum JSON-RPC doesn't return full blocks or transactions (therefore, no way to check signtures)
- JSON-RPC docs https://github.com/ethereum/wiki/wiki/JSON-RPC
@diasdavid do we need to reply with which blocks we're sending you? or can you just guess by hashing them?