tendermint/consensus
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
..
types validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
README.md
byzantine_test.go Simplify proposal msg (#2735) 2018-10-31 10:27:11 -04:00
common_test.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
mempool_test.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
metrics.go
reactor.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
reactor_test.go
replay.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
replay_file.go
replay_test.go Simplify proposal msg (#2735) 2018-10-31 10:27:11 -04:00
state.go Simplify proposal msg (#2735) 2018-10-31 10:27:11 -04:00
state_test.go Simplify proposal msg (#2735) 2018-10-31 10:27:11 -04:00
ticker.go
wal.go
wal_fuzz.go
wal_generator.go
wal_test.go
wire.go

README.md

See the consensus spec and the reactor consensus spec for more information.