Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

IS-1107: Refactor score database and container #527

Merged
merged 14 commits into from
Nov 16, 2020

Conversation

goldworm-icon
Copy link
Member

  • Change final key generation mechanism
  • Add unit-tests for ContainerDB and new IconScoreDatabase
  • Clean up unused codes

@goldworm-icon goldworm-icon self-assigned this Oct 30, 2020
@goldworm-icon goldworm-icon force-pushed the IS-1107-refactor-score-database-and-container branch 2 times, most recently from b6bdc6a to 196847a Compare November 11, 2020 11:33
goldworm and others added 13 commits November 16, 2020 12:24
* Bugfix in ScoreDatabase and PrefixScoreDatabase
* Apply new databases to ArrayDB
* Apply ScoreDatabase and PrefixScoreDatabase to DictDB
* database.db -> iconscore.db
* Fix some errors caused by ContainerDB refactoring
* Move IconScoreDatase to iconscore package
* Update final key generation logic
* Update step charge logic
* Clean up codes
* There are some scores which use 4-depth DictDB
* Fix a bug in IconScoreDatabase.delete()
* Add the last_key of which value is b"" to a final_key generation
* TxIndex: 9
* Add DUMMY to KeyType class
@goldworm-icon goldworm-icon force-pushed the IS-1107-refactor-score-database-and-container branch from f165b86 to 5c21e3d Compare November 16, 2020 03:26
@goldworm-icon goldworm-icon merged commit a95263f into develop Nov 16, 2020
@goldworm-icon goldworm-icon deleted the IS-1107-refactor-score-database-and-container branch November 16, 2020 17:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants