Commit Graph

6 Commits

Author SHA1 Message Date
0g-peterzhb
fae2d5efb6
@peter/db split ()
* do not pad tx during sync phase

* add pad data store

* support async padding after sync phase

* split misc

* add sleep for the next loop
2024-11-08 22:06:45 +08:00
0g-peterzhb
9eea71e97d
separate data db from flow db ()
* separate data db from flow db
2024-10-31 15:44:26 +08:00
0g-peterzhb
20266e0a6c
@peter/async padding ()
* support async padding
2024-10-08 13:13:32 +08:00
peilun-conflux
ba8d065e73
Generate sync proof with the given tx seq. ()
* Generate sync proof with the given tx seq.

* Fill HistoryTree with new data.

* Fix clippy.
2024-07-12 15:55:57 +08:00
peilun-conflux
4eb2a50b0e
Use inner lock in storage and use async lock. ()
* Use inner lock in storage.

* Remove mut.

* Remove async lock for storage.

* Fix tests and warnings.

* Use spawn_blocking for storage task.

* Fix clippy.

* Finalize the new tx at last.

* Revert "Finalize the new tx at last."

This reverts commit b56ad5582d.

* Wait for old same-root txs to finalize.

* Use async storage in miner.

* Update rust version to 1.79.0.

* Use Vec to avoid stack overflow.

* Fix unused warning.

* Fix clippy.

* Fix test warning.

* Fix test.

* fmt.

* Use async storage in pruner.

* nit.
2024-06-29 17:08:02 +08:00
Peilun Li
9058467be1 Initial commit 2024-01-04 18:05:32 +08:00