Ethan Buchman
1afc034006
Merge pull request #119 from tendermint/sdk2
Sdk2
7 years ago
Ethan Buchman
2bb538b150
cmn: fix HexBytes.MarshalJSON
7 years ago
Ethan Buchman
1460540acd
metalinter is for another time
7 years ago
Ethan Buchman
1838db2880
circle
7 years ago
Ethan Buchman
7fe3d5dac2
metalinter
7 years ago
Ethan Buchman
a991e2fe9c
Merge branch 'develop' into sdk2
7 years ago
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
91b4b534ad
Merge pull request #118 from tendermint/develop
v0.6.0
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
b31397aff5
Fix GoLevelDB Iterator which needs to copy a temp []byte
7 years ago
Jae Kwon
e47ce81422
Comment fixes from Emmanuel
7 years ago
Jae Kwon
93c05aa8c0
Add back on HexBytes
7 years ago
Jae Kwon
b25df389db
Remove Bytes, just use []byte; Use protobuf for KVPair/KI64Pair
7 years ago
Jae Kwon
bf644b0984
Do not shadow assert
7 years ago
Jae Kwon
6ec8c1602f
Update Makefile
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
Jae Kwon
797bcdd9e0
Remove common/http
7 years ago
Jae Kwon
f2a8e95248
Add KI64Pair(s)
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
Jae Kwon
b70ae4919b
Update glide file
7 years ago
Jae Kwon
ca56a274bd
Nil bytes are OK for Get/Set etc
And s/Release/Close/g
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
Jae Kwon
4ce8448d7f
Nil keys are OK, deprecate BeginningKey/EndingKey ( #101 )
* Nil keys are OK, deprecate BeginningKey/EndingKey
7 years ago
Jae Kwon
aab2d70dd3
Sdk2 kvpair ( #102 )
* Canonical KVPair in common
* Simplify common/Bytes to just hex encode
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
Ethan Buchman
e3bffd8fbd
readme
7 years ago
Ethan Buchman
9226659413
Merge pull request #98 from tendermint/sdk2-iterator
Sdk2 iterator
7 years ago
Ethan Buchman
66b0e8fa2d
fix c level db iterator
7 years ago
Ethan Buchman
225eace316
dont run metalinter on circle ...
7 years ago
Emmanuel Odeke
a7b20d4e46
db: Simplify exists check, fix IsKeyInDomain signature, Iterator Close
+ *FSDB.HasKey now uses common.FileExists to test for file existence
+ IsKeyInDomain takes key as a []byte slice instead of as a string
to avoid extraneous []byte<-->string conversions for start and end
+ Iterator.Close() instead of Iterator.Release()
+ withDB helper to encapsulate DB creation, deferred cleanups
so that for loops can use opened DBs and discard them ASAP
Addressing accepted changes from review with @jaekwon
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