Ethan Buchman
f2bfa83b42
Merge pull request #116 from tendermint/remove-logger-package
remove deprecated logger package
7 years ago
Zach Ramsay
a84bc2f5b2
logger is deprecated, removed; closes #115
7 years ago
Ethan Buchman
9f72e25b23
readme
7 years ago
Ethan Buchman
35e6f11ad4
changelog and version
7 years ago
Ethan Buchman
b54da51c0c
Merge pull request #111 from tendermint/timers_jae
WIP RepeatTimer fix
7 years ago
Ethan Buchman
92c17f3f25
give test more time
7 years ago
Ethan Buchman
71f13cc071
drop metalinter
7 years ago
Jae Kwon
a171d90611
Fix possibly incorrect usage of conversion
7 years ago
Ethan Buchman
558f8e7769
fix recursion
7 years ago
Ethan Buchman
76433d9040
little things
7 years ago
Jae Kwon
6b5d08f7da
RepeatTimer fix
7 years ago
Ethan Buchman
6372c415a5
Merge pull request #113 from tendermint/hotfix/clist
Fix #112 by using RWMutex per element
7 years ago
Jae Kwon
e47ce81422
Comment fixes from Emmanuel
7 years ago
Jae Kwon
0f8ebd024d
Update clist.go
Add more justification of synchrony primitives in documentation.
7 years ago
Jae Kwon
2fd8f35b74
Fix #112 by using RWMutex per element
7 years ago
Ethan Buchman
218acc2224
Merge pull request #107 from tendermint/fix/cmn
Fix/cmn
7 years ago
Ethan Buchman
e2d7f1aa41
cmn: fix race
7 years ago
Ethan Buchman
b0b740210c
cmn: fix repeate timer test with manual ticker
7 years ago
Ethan Buchman
a25ed5ba1b
cmn: fix race condition in prng
7 years ago
Anton Kaliaev
c8ddf156a7
Merge pull request #104 from tendermint/revert-94-feature/timer-refactor
Revert "Refactor throttle timer"
7 years ago
Anton Kaliaev
e17e8e425f
Revert "Refactor throttle timer"
7 years ago
Anton Kaliaev
be2b0fa31e
Merge pull request #103 from tendermint/revert-95-feature/repeat-timer
Revert "Refactor repeat timer"
7 years ago
Anton Kaliaev
70e30f74e6
Revert "Refactor repeat timer"
7 years ago
Anton Kaliaev
4ddf212286
Merge pull request #100 from tendermint/internal-randSource
common: no more relying on math/rand.DefaultSource
7 years ago
Emmanuel Odeke
8638961f02
common: Rand* warnings about cryptographic unsafety
Lesson articulated by @jaekwon on why we need 80 bits
of entropy at least before we can think of cryptographic
safety. math/rand's seed is a max of 64 bits so can never
be cryptographically secure.
Also added some benchmarks for RandBytes
7 years ago
Emmanuel Odeke
cdc7988823
common: use genius simplification of tests from @ebuchman
Massive test simplication for more reliable tests from @ebuchman
7 years ago
Ethan Buchman
b5f465b4ec
common: use names prng and mrand
7 years ago
Emmanuel Odeke
29471d75cb
common: no more relying on math/rand.DefaultSource
Fixes https://github.com/tendermint/tmlibs/issues/99
Updates https://github.com/tendermint/tendermint/issues/973
Removed usages of math/rand.DefaultSource in favour of our
own source that's seeded with a completely random source
and is safe for use in concurrent in multiple goroutines.
Also extend some functionality that the stdlib exposes such as
* RandPerm
* RandIntn
* RandInt31
* RandInt63
Also added an integration test whose purpose is to be run as
a consistency check to ensure that our results never repeat
hence that our internal PRNG is uniquely seeded each time.
This integration test can be triggered by setting environment variable:
`TENDERMINT_INTEGRATION_TESTS=true`
for example
```shell
TENDERMINT_INTEGRATION_TESTS=true go test
```
7 years ago
Anton Kaliaev
a80b66268f
Merge pull request #97 from tendermint/rm-root-flag
remove deprecated --root flag
7 years ago
Anton Kaliaev
541780c6df
uncomment tests
7 years ago
Zach Ramsay
f39b575503
remove deprecated --root flag
7 years ago
Ethan Buchman
d836ee056d
Merge pull request #96 from tendermint/tm-945
add String method to Query interface
7 years ago
Anton Kaliaev
e4ef2835f0
return error if client already subscribed
7 years ago
Anton Kaliaev
cb4ba522ef
add String method to Query interface
Required for https://github.com/tendermint/tendermint/issues/945
7 years ago
Anton Kaliaev
b49bce2bc3
Merge pull request #95 from tendermint/feature/repeat-timer
Refactor repeat timer
7 years ago
Anton Kaliaev
ff2fd63bf7
rename trySend to send
7 years ago
Ethan Frey
ec4adf21e0
Cleanup from PR comments
7 years ago
Ethan Frey
cc7a87e27c
Use Ticker in Repeat again to avoid drift
7 years ago
Ethan Frey
8797197cdf
No more blocking on multiple Stop()
7 years ago
Ethan Frey
887d766c86
Refactored RepeatTimer, tests hang
7 years ago
Anton Kaliaev
daa6c39dcb
Merge pull request #94 from tendermint/feature/timer-refactor
Refactor throttle timer
7 years ago
Anton Kaliaev
3779310c72
return back output internal channel (way go does with Timer)
7 years ago
Ethan Frey
8b518fadb2
Don't close throttle channel, explain why
7 years ago
Ethan Frey
e430d3f844
One more attempt with a read-only channel
7 years ago
Ethan Frey
1ac4c5dd6d
Made throttle output non-blocking
7 years ago
Ethan Frey
0a8721113a
First pass of PR updates
7 years ago
Ethan Frey
4ec7883891
Cleanup
7 years ago
Ethan Frey
dcb4395604
Refactor throttle timer
7 years ago
Ethan Frey
3d9113c16e
Add a bit more padding to tests so they pass on osx with -race
7 years ago
Ethan Buchman
bfcc0217f1
Merge pull request #93 from tendermint/release/0.5.0
Release/0.5.0
7 years ago