tendermint/blockchain
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 libs: Remove usage of custom Fmt, in favor of fmt.Sprintf (#2199) 2018-08-10 09:25:57 +04:00
pool_test.go Merge pull request #1965 from tendermint/693-part-2 2018-07-20 17:42:42 +02:00
reactor.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
reactor_test.go p2p: Restore OriginalAddr (#2668) 2018-10-18 18:26:32 -04:00
store.go Catch up with amino 0.13.0 (#2690) 2018-10-24 21:34:01 -04:00
store_test.go Implement BFT time (#2203) 2018-08-31 19:33:51 -04:00
wire.go Fix 0.22.7, bump to 0.22.8 2018-07-26 18:08:09 -07:00