-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(statedb): refactor utxo:inscription_obj_id's map updates (#2016
) Refactor sled database usage in genesis_ord.rs: 1. The changes simplify the sled database usage in the genesis_ord.rs file. Temporary databases for utxo_ord_map and id_ord_map are created on the fly instead of from a static path, eliminating the need for cleanup after use. Also, steps are taken to avoid redundant serialization of the same data. 2. introduce a merge operation on database maps to improve key-value update mechanism. Furthermore, the batch size parameters for data import have been moved within a clearer context.
- Loading branch information
Showing
1 changed file
with
55 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters