This repository has been archived by the owner on Dec 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Conversation
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
* Put NoneRequest to MessageQueue to stop on_send() and on_recv() * Fix some asyncio errors * Clean up unused codes from IPCServer * Fix a minor unittest error * Update asyncio statements in IconInnerService
…ermination IS-915: Fix infinite loop on ipc_server termination
…Term IS-922: fix-field-on-getPRepTerm
- Add get_inactive_preps on PrepContainer to return inactive P-Rep list sorted by penalty value and delegated amount
- Modified inactive prep logic to check if prep status is not active or penalty reason is block validation
* Change inactive P-Reps sorting order: (penalty, delegated) -> name * Move inactive P-Reps sorting code to PRepEngine.get_prep_term() * Update the unittest for get_prep_term()
* Return active P-Reps only * Remove obsolete methods from PRepContainer * Add some unittests for PRepEngine.handle_get_prep_term()
…eps-of-getPRepTerm IS-923: Add P-Rep candidates to the result of getPRepTerm API
…w productivity penalty at the same time
…ity-penalty-when-prep-get-block-validation-and-low-productivity-at-the-same-times IS-932: Impose low productivity penalty when prep get block validation and low productivity penalty at the same time
* Implement getInactivePReps API - Add get_inactive_preps method on PrepContainer - Add tests for the API * Update PRepEngine.handle_get_inactive_preps() * Optimize the filtering condition in PRepContainer.get_inactive_preps() * Add "blockHeight" and "totalDelegated" fields to the response of getInactivePReps request * Update test_handle_get_inactive_preps in prep/test_engine.py
* Change the target prep list to reset the block validation penalty from engine.preps to context.preps * Change the condition to pick up the P-Reps to reset the block validation penalty * Rename PRepEngine._release_block_validation_penalty() to PRepEngine._reset_block_validation_penalty() * Add a unittest to prep/test_engine.py
apply feedback seperate flag and (Frozen or not)
- seperate Flag, is_frozen - dirty = changed MAIN_SUB PReps + UPDATE_MAIN_PREPS_ENDPOINT
* Do not use auto() in Revision class * Rename IS_1_5_15 to FIX_TOTAL_ELECTED_PREP_DELEGATED
* Optimize property setters * Remove obsolete codes * Remove voiting_power related codes * Fix a warning from IDE * Update unittest for PRep class
* Fix an error on prep/test_engine.py: Term.update_preps -> Term.update_invalid_elected_preps
* Add OPTIMIZE_DIRTY_PREP_UPDATE to Revision class * Fix some unittests for p2pEndpoint update
* Divide DIRTY into 3 flags: MAIN_PREPS, SUB_PREPS, MAIN_PREP_P2P_ENDPOINT * Update PRepEngine._on_term_updated() * Update test_term.py
…-loopchain-in-term IS-913: Pass a new main prep list to loopchain when a p2pEndpoint of a main prep is modified
* Deepcopy the return value of score query call to prevent score data corruption * Add a unittest for global score data corruption
…a-corruption IS-936: Fix score data corruption on score query call
…e-with-rc IS-942: Fix the state inconsistency for claimIScore TX between iconservice and rc
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.