Zebra/zebra-state/src
teor 6aba60d657
1. feat(db): Store transactions in a separate database index, to improve query speed (#3934)
* Implement disk serialization for block headers and transactions

* Re-order column family initialization to match the design

* Add new empty transaction column families

* Split writing block header and transaction data

* Re-order column families for consistency

* Update write snapshots for transaction split

* Use split block and transaction data when reading

* Update snapshots to include genesis transaction hash location

* Filter all prefix iterators to make sure they return the correct values

* Test that the new transaction indexes are consistent

* Add some cleanup TODOs

* Increment the database format to version 15

* Remove unused fisk format impls for Block

* Add a missing prefix extractor for transaction locations

* Make the database generic over the thread mode

* Replace prefix iteration with iteration from a key, and a filter

Prefix iteration caused database hangs.

* Manually iterate through transaction locations to re-create blocks

Also:
- re-write disk read API to avoid iterator hangs
- move disk read API to ReadDisk
- re-write impl rocksdb::AsColumnFamilyRef to a where clause, for consistency

* Update the database version so it's larger than the NU5 testnet 2 version
2022-04-07 08:30:50 +00:00
..
service 1. feat(db): Store transactions in a separate database index, to improve query speed (#3934) 2022-04-07 08:30:50 +00:00
tests 7. feat(state): add a read-only state service stub (#3835) 2022-03-11 10:58:22 -03:00
arbitrary.rs 4. test(db): add large transaction tests (#3759) 2022-03-09 23:34:50 +00:00
config.rs 2. refactor(state): move all RocksDB API calls to the disk_db module (#3578) 2022-02-22 12:59:44 +00:00
constants.rs 1. feat(db): Store transactions in a separate database index, to improve query speed (#3934) 2022-04-07 08:30:50 +00:00
error.rs Validate sapling, orchard anchors (#3084) 2021-11-30 16:05:35 +00:00
lib.rs Repoint zebra image links to our new zfnd.org site for now (#3949) 2022-03-27 23:42:47 +00:00
request.rs 5. change(state): split ReadStateService requests into a ReadRequest enum (#3866) 2022-03-17 22:59:46 +00:00
response.rs feat(rpc): add getrawtransaction (#3908) 2022-03-24 09:45:37 +00:00
service.rs Stop panicking when a state block commit fails (#4016) 2022-03-31 10:26:21 +00:00
tests.rs ZIP-221 and ZIP-244 commitment validation in non-finalized state (#2609) 2021-08-17 11:49:27 -03:00
util.rs feat(log): log the state tip height as part of sync progress logs (#3437) 2022-01-28 19:12:19 -03:00