forked from MASQ-Project/Node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…roject#294) * GH-691: database migration for 7 to 8 * GH-691: update CURRENT_SCHEMA_VERSION to 8 * GH-691: add test to set the min_hops_count inside PersistentConfiguration * GH-691: fix tests in actor_system_factory.rs * GH-691: add the ability to retrieve value of min_hops_count from the database * GH-691: add tests for validating min hops count * GH-691: test drive code for validating the min_hops_count value from the persistent configuration * GH-691: minor code improvements * GH-691: remove second declaration of CURRENT_SCHEMA_VERSION * GH-691: remove unnecessary comments * GH-691: improve validate_database_min_hops_count() * GH-691: fixed test cleanup_after_deceased_clients_integration * GH-691: add todos to where we should set the min_hops_count * GH-691: set min_hops_count value inside configure_database() * GH-691: remove code for setting min_hops_count inside actor_system_factory.rs * GH-691: set min_hops_count default value while initializing database * GH-691: change how min_hops_count is handled inside make_neighborhood_config() * GH-691: instead of defaulting min_hops_count inside clap, default it in db * GH-691: feed min_hops_count value inside ConfigDaoNull * GH-691: add test for checking whether the node panics when the min_hops_count value is not found * GH-691: remove clippy warnings * GH-691: remove redundant code * GH-691: more improvements to validate_database_min_hops_count() * GH-691: Review 1 (MASQ-Project#300) * GH-691: minor changes in persistent_configuration.rs * GH-691: Display for Hops can be simplified * feat: panic when value of min_hops_count is not present in db * GH-591: remove setting a result for set_min_hops_count inside actor_system_factory.rs * GH-691: improvements in migration_7_to_8.rs * fix: the todo has been changed to a comment after discussion in the dev team * GH-691: Review 2 (MASQ-Project#302) * GH-691: rename min_hops_count to min_hops everywhere * GH-691: implement the computed_default() * GH-691: implement the computed_default() for min hops * GH-691: replace min hops value to the the one in db * GH-691: rename DEFAULT_MIN_HOPS_COUNT and MIN_HOPS_COUNT_FOR_TEST to DEFAULT_MIN_HOPS and MIN_HOPS_FOR_TEST respectively * GH-691: remove unnecessary test * GH-691: Review 3 (MASQ-Project#304) * GH-691: convert panic into error log inside the setup_reporter.rs * GH-691: use Default instead of Configured if the default min hops value is found in db * GH-691: change debug to info in the validation * GH-691: use AssertionsMessage for asserting when the validation does not need to replace the value * GH-691: remove use of min_hops_params from the tests in Neighborhood * GH-691: remove min_hops_params * GH-691: fix typo in test name * GH-691: improve the log statement * GH-691: fix the remaining renames (MASQ-Project#312)
- Loading branch information
Showing
22 changed files
with
629 additions
and
177 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
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
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
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
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
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
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
Oops, something went wrong.