issues
search
DE-labtory
/
it-chain
Lightweight & Customizable Block Chain
Apache License 2.0
177
stars
54
forks
source link
Pbft msgpool fix
#1034
Closed
hihiboss
closed
5 years ago
hihiboss
commented
5 years ago
resolved: #1033
details:
Add a msg id to prevote/precommit msg.
From array to map.
Add "RemoveByMsgId" to msg pool.
In func UpdateMsgPool of state api, save messages which have same state id and not duplicated sender id from temp msg pool to msg pool.
Modify test cases.
[x] Test case
resolved: #1033
details:
Modify test cases.