Files
brk/parser
2024-07-20 13:32:58 +02:00
..
2024-07-20 13:32:58 +02:00
2024-07-15 18:52:29 +02:00
2024-07-15 18:52:29 +02:00
2024-07-15 18:52:29 +02:00
2024-07-15 18:52:29 +02:00
2024-07-15 18:52:29 +02:00
2024-06-23 17:38:53 +02:00

Satonomics - Parser

Description

The backbone of the project, it does most of the work by parsing and then computing datasets from the timechain

Requirements

  • rustup

Run

./run.sh --datadir=$HOME/Developer/bitcoin

Limitations

  • Needs to stop the node to parse the files (at least for now)
  • Needs a LOT a disk space for databases (~700 GB for data from 2009 to mid 2024)

Guidelines

  • Avoid floats as much as possible
    • Use structs like WAmount and Price for calculations
    • Only use WAmount.to_btc() when inserting or computing inside a dataset. It is very expensive.
  • No Arc, Rc, Mutex even from third party libraries, they're slower