kaistshadow / blockchain-sim

Scalable blockchain simulator/emulator running on shadow simulator
MIT License
9 stars 1 forks source link

add release 0.2.0 regtest and refactoring #272

Closed tkdlqm2 closed 3 years ago

tkdlqm2 commented 3 years ago

현재 feautre/262 브렌치에서 rel 0.1.0 refactoring 작업과 보완해야할 부분을 끝냈음. feature/266 브렌치에서는 initial coin을 위한 dump작업이 끝이 났음. feature/262와 feature/266을 merge를 하고 rel 0.2.0 의 regtest인 dump initial coin, tps generator 등 작업을 현재 feature branch에서 작업을 할 것임.

tkdlqm2 commented 3 years ago

현재 feature/262와 feature/266 브렌치 merge를 성공적으로 끝냈으며, feature/272/regtest_refactoring 브렌치를 새로 생성하였음.

tkdlqm2 commented 3 years ago

rel 0.2.0 reg test 중에 mainchain test의 고려 사항이 추가되었음. rel 0.2.0은 멀티 노드 환경이라, 블록 포크가 나는 상황을 고려를 해야함. 기존의 rel 0.1.0 test 통과 기준은 각 노드들의 마지막 블록 해시 값이 match rate이 100%면 통과하는 식으로 디자인 되었음. 하지만 블록 포크가 발생했을 시, match rate은 100%가 안됨으로 테스트가 통과가 안됨. 그렇기에 블록 포크에 대한 예외 처리를 추가를 해주어야함.

tkdlqm2 commented 3 years ago

FF-12 : Dump file test

tkdlqm2 commented 3 years ago

rpc request API

tkdlqm2 commented 3 years ago

FF-4 : client block receive test FF-6 : Transaction propagation test

tkdlqm2 commented 3 years ago

FF4 - client block receive test FF6 - Transaction propagation test

tkdlqm2 commented 3 years ago

Release 0.2.0 - Monitor node, generator node, plugin directory