tendermint/types
Adrian Brink 32311acd01 Vulnerability in light client proxy (#1081)
* Vulnerability in light client proxy

When calling GetCertifiedCommit the light client proxy would call
Certify and even on error return the Commit as if it had been correctly
certified.

Now it returns the error correctly and returns an empty Commit on error.

* Improve names for clarity

The lite package now contains StaticCertifier, DynamicCertifier and
InqueringCertifier. This also changes the method receivers from one
letter to two letter names, which will make future refactoring easier
and follows the coding standards.

* Fix test failures

* Rename files

* remove dead code
2018-01-09 10:36:11 -06:00
..
block.go types: evidence cleanup 2017-12-26 20:26:21 -05:00
block_meta.go types: comments 2017-09-22 12:00:37 -04:00
block_test.go fixes from rebase 2017-12-26 20:42:34 -05:00
canonical_json.go Cleanup canonical json 2017-12-12 12:59:51 +01:00
event_buffer.go some minor changes 2017-10-30 22:52:03 -04:00
event_buffer_test.go new pubsub package 2017-10-30 00:32:22 -05:00
event_bus.go bring back transparent websocket (Refs #945) 2017-12-10 01:18:10 -06:00
event_bus_test.go fixes from Bucky's and Emmanuel's reviews 2017-10-30 11:12:01 -05:00
events.go move fireEvents to ApplyBlock 2017-12-28 23:15:54 -05:00
evidence.go state: send byzantine validators in BeginBlock 2017-12-29 11:26:55 -05:00
evidence_test.go fixes from rebase 2017-12-26 20:42:34 -05:00
genesis.go make AppOptions an interface{} 2017-10-16 10:58:52 +04:00
genesis_test.go Updates -> ValidatoSetUpdates 2017-12-19 13:03:39 -06:00
heartbeat.go int64 height 2017-12-01 19:04:53 -06:00
heartbeat_test.go pass tests! 2017-11-27 22:39:12 +00:00
keys.go types: comments 2017-09-22 12:00:37 -04:00
nop_event_bus.go new pubsub package 2017-10-30 00:32:22 -05:00
params.go fixes from rebase 2017-12-26 20:42:34 -05:00
params_test.go fix test 2017-12-21 17:52:06 -05:00
part_set.go more linting 2017-11-27 22:39:12 +00:00
part_set_test.go all: no more anonymous imports 2017-10-04 16:40:45 -04:00
priv_validator.go Vulnerability in light client proxy (#1081) 2018-01-09 10:36:11 -06:00
priv_validator_test.go priv-val: fix timestamp for signing things that only differ by timestamp 2018-01-08 16:36:16 -05:00
proposal.go Add timestamp to vote canonical encoding 2017-12-12 12:59:51 +01:00
proposal_test.go Add more tests for Proposal/Vote serialization 2017-12-12 12:59:51 +01:00
protobuf.go save historical consensus params 2017-12-21 17:46:25 -05:00
results.go call it LastResultsHash 2017-12-26 19:53:26 -05:00
results_test.go Add /block_results?height=H as rpc endpoint 2017-12-26 19:24:25 -05:00
services.go fix EvidencePool and VerifyEvidence 2017-12-28 23:15:54 -05:00
signable.go all: no more anonymous imports 2017-10-04 16:40:45 -04:00
test_util.go forgot file 2017-12-21 16:49:47 -05:00
tx.go types: tx.go comments 2017-12-26 20:21:17 -05:00
tx_test.go all: no more anonymous imports 2017-10-04 16:40:45 -04:00
validator.go linting: apply misspell 2017-11-27 22:39:11 +00:00
validator_set.go add safe*Clip funcs 2017-12-26 14:13:12 -06:00
validator_set_test.go add safe*Clip funcs 2017-12-26 14:13:12 -06:00
vote.go types: better error messages for votes 2017-12-27 14:46:24 -05:00
vote_set.go types: better error messages for votes 2017-12-27 14:46:24 -05:00
vote_set_test.go separate block vs state based validation 2017-12-21 16:49:47 -05:00
vote_test.go types: Add test for IsVoteTypeValid 2017-12-21 18:13:31 +01:00