issues
search
iotexproject
/
iotex-core
Official implementation of IoTeX blockchain protocol in Go.
https://iotex.io
Apache License 2.0
1.55k
stars
322
forks
source link
Candidate State Manager and Candidate State Reader
#4301
Open
CoderZhi
opened
1 week ago
CoderZhi
commented
1 week ago
CandidateStateManager extends CandidateStateReader
Clean up the two interfaces
Use appropriate one, e.g., use StateReader in the readonly functions
Description of the code refactor
Why is this needed
[] better/less memory usage
[] reduce running time
[] clean (easy-to-understand) data structure or algorithm
[] remove dead code
[] better code design or structure (like reduce complexity)
[] reduce/decouple dependencies between code modules
[] increase test coverage
[] better code readability
Description of the code refactor
Why is this needed