mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-26 07:39:59 -07:00
git: reset
This commit is contained in:
27
parser/README.md
Normal file
27
parser/README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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
|
||||
|
||||
```bash
|
||||
# Update ./run.sh with the path to your bitcoin folder
|
||||
./run.sh
|
||||
```
|
||||
|
||||
## 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.
|
||||
Reference in New Issue
Block a user