Emmanuel Odeke
763dc21393
common/BitArray: reduce fragility with methods
Fixes https://github.com/tendermint/tmlibs/issues/145
Fixes https://github.com/tendermint/tmlibs/issues/146
The code in here has been fragile when it comes to nil
but these edge cases were never tested, although they've
showed up in the wild and were only noticed because
the reporter actually read the logs otherwise
we'd have never known.
This changes covers some of these cases and adds some tests.
7 years ago
Ethan Buchman
1d7fc78ea1
update glide
7 years ago
Ethan Buchman
690d6c6070
cli: WriteDemoConfig -> WriteConfigVals
7 years ago
Ethan Buchman
027c37281d
Merge pull request #123 from tendermint/sdk2
Merge sdk2 into develop
7 years ago
Ethan Buchman
1b5176003a
DbBackend -> DBBackend
7 years ago
Adrian Brink
cbc63518e5
Export DbBackendType in order to fix IAVL tests
7 years ago
Adrian Brink
2e76546223
Clean up glide.yaml
7 years ago
Anton Kaliaev
95b53c80e1
Merge pull request #140 from tendermint/sdk2-hashers-and-simple-map
Sdk2 hashers and simple map
7 years ago
Anton Kaliaev
9ccfe161ad
lowercase memDB type key
7 years ago
Jae Kwon
f6dbe9ba05
Refactor string -> dbBackendType
7 years ago
Jae Kwon
b95cac5f4f
Remove unnecessary Byteser interface
7 years ago
Jae Kwon
c75298e359
Update SimpleMap to hash both keys and values for benefit; Hashable is Hasher; Don't assume go-wire
7 years ago
Jae Kwon
580c3db8f9
Hashable -> Hasher; SimpleMap upgrade; No "SimpleHashFromBinary" ( #128 )
* Update SimpleMap to hash both keys and values for benefit; Hashable is Hasher; Don't assume go-wire
7 years ago
Jae Kwon
7ef6d4b813
Glide update
7 years ago
Jae Kwon
ff230682d1
Fix logical time ( #122 )
Should fix a nondeterministic bug so...
7 years ago
Ethan Buchman
cfbb9338bd
use go-wire sdk2
7 years ago
Jae Kwon
6637c202bf
Revert "Update to use tmlibs sdk2"
This reverts commit ae58af0be5
.
Breaks the tests.
7 years ago
Jae Kwon
4e2a275a67
Update to use tmlibs sdk2
7 years ago
Jae Kwon
bcd8d403dc
Remove encoding from common cli
7 years ago
Ethan Buchman
13f009bf68
Merge pull request #136 from tendermint/fix-bitArray-nil-update
common: fix BitArray.Update to avoid nil dereference
7 years ago
Emmanuel Odeke
85be26c675
common: BitArray: feedback from @adrianbrink to simplify tests
7 years ago
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
7 years ago
Zach
fa8c374aff
Merge branch 'master' into develop
7 years ago
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