tendermint/types
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
..
proto3 Update to amino 0.14.0 (#2710) 2018-10-29 09:16:50 -04:00
time types/time: add note about stripping monotonic part 2018-09-06 17:58:52 -04:00
block.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
block_meta.go
block_test.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
canonical.go Simplify proposal msg (#2735) 2018-10-31 10:27:11 -04:00
encoding_helper.go crypto/merkle: Remove byter in favor of plain byte slices (#2595) 2018-10-10 12:46:09 -04:00
event_bus.go Introduce EventValidBlock for informing peers about wanted block (#2652) 2018-10-31 09:20:36 -04:00
event_bus_test.go
events.go Introduce EventValidBlock for informing peers about wanted block (#2652) 2018-10-31 09:20:36 -04:00
events_test.go
evidence.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
evidence_test.go Introduce EventValidBlock for informing peers about wanted block (#2652) 2018-10-31 09:20:36 -04:00
genesis.go [types] add Address to GenesisValidator (#2418) 2018-09-18 11:59:52 +04:00
genesis_test.go conesnsu: follow up to removing some consensus params (#2427) 2018-09-21 11:00:36 +02:00
heartbeat.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
heartbeat_test.go Catch up with amino 0.13.0 (#2690) 2018-10-24 21:34:01 -04:00
keys.go
params.go Add ValidatorPubkeyTypes as a consensus param (#2636) 2018-10-30 11:36:53 -04:00
params_test.go Add ValidatorPubkeyTypes as a consensus param (#2636) 2018-10-30 11:36:53 -04:00
part_set.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
part_set_test.go
priv_validator.go privval: Switch to amino encoding in SignBytes (#2459) 2018-09-28 19:57:29 -04:00
proposal.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
proposal_test.go Simplify proposal msg (#2735) 2018-10-31 10:27:11 -04:00
proto3_test.go
protobuf.go Add ValidatorPubkeyTypes as a consensus param (#2636) 2018-10-30 11:36:53 -04:00
protobuf_test.go Add ValidatorPubkeyTypes as a consensus param (#2636) 2018-10-30 11:36:53 -04:00
results.go Catch up with amino 0.13.0 (#2690) 2018-10-24 21:34:01 -04:00
results_test.go Update to Amino v0.13.0-rc0 (#2687) 2018-10-23 13:21:47 -04:00
signable.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
signed_msg_type.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
test_util.go [R4R] Fixed sized and reordered fields for Vote/Proposal/Heartbeat SignBytes (#2598) 2018-10-12 19:21:46 -04:00
tx.go Make txs and evidencelist use merkle.SimpleHashFromBytes to create hash (#2635) 2018-10-15 16:42:47 -04:00
tx_test.go Catch up with amino 0.13.0 (#2690) 2018-10-24 21:34:01 -04:00
validation.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
validator.go TMHASH is 32 bytes. Closes #1990 (#2732) 2018-10-31 12:42:05 -04:00
validator_set.go [R4R] Fixed sized and reordered fields for Vote/Proposal/Heartbeat SignBytes (#2598) 2018-10-12 19:21:46 -04:00
validator_set_test.go Catch up with amino 0.13.0 (#2690) 2018-10-24 21:34:01 -04:00
vote.go validate reactor messages (#2711) 2018-11-01 02:07:18 -04:00
vote_set.go [R4R] Fixed sized and reordered fields for Vote/Proposal/Heartbeat SignBytes (#2598) 2018-10-12 19:21:46 -04:00
vote_set_test.go [R4R] Fixed sized and reordered fields for Vote/Proposal/Heartbeat SignBytes (#2598) 2018-10-12 19:21:46 -04:00
vote_test.go TMHASH is 32 bytes. Closes #1990 (#2732) 2018-10-31 12:42:05 -04:00
wire.go separate mock evidence from real evidence (#2571) 2018-10-09 14:10:05 +02:00