Commit Graph

9 Commits

Author SHA1 Message Date
tomFlowee ae78dd0bb8 Update email address 2021-06-20 22:44:44 +02:00
TomZ 629644d938 Fix incorrect warning messages on empty file 2020-03-06 00:26:55 +01:00
TomZ 7ce5880f95 Make unspent-db command easier to use
This change drops the various arguments that force the user to select if
an argument is an .info file or a .db file etc. Instead auto-detect them
and also allow the user to provide a list of arguments.

The most direct effect is that I can now run 'unspent-db info *.info"
2020-03-05 23:29:52 +01:00
TomZ 57080e8103 Make check command (unspentdb) more interactive
Print a list of dots to give progress report on the expensive
"checking buckets" task.
2020-03-02 16:36:26 +01:00
TomZ a28ffd18bb Write less txid's to the DB file and write shorter ones.
When pruning we sort leafs by txid / output and refrain from
writing the txid repeatedly for outputs of the same tx.
Additionally, use the fact that we only ever get to a leaf via
a bucket and since the first 64 bits of a txid is there, skip
repeating them when writing to disk.
Last, make pruning have different strategies.

This should shrink the utxo by about 40%
2018-09-24 21:24:28 +02:00
TomZ fb6b7f562d Add CLI command Lookup (for the utxo) 2018-09-20 21:55:07 +02:00
TomZ 087f2aa61e Add export command 2018-09-20 21:55:07 +02:00
TomZ 41771b8060 Finish up check command 2018-09-20 21:55:07 +02:00
TomZ 9a8bc78700 Move common code to the baseclass and start Check command 2018-09-20 21:55:07 +02:00