Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am egalano on github.
* I am egalano (https://keybase.io/egalano) on keybase.
* I have a public key ASCNSkGE1G_TNB6RF6vzhvdtbMPCYUak4_jqBR_pUCTiVwo
To claim this, I am signing this object:
Verifying my identity on Peepeth.com 0x1748e6c7332c96521088840de8e80b4e4743ac67
Verify myself: ede548ae73264232a8c6c61f81ab0e1a
http://contribute.cosmos.network #
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 12 columns, instead of 3. in line 4.
id,bestBlockNumber,bestHash,capabilities,clientId,clientMeta1,clientMeta2,clientMeta3,createdAt,timestamp,totalDifficulty,updatedAt
3,4939393,0x4ee5fdab63844cfb80d9a84f7e0dd7cbfdec7a88c356e86280dfbdfa9c5be3ed,"{eth.62,eth.63}",Ethereum(J)/v1.11.0/Linux/Release/Java/Dev,Ethereum(J),v1.11.0,Linux,2019-02-02T09:09:05.549Z,2019-02-02T09:09:05.311Z,40a48991633212,2019-02-02T09:09:05.549Z
51,,0x9732f5d65ca97348ff0d1203fc8e23853ebd8ace981f202d64e3dc8245c007e6,"{eth.63,eth.62}",Geth/indexer_testnet_1c/v1.8.14-stable-316fc7ec/linux-amd64/go1.10.1,Geth,indexer_testnet_1c,v1.8.14-stable-316fc7ec,2019-02-02T19:55:00.397Z,2019-02-02T19:54:59.732Z,2f28a2572ba89b,2019-02-02T19:55:00.397Z
7,4940992,0xe81dc098a13567a9ecc7c77c7f2cf8f1121446964d6b2a4fa1fefcce9cd43ed4,"{eth.62,eth.63}",Geth/ropsten.jnode.network/v1.8.20-stable-24d727b6/linux-amd64/go1.11.2,Geth,ropsten.jnode.network,v1.8.20-stable-24d727b6,2019-02-02T09:12:04.716Z,2019-02-02T09:12:04.033Z,40a6c1620d9444,2019-02-02T09:12:04.716Z
39,4942981,0x4e906c1fa9b46f31fec69
3Box is a social profiles network for web3. This post links my 3Box profile to my Github account!
✅ did:muport:QmZhB5BEyobtkdWAWbPB6pBG7puJ48xyaq8F2Bs4h8F65A ✅
Create your profile today to start building social connection and trust online. https://3box.io/
Oct 30 14:04:15 infura-node-0 geth[14936]: ########## BAD BLOCK #########
Oct 30 14:04:15 infura-node-0 geth[14936]: Chain config: {ChainID: 5 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 Constantinople: 0 Petersburg: 0 Istanbul: <nil> Engine: clique}
Oct 30 14:04:15 infura-node-0 geth[14936]: Number: 1561653
Oct 30 14:04:15 infura-node-0 geth[14936]: Hash: 0xe72248c356f189254a8bd34ff65c9f0bf12d2ae1ab95d0f41869651b436d845e
Oct 30 14:04:15 infura-node-0 geth[14936]: #011 0: cumulative: 349151 gas: 349151 contract: 0x0000000000000000000000000000000000000000 status: 1 tx: 0x0e6d7953ea6ac55430258268562762492649ab663096d73f0b2127d6653d2559 logs: [0xc0221251e0] bloom: 0000000000000000000000000000001002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Keybase proof

I hereby claim:

  • I am egalano on github.
  • I am egalano (https://keybase.io/egalano) on keybase.
  • I have a public key ASCbga6CzFCoJjvLykDpozsOm29dKDLmoqv2oAe0kW65AAo

To claim this, I am signing this object:

@egalano
egalano / receipts.js
Last active July 8, 2020 16:16
Get all block receipts in parallel
const ethers = require('ethers');
const util = require('util')
util.inspect.defaultOptions.maxArrayLength = null;
const PROJECT_ID = 'xxxx'
let provider = new ethers.providers.InfuraProvider('mainnet', [PROJECT_ID]);
async function getAllReceipts() {
provider.on('block', (blockNumber) => {
provider.getBlock(blockNumber).then(async (block) => {