tendermint/evidence
Anton Kaliaev fb91ef7462 validate reactor messages (#2711)
* validate reactor messages

Refs #2683

* validate blockchain messages

Refs #2683

* validate evidence messages

Refs #2683

* todo

* check ProposalPOL and signature sizes

* add a changelog entry

* check addr is valid when we add it to the addrbook

* validate incoming netAddr (not just nil check!)

* fixes after Bucky's review

* check timestamps

* beef up block#ValidateBasic

* move some checks into bcBlockResponseMessage

* update Gopkg.lock

Fix

```
grouped write of manifest, lock and vendor: failed to export github.com/tendermint/go-amino: fatal: failed to unpack tree object 6dcc6ddc143e116455c94b25c1004c99e0d0ca12
```

by running `dep ensure -update`

* bump year since now we check it

* generate test/p2p/data on the fly using tendermint testnet

* allow sync chains older than 1 year

* use full path when creating a testnet

* move testnet gen to test/docker/Dockerfile

* relax LastCommitRound check

Refs #2737

* fix conflicts after merge

* add small comment

* some ValidateBasic updates

* fixes

* AppHash length is not fixed
2018-11-01 02:07:18 -04:00
..
pool.go Add ValidatorPubkeyTypes as a consensus param (#2636) 2018-10-30 11:36:53 -04:00
pool_test.go Add ValidatorPubkeyTypes as a consensus param (#2636) 2018-10-30 11:36:53 -04:00
reactor.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
reactor_test.go separate mock evidence from real evidence (#2571) 2018-10-09 14:10:05 +02:00
store.go fix evidence db iter leak (#2516) 2018-10-02 11:52:56 +04:00
store_test.go reap max bytes from the mempool & check transaction size 2018-08-31 16:01:21 +04:00
wire.go register evidence interface wherever its used 2018-07-26 18:53:19 -04:00