cuprate-hinto-janai/storage
Asurar e7c6bba63d
Database: Split BlockBlobs table + Miscellaneous fixes ()
* Split `BlockBlobs` database table + misc fixes

- Split the `BlockBlobs` database table into two new tables: `BlockHeaderBlobs` and `BlockTxsHashes`.
- `add_block`, `pop_block` and `get_block_extended_header` have been edited consequently.
- `VerifiedBlockInformation` now have a `mining_tx_index: u64` field.
- Made `cuprate-helper`'s `thread` feature a dependency of the `service` feature
- Edited service test mapping of output. It is now a full iterator.

* fix fmt

* Update storage/blockchain/src/types.rs

Co-authored-by: Boog900 <boog900@tutanota.com>

* Update storage/blockchain/src/ops/block.rs

Co-authored-by: Boog900 <boog900@tutanota.com>

* fix warning

---------

Co-authored-by: Boog900 <boog900@tutanota.com>
2024-09-19 20:05:41 +01:00
..
blockchain Database: Split BlockBlobs table + Miscellaneous fixes () 2024-09-19 20:05:41 +01:00
database lints: replace allow with expect () 2024-09-18 21:31:08 +01:00
service lints: replace allow with expect () 2024-09-18 21:31:08 +01:00
txpool lints: replace allow with expect () 2024-09-18 21:31:08 +01:00
README.md repo: add skeleton directories, fix labels () 2024-05-29 02:18:30 +01:00

storage

TODO: This subdirectory used to be database/ and is in the middle of being shifted around.

The old database/ design document is in cuprate-blockchain/ which will eventually be ported Cuprate's architecture book.