Ethan Buchman
13f009bf68
Merge pull request #136 from tendermint/fix-bitArray-nil-update
...
common: fix BitArray.Update to avoid nil dereference
2018-01-29 17:17:18 -05:00
Emmanuel Odeke
85be26c675
common: BitArray: feedback from @adrianbrink to simplify tests
2018-01-28 22:02:51 -07:00
Emmanuel Odeke
84afef20f5
common: fix BitArray.Update to avoid nil dereference
...
Update previously only checked that the receiver was
non-nil but didn't check that the input parameter to update
"o" was non-nil causing a nil dereference in cases such as
fe632ea32a/consensus/reactor.go (L306)
Fixes https://github.com/tendermint/tendermint/issues/1169
2018-01-28 10:39:42 -07:00
Zach
fa8c374aff
Merge branch 'master' into develop
2018-01-25 00:10:39 +00:00
Ethan Buchman
1afc034006
Merge pull request #119 from tendermint/sdk2
...
Sdk2
2018-01-02 11:37:17 -05:00
Ethan Buchman
2bb538b150
cmn: fix HexBytes.MarshalJSON
2018-01-02 11:05:53 -05:00
Ethan Buchman
1460540acd
metalinter is for another time
2018-01-02 11:05:39 -05:00
Ethan Buchman
1838db2880
circle
2018-01-02 10:53:56 -05:00
Ethan Buchman
7fe3d5dac2
metalinter
2018-01-02 10:48:36 -05:00
Ethan Buchman
a991e2fe9c
Merge branch 'develop' into sdk2
2018-01-02 10:29:04 -05:00
Ethan Buchman
f2bfa83b42
Merge pull request #116 from tendermint/remove-logger-package
...
remove deprecated logger package
2017-12-29 20:50:03 -05:00
Zach Ramsay
a84bc2f5b2
logger is deprecated, removed; closes #115
2017-12-29 16:25:15 +00:00
Ethan Buchman
9f72e25b23
readme
2017-12-29 16:25:15 +00:00
Ethan Buchman
91b4b534ad
Merge pull request #118 from tendermint/develop
...
v0.6.0
2017-12-29 11:05:12 -05:00
Ethan Buchman
35e6f11ad4
changelog and version
2017-12-29 11:01:37 -05:00
Ethan Buchman
b54da51c0c
Merge pull request #111 from tendermint/timers_jae
...
WIP RepeatTimer fix
2017-12-29 10:52:25 -05:00
Ethan Buchman
92c17f3f25
give test more time
2017-12-29 10:49:49 -05:00
Ethan Buchman
71f13cc071
drop metalinter
2017-12-29 10:42:02 -05:00
Jae Kwon
a171d90611
Fix possibly incorrect usage of conversion
2017-12-29 10:28:00 -05:00
Ethan Buchman
558f8e7769
fix recursion
2017-12-29 10:28:00 -05:00
Ethan Buchman
76433d9040
little things
2017-12-29 10:28:00 -05:00
Jae Kwon
6b5d08f7da
RepeatTimer fix
2017-12-29 10:27:54 -05:00
Ethan Buchman
6372c415a5
Merge pull request #113 from tendermint/hotfix/clist
...
Fix #112 by using RWMutex per element
2017-12-28 22:23:02 -05:00
Jae Kwon
b31397aff5
Fix GoLevelDB Iterator which needs to copy a temp []byte
2017-12-28 18:30:56 -08:00
Jae Kwon
e47ce81422
Comment fixes from Emmanuel
2017-12-28 03:05:55 -08:00
Jae Kwon
93c05aa8c0
Add back on HexBytes
2017-12-27 13:52:32 -08:00
Jae Kwon
b25df389db
Remove Bytes, just use []byte; Use protobuf for KVPair/KI64Pair
2017-12-26 04:40:35 -08:00
Jae Kwon
bf644b0984
Do not shadow assert
2017-12-26 00:36:58 -08:00
Jae Kwon
6ec8c1602f
Update Makefile
2017-12-25 22:41:40 -08:00
Jae Kwon
0f8ebd024d
Update clist.go
...
Add more justification of synchrony primitives in documentation.
2017-12-25 22:28:15 -08:00
Jae Kwon
2fd8f35b74
Fix #112 by using RWMutex per element
2017-12-25 21:12:14 -08:00
Jae Kwon
797bcdd9e0
Remove common/http
2017-12-25 17:46:21 -08:00
Jae Kwon
f2a8e95248
Add KI64Pair(s)
2017-12-25 11:40:05 -08:00
Ethan Buchman
218acc2224
Merge pull request #107 from tendermint/fix/cmn
...
Fix/cmn
2017-12-21 16:30:45 -05:00
Ethan Buchman
e2d7f1aa41
cmn: fix race
2017-12-21 14:21:15 -05:00
Ethan Buchman
b0b740210c
cmn: fix repeate timer test with manual ticker
2017-12-21 11:15:17 -05:00
Ethan Buchman
a25ed5ba1b
cmn: fix race condition in prng
2017-12-21 10:02:25 -05:00
Jae Kwon
b70ae4919b
Update glide file
2017-12-19 20:47:22 -08:00
Jae Kwon
ca56a274bd
Nil bytes are OK for Get/Set etc
...
And s/Release/Close/g
2017-12-19 20:36:37 -08:00
Anton Kaliaev
c8ddf156a7
Merge pull request #104 from tendermint/revert-94-feature/timer-refactor
...
Revert "Refactor throttle timer"
2017-12-19 16:32:21 -06:00
Anton Kaliaev
e17e8e425f
Revert "Refactor throttle timer"
2017-12-19 16:23:20 -06:00
Anton Kaliaev
be2b0fa31e
Merge pull request #103 from tendermint/revert-95-feature/repeat-timer
...
Revert "Refactor repeat timer"
2017-12-19 16:22:48 -06:00
Anton Kaliaev
70e30f74e6
Revert "Refactor repeat timer"
2017-12-19 16:16:16 -06:00
Anton Kaliaev
4ddf212286
Merge pull request #100 from tendermint/internal-randSource
...
common: no more relying on math/rand.DefaultSource
2017-12-19 12:54:54 -06:00
Jae Kwon
4ce8448d7f
Nil keys are OK, deprecate BeginningKey/EndingKey ( #101 )
...
* Nil keys are OK, deprecate BeginningKey/EndingKey
2017-12-17 13:11:28 -08:00
Jae Kwon
aab2d70dd3
Sdk2 kvpair ( #102 )
...
* Canonical KVPair in common
* Simplify common/Bytes to just hex encode
2017-12-17 13:04:15 -08:00
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
2017-12-15 22:41:36 -07:00
Ethan Buchman
e3bffd8fbd
readme
2017-12-16 00:04:06 -05:00
Ethan Buchman
9226659413
Merge pull request #98 from tendermint/sdk2-iterator
...
Sdk2 iterator
2017-12-15 15:58:48 -05:00
Ethan Buchman
66b0e8fa2d
fix c level db iterator
2017-12-15 15:58:23 -05:00