-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unspent balance output #12
Conversation
we're really dumping. Update comments for the transaction loop to reflect what is being done.
Hello. Which command can get a list of unspent balances? In the help it is not written. |
Hi @Napulsnik, the command is "unspentcsvdump". |
Thank you! |
Need a lot of memory. If you send me fresh list of all bitcoin addresses with balance I pay you 10$ in bitcoin. Deal? |
@Napulsnik Yup, it does need a lot of memory. Thanks for the offer, but I'd need to download and sync the entire blockchain and then run the whole thing. Don't have that much spare time atm. :) |
Ok. |
I will update the README to reflect that change. |
@Napulsnik , I have a fresh csv list (all btc adress with positive balance - august 2017) |
No longer needed |
Hi!
Would you be interested in merging these patches?
They add unspent CSV output dump as a CSV file (balance for all addresses where balance != 0).
Consider that it was my first attempt at writing code in rust and was mostly taken and modelled on the csvdump callback.
It uses a hashmap and preallocates around 10mln entries, which sort of reflects the number of unique unspent addresses at the time I wrote it (August last year).
The module can be useful to avoid having 150GB+ SQL databases just for tracking unspent output.
There's no suspend/resume support (would need to serialize/unserialize the hashmap to disk I guess).