Marko
6d91c1faf4
* evidence: introduce time.Duration to evidence params - add time.duration to evidence - this pr is taking pr #2606 and updating it to use both time and height - closes #2565 Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * fix testing and genesis cfg in signer harness * remove debugging fmt * change maxageheight to maxagenumblocks, rename other things to block instead of height * further check of duration * check duration to not send peers outdated evidence * change some lines, onward and upward * refactor evidence package * add a changelog pending entry * make mockbadevidence have time and use it * add what could possibly be called a test case * remove mockbadevidence and mockgoodevidence in favor of mockevidence * add a comment for err that is returned * add a changelog for removal of good & bad evidence * add a test for adding evidence * fix test * add ev to types in testcase * Update evidence/pool_test.go Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> * Update evidence/pool_test.go Co-Authored-By: Anton Kaliaev <anton.kalyaev@gmail.com> * fix tests * fix linting Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com> |
5 years ago | |
---|---|---|
.. | ||
codec.go | linters: enable stylecheck (#4153) | 5 years ago |
doc.go | node: allow replacing existing p2p.Reactor(s) (#3846) | 5 years ago |
id.go | lint: Enable Golint (#4212) | 5 years ago |
node.go | cli: add optional `--genesis_hash` flag to check genesis hash upon startup (#4238) | 5 years ago |
node_test.go | evidence: introduce time.Duration to evidence params (#4254) | 5 years ago |