So close yet still not correct, have 3 too many utxos
I did:
total output count - total input count + total coinbase count - total opreturn count
did I forget anything ?
To further incentivize folks to try BRK, the latest release comes with yet another disk usage optimization.
You can now choose between eager and lazy computation.
The eager mode will compute everything and store it on disk which is the preferred method if you want speed.
The lazy mode will, on the other hand, compute data each time it's requested.
This only applies to datasets by transaction, type, input and output.
Datasets by height or higher (date, week, ...) are eager as computing them on the fly would be very costly with little to no benefit.
Right now computed datasets take 200+GB when eager and 5+GB when lazy, so quite the difference and this is in raw mode without compression.
Some numbers when fetching 10 000 values:
Eager:
txindex_to_base_size: 324.625µs
Lazy (2 dependencies, 1 level deep):
txindex_to_weight: 1.413ms
Lazy (4 dependencies, 3 level deep):
txindex_to_fee: 20.285ms (1st call), 8.968ms (2nd call)
So it's slower but not the end of the world it should be good enough for most use cases
#Bitcoin
Real: https://x.com/brkdotorg
Forgot to update the x.com links in many places after changing my username (from 0xbrk to brkdororg), I found out that someone was impersonating BRK via the 0xbrk username
BRK has no token and is Bitcoin only, now and forever
Stay safe
#Bitcoin
Friendly reminder that BRK can be used **today** !
It's just missing multiple datasets compared to kibo v0.5 (which is why it's still the version in prod), but otherwise it's much more user friendly and easy to use
#Bitcoin
Don't remember who asked for the possibility to view price in sats everywhere but here it is !
Now instead of having many separate charts for each "unit", there is one chart with multiple units
Check out the video below
Benchmarked the indexer today:
- version: v0.0.20
- machine: Macbook Pro M3 Pro (36GB RAM)
- mode: raw
- from: 0
- to: 891_810
- time: 8 hours 27 min 3s
- peak memory: 6.5GB
- disk usage: 270 GB
Very happy with those stats
Spent the last two days optimizing brk_vec after discovering some slowness while working on brk_computer
Reading **all** outputs (3B+ values, 26 GB) takes 2.6s now
Summing them all took 36s and ended up being around ~9B Bitcoin which is mind-blowing
Pretty fucking fast !
was going to do it later but fuck it
BRK is now available in binary format for Mac OS and Linux ! You don't have to build it with Rust anymore
Check it out:
Thanks to all the work that was put into BRK and its backend, adding new intervals is now very straightforward.
Some were interested in a quarterly interval, it's now available !
#Bitcoin