Comments (3)
i'd be interested in realtime parsing of new blocks and persistent sqlite database. Maybe i'll try work on it and submit a PR
from blockparser.
The problem with doing this is longest chain validation. At start time, blockparser computes the longest chain, which is easy because the code assumes a static blockchain.
For a "real time" parser, it would have to deal with new blocks on the fly, and some of these may eventually become invalid (if they're not part of the longest chain).
When this happens, you'd have to revert all internal data structures back to the time of the fork ...
you'd also have to revert all transactions commited to the sqlite db. This is not easy at all.
from blockparser.
What you want to do is called complex event processing (CEP). Take a look at Esper. You can do that with Esper and a bit of Java.
BTW, one thing I'd like to see in this blockchain parser is a bloom filter option for check if a public address has been seen.
from blockparser.
Related Issues (20)
- *** stack smashing detected ***: <unknown> terminated HOT 2
- How to extract addresses with no zero balance?
- error compiling any idears? HOT 2
- Litecoin parsing fails
- Bitcoin parsing fails
- Bitcoin parsing fails HOT 1
- /usr/bin/ld: cannot find -lOpenSSL::SSL
- Who has advanced further in development 488868 blocks? and resolving the issue with addresses on 3xx address HOT 1
- util.cpp doesn't compile
- How can I find out how to solve this problem? Openssl has been installed HOT 1
- Transactions Input and output addresses (with input bitcoin and output bitcoin,Time stamps)
- Stack smashing on closure HOT 2
- Late Links? Failed to locate parent block?
- Error on opening from visual studio HOT 2
- mem not showing i have 1024 gb memory still error HOT 3
- Segmentation fault for new installed bitcoin core 0.16.3 with complete block downloaded HOT 2
- Which debugger?
- tst test fail HOT 2
- cannot make HOT 2
- Load BLK files from Bitcoin Core HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blockparser.