Timeline for How do I export ethereum blocks with quickblocks to a JSON file?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 23, 2017 at 3:03 | comment | added | Thomas Jay Rush | Yep. Then exit the edit and type 'make'. You've contacted us through email, we can continue the conversation there. | |
Oct 22, 2017 at 23:02 | comment | added | MABROUK Medkarim | then I have to edit the simple.cpp file and modify main to int main(int argc, const char *argv[]) { // Initialize the system and tell it where to find the blockchain data. etherlib_init("infura"); for (int i = 0 ; i < getLatestBlock() ; i++) // Request the 3,500,000th block from Infura. Store it in 'block' CBlock block; getBlock(block, 3500000); // Print the block to the screen cout << block << "\n"; } return 0; } | |
Oct 22, 2017 at 22:28 | history | answered | Thomas Jay Rush | CC BY-SA 3.0 |