Ismail Khoffi
87bdc42bf8
Reject blocks with committed evidence (#37)
* evidence: NewEvidencePool takes evidenceDB * evidence: failing TestStoreCommitDuplicate tendermint/security#35 * GetEvidence -> GetEvidenceInfo * fix TestStoreCommitDuplicate * comment in VerifyEvidence * add check if evidence was already seen - modify EventPool interface (EventStore is not known in ApplyBlock): - add IsCommitted method to iface - add test * update changelog * fix TestStoreMark: - priority in evidence info gets reset to zero after evidence gets committed * review comments: simplify EvidencePool.IsCommitted - delete obsolete EvidenceStore.IsCommitted * add simple test for IsCommitted * update changelog: this is actually breaking (PR number still missing) * fix TestStoreMark: - priority in evidence info gets reset to zero after evidence gets committed * review suggestion: simplify return |
6 years ago | |
---|---|---|
.. | ||
pool.go | Reject blocks with committed evidence (#37) | 6 years ago |
pool_test.go | Reject blocks with committed evidence (#37) | 6 years ago |
reactor.go | update gometalinter to 3.0.0 (#3233) | 6 years ago |
reactor_test.go | Sec/bucky/35 commit duplicate evidence (#36) | 6 years ago |
store.go | Reject blocks with committed evidence (#37) | 6 years ago |
store_test.go | Sec/bucky/35 commit duplicate evidence (#36) | 6 years ago |
wire.go | alias amino imports (#3219) | 6 years ago |