Dev Ojha
dae7dc30e0
Switch usage of math/rand to cmn's rand ( #1980 )
This commit switches all usage of math/rand to cmn's rand. The only
exceptions are within the random file itself, the tools package, and the
crypto package. In tools you don't want it to lock between the go-routines.
The crypto package doesn't use it so the crypto package have no other
dependencies within tendermint/tendermint for easier portability.
Crypto/rand usage is unadjusted.
Closes #1343
6 years ago
Dev Ojha
14cebd181d
config: 10x default send/recv rate ( #1978 )
* config: 10x default send/recv rate
This increases the default send/recv rate from 512 kB/s to 5.12 mB/s
Closes #1752
* Fix typo
6 years ago
Ethan Buchman
522a425708
Merge pull request #1975 from tendermint/bucky/1951-fix-protoc-libs
makefile: fix protoc_libs
6 years ago
Ethan Buchman
0fbcbb3aeb
makefile: fix protoc_libs
6 years ago
Ethan Buchman
8a5930ad72
Merge pull request #1974 from tendermint/master
Merge master back to develop
6 years ago
Ethan Buchman
c64a3c74c8
Merge pull request #1972 from tendermint/release/v0.22.4
Release/v0.22.4
6 years ago
Ethan Buchman
722f8a1b6f
Merge pull request #1973 from tendermint/bucky/fix-pubsub-stop
fix stopping pubsub
6 years ago
Ethan Buchman
d903057011
fix stopping pubsub
6 years ago
Ethan Buchman
74106c8bea
update changelog
6 years ago
Ethan Buchman
94006855d1
changelog and version
6 years ago
Ethan Buchman
a963af4c46
Merge pull request #1968 from tendermint/dev/tmbench_refactor_statistics
tools/tmbench: Move statistics to a seperate file
6 years ago
Ethan Buchman
a1400aee73
Merge pull request #1964 from tendermint/dev/tmbench_improve_sendloop_efficiency
tools/tmbench: Improve accuracy with large tx sizes.
6 years ago
Ethan Buchman
789666ef78
Merge pull request #1936 from tendermint/693-ensure-types-are-covered
Ensure all funcs in types pkg are well guarded (Part 1)
6 years ago
Ethan Buchman
c66e1514de
Merge branch 'develop' into 693-ensure-types-are-covered
6 years ago
Ethan Buchman
a163f08e4e
Merge pull request #1970 from tendermint/bucky/consensus-stop-wait
consensus: wait on stop if not fastsync
6 years ago
Ethan Buchman
9b0b0b02d0
consensus: wait on stop if not fastsync
6 years ago
Ethan Buchman
5439da6323
Merge pull request #1971 from tendermint/master
Merge master back to develop
6 years ago
Zach
9703a8825d
rm script that Jenkins will replace ( #1967 )
6 years ago
ValarDragon
9035546884
Merge remote-tracking branch 'origin/develop' into dev/tmbench_improve_sendloop_efficiency
6 years ago
ValarDragon
aff063b79b
tools/tmbench: Move statistics to a seperate file
This PR moves statistics to its own file, seperates getBlockMetas
into its own function, and removes the timeEnd parameter from
calculate statistics. The ending time is now computed directly from
the start time and the duration, to enforce that we only collect
data for the provided duration.
6 years ago
ValarDragon
66c4f7aeae
Remove gopkg stuff, should hopefully get these tests in test_cover
6 years ago
Dev Ojha
262c8daa04
tools/tm-bench: Don't count the first block if its empty ( #1948 )
* tools/tm-bench: Don't count the first block if its empty
* Try melekes suggestion
* Fix getting the start time so the first block is no longer empty
* Fix changelog entry
* Make code smell better
* tools/tmbench: Fix the end time being used for statistics calculation
Previously we were using the time at which all connections closed in statistics, not
the time after {duration} seconds.
* Use waitgroups for starting up
6 years ago
ValarDragon
1dbe7b7e68
tools/tmbench: Improve accuracy with large tx sizes.
At larger tx sizes (e.g. > 10000) we were spending non-neglible
amounts of time in tx creation, due to making the final bytes random.
The slower the send loop, the less accurate it is at measuring the time
tendermint took. (As we can't reach the promised contract of the given rate)
There really isn't much need for that randomness, so this PR makes it
such that only the txNumber gets bumped between txs from the same
connection, thereby improving sendloop speed and accuracy.
6 years ago
ValarDragon
93a3f701fe
Merge branch 'dev/tm_bench_ignore_first_block_if_empty' into dev/tmbench_fix_end_time
6 years ago
ValarDragon
e46ae15859
Use waitgroups for starting up
6 years ago
ValarDragon
75c9303c68
tools/tmbench: Fix the end time being used for statistics calculation
Previously we were using the time at which all connections closed in statistics, not
the time after {duration} seconds.
6 years ago
ValarDragon
bd050c1d03
Make code smell better
6 years ago
Anton Kaliaev
3ffda994c2
Revert "rename privval#GetAddress and GetPubKey to Address and PubKey"
This reverts commit 58d0c8de89
.
6 years ago
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
ValarDragon
7a7f5782bc
Fix changelog entry
6 years ago
ValarDragon
e785d6851c
Fix getting the start time so the first block is no longer empty
6 years ago
ValarDragon
f04a087546
Try melekes suggestion
6 years ago
ValarDragon
94c8dd1c55
Merge remote-tracking branch 'origin/develop' into dev/tm_bench_ignore_first_block_if_empty
6 years ago
Zach
bbf2bd1d81
Deprecate/refactor content in docs/specification ( #1934 )
* docs: deprecate specification dir, closes #1814
* update genesis
* old spec dir, deprecation complete
* rm a file
6 years ago
Alexander Simmerl
4f7fac8076
Merge pull request #1950 from tendermint/1891-follow-up
remove print statements
6 years ago