alex-miller-0 / ethereum_blockchain_parser Goto Github PK
View Code? Open in Web Editor NEWParse the Ethereum blockchain from a local geth node!
Parse the Ethereum blockchain from a local geth node!
Hi Alex, I am trying to run the stream.py script on an ubuntu 16.04 server with local geth node and MongoDB running. After installing pymongo and tqdm the script execution is stuck at this error. Please suggest me how to resolve it.
Prior to running this, should we just launch a server using the command geth --rpc
from the CLI? Is there anything else we need to specify?
subprocess.call([ "(geth --rpc --rpcport 8545 > {}/geth.log 2>&1) &".format(LOGDIR), "(mongod --dbpath mongo/data --port 27017 > {}/mongo.log 2>&1) &".format(LOGDIR) ], shell=True)
Hello, I'm trying to parse blockchain data to MongoDB by this project.
I have finished the geth fast sync and got stuck in the preprocessing step.
What's the meaning of the command and where is the geth.log?
Alex, thanks for writing this project.
I started the preprocess file, and it is populating the mongodb collection, but it is slow. With Ethereum creating a block every 17 secs (since 2015), and the preprocess writing 1-3 blocks every second, this will take forever to complete.
You mentioned that it will take hours to copy all data to Mongodb, am I missing something?
Hi,
I'm trying to run this, but stream.py
can't find the util
module. Is this in the project somewhere or an external module?
File "stream.py", line 5, in <module>
from Crawler import Crawler
File "/Users/username/Ethereum_Blockchain_Parser/Preprocessing/Crawler/__init__.py", line 2, in <module>
from util import *
ModuleNotFoundError: No module named 'util'
Hi,
When trying to run preprocessing.py it can't find the crawler_util module. From crawler_util import * isn't a solution...
Traceback (most recent call last):
File "preprocess.py", line 9, in
from Crawler import Crawler
File "./../Preprocessing/Crawler/init.py", line 1, in
from .Crawler import Crawler
File "./../Preprocessing/Crawler/Crawler.py", line 4, in
import crawler_util
ModuleNotFoundError: No module named 'crawler_util'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.