Anton Kaliaev
6a85aecfb7
fix linter issues
6 years ago
Anton Kaliaev
d103aaf53f
add test for Vote#Verify
remove test for String (very brittle)
6 years ago
Anton Kaliaev
17e1df0cbd
test validator set more thoroughly
Refs #693
6 years ago
Anton Kaliaev
ff8ddee708
rename privval#GetAddress and GetPubKey to Address and PubKey
6 years ago
Anton Kaliaev
20bb522592
add tests for ABCIResults#Bytes and tx#IndexByHash
6 years ago
Anton Kaliaev
715ec19c96
add tests for protobuf
Refs #693
6 years ago
Anton Kaliaev
d51b196992
improve part set tests
Refs #693
6 years ago
Anton Kaliaev
5a4459935b
add a test for ConsensusParams#Update
Refs #693
6 years ago
Anton Kaliaev
3132f7fad4
add tests for genesis
Refs #693
6 years ago
Anton Kaliaev
80399e60fb
add tests for events public funcs
Refs #693
6 years ago
Anton Kaliaev
b271c40783
remove deprecated `app_options` field from genesis
6 years ago
Anton Kaliaev
37ce4e549e
add more tests for evidence
Refs #693
6 years ago
Anton Kaliaev
e4db5f8dcd
test event bus
Refs #693
6 years ago
Anton Kaliaev
6fe8ea966a
remove events we do not emit
6 years ago
Anton Kaliaev
1377ef1e1f
remove unused TxEventBuffer
6 years ago
Anton Kaliaev
95980d944b
[types] add tests for Block and Commit
Refs #693
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Ethan Buchman
ec710395b7
RIPEMD160 -> SHA256
6 years ago
Ethan Buchman
d55243f0e6
fix import paths
6 years ago
Anton Kaliaev
2d98899b9b
set MaxTxs to 10000 (the same that was used in the config before)
6 years ago
Anton Kaliaev
297cd4cfe8
limit HTTP request body and WS read msg size to 1MB
6 years ago
Anton Kaliaev
9563927bbd
print only tx's hash and size when logging blocks
Closes #1799
6 years ago
Jae Kwon
8524a8da7f
Try to fix circle...
6 years ago
Jae Kwon
bf0ff212b9
Refactor "lite" to handle delayed validator set changes.
Also, fix consensus liveness issue.
7 years ago
Jae Kwon
a5b7ea93c4
Delay validator set changes by 1 block.
7 years ago
Jae Kwon
8128627f08
Optimizing blockchain reactor.
Should be paired with https://github.com/tendermint/iavl/pull/65 .
7 years ago
Alexander Simmerl
a605b66c5a
Move abci imports
7 years ago
Alexander Simmerl
3e1baf68f8
crypto: Rename last traces of go-crypto ( #1786 )
Follow-up to #1782
7 years ago
Liamsi
a39b2522d5
review comments:
- re-add test
- add TODO
- err instead of panic where possible
7 years ago
Liamsi
c96b27136f
remove go-crypto from go-crypto:
use tendermint/crypto :-)
7 years ago
Liamsi
d2c05bc5b9
Revert "delete everything" (includes everything non-go-crypto)
This reverts commit 96a3502
7 years ago
Liamsi
96a3502126
delete everything
7 years ago
Anton Kaliaev
489d9b9184
more metrics
7 years ago
Anton Kaliaev
aaddf5d32f
set pubsub default capacity to 0
Refs #951
Jae: I don't know a good way to catch these errors in general, but
forcing pubsub's internal channel to have a capacity of 0 will reveal
bugs sooner, if the subscriber also has a 0 or small capacity ch to pull
from.
7 years ago
Ethan Buchman
a519825bf8
consensus: fixes #1754
* updateToState exits early if the state isn't new, which happens after
* fast syncing. This results in not sending a NewRoundStep message. The mempool
* reactor depends on PeerState, which is updated by NewRoundStep
* messages. If the peer never sends a NewRoundStep, the mempool reactor
* will think they're behind, and never forward transactions. Note this
* only happens when `create_empty_blocks = false`, because otherwise
* peers will move through the consensus state and send a NewRoundStep
* for a new step soon anyways. Simple fix is just to send the
* NewRoundStep message during updateToState even if exit early
7 years ago
ia
b5775b56c6
all: gofmt ( #1743 )
* all: gofmt
Run 'gofmt -w .' from project root.
* Update changelog to say that I ran gofmt
* Revert "Update changelog to say that I ran gofmt"
This reverts commit 956f133ff0
.
7 years ago
Ethan Buchman
76c82fd433
add more tests
7 years ago
Ethan Buchman
9481cabd50
fixes from review
7 years ago
Ethan Buchman
fcf61b8088
check addrs match pubkeys in abci Validator. version bump
7 years ago
Ethan Buchman
8e45348737
update for abci v0.11.0 release. let InitChain update validators
7 years ago
Ethan Buchman
2edc68c59b
use all fields in abci types
7 years ago
Ethan Buchman
72330e6609
val_set_hash -> validators_hash
7 years ago
Ethan Buchman
2897685c57
abci header takes ValidatorsHash
7 years ago
Ethan Buchman
8fa7c493bc
add val_set_hash to header
7 years ago
Ethan Buchman
54e61468d4
fixes from review
7 years ago
Ethan Buchman
5c7ccbd4a7
use const for abci type strings
7 years ago
Ethan Buchman
aa8be33da1
fix fmt
7 years ago
Ethan Buchman
3d2c4fd309
update Evidence type - requires pubkey and valset to verify and convert to abci.Evidence
7 years ago
Ethan Buchman
e1e6878a4d
fix state tests
7 years ago