Zaki Manian
26f2ab65f8
Switch to dep from glide ( #155 )
2018-02-27 16:01:49 +04:00
Ethan Buchman
1b9b5652a1
changelog date
2018-02-20 22:00:20 -05:00
Ethan Buchman
3e79f9e198
Merge pull request #154 from tendermint/develop
...
v0.7.0 (aka "sdk2")
2018-02-20 21:55:52 -05:00
Ethan Buchman
c6163bdab2
version bump and changelog
2018-02-19 17:05:36 -05:00
Ethan Buchman
a0f652dc2e
Merge pull request #151 from tendermint/fix/nit
...
minor nit
2018-02-14 11:57:38 -05:00
Ethan Buchman
737c30c19d
minor nit
2018-02-12 19:12:24 -05:00
Ethan Buchman
c858b3ba78
Merge pull request #150 from tendermint/tm-1205-add-quit-method-to-service
...
add Quit method to Service interface
2018-02-12 18:39:26 -05:00
Anton Kaliaev
a57340ffb5
add Quit method to Service interface
...
remove deprecated QuitService
2018-02-12 11:40:42 +04:00
Anton Kaliaev
52ce4c20f8
Fix RepeatTimer memory leak ( #137 )
...
fix RepeatTimer memory leak (Refs #137 )
* test case
* drain channels on reset
Leaking memory:
```
leaktest.go:144: leaktest: leaked goroutine: goroutine 116 [chan send]:
github.com/tendermint/tmlibs/common.(*RepeatTimer).fireRoutine(0xc42006a410, 0xc4203403c0, 0xc42031b2c0)
/go/src/github.com/tendermint/tmlibs/common/repeat_timer.go:160 +0x6e
created by github.com/tendermint/tmlibs/common.(*RepeatTimer).reset
/go/src/github.com/tendermint/tmlibs/common/repeat_timer.go:196 +0xe9
```
The alternative solution could be draining channels on the client side.
* add one more select instead of draining
thanks to Jae
2018-02-09 13:31:32 +04:00
Ethan Buchman
82ab92da9a
Merge pull request #139 from tendermint/expose-channel-on-clist
...
add waitCh as an alternative to waitGroup
2018-02-09 01:18:39 -05:00
Ethan Buchman
35bb398b1f
Merge pull request #147 from tendermint/reduce-bitArray-fragility
...
common/BitArray: reduce fragility with methods
2018-02-08 15:31:30 -05:00
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.
2018-02-06 01:12:24 -08:00
Anton Kaliaev
19e818fdf7
Merge pull request #142 from tendermint/ishex-fragility
...
common: IsHex should be able to handle 0X prefixed strings
2018-02-05 13:14:53 +04:00
Anton Kaliaev
91b41ddd59
add waitCh as an alternative to waitGroup
...
new methods:
- [CList] WaitChan()
- [CElement] NextWaitChan()
- [CElement] PrevWaitChan()
Refs https://github.com/tendermint/tendermint/pull/1173
2018-02-05 11:36:36 +04:00
Ethan Buchman
deaaf014d8
Merge pull request #141 from tendermint/no-wire
...
merkle: remove go-wire dep by copying EncodeByteSlice
2018-02-03 01:57:27 -05:00
Emmanuel Odeke
951333ecb0
common: IsHex should be able to handle 0X prefixed strings
...
IsHex should also successfully decode strings prefixed with
0X instead of only 0x strings.
Also add tests generally for IsHex.
2018-02-02 23:41:24 -07:00
Ethan Buchman
d6d97889f2
merkle: remove go-wire dep by copying EncodeByteSlice
2018-02-03 01:29:39 -05:00
Ethan Buchman
1d7fc78ea1
update glide
2018-02-02 23:49:14 -05:00
Ethan Buchman
690d6c6070
cli: WriteDemoConfig -> WriteConfigVals
2018-02-02 23:05:28 -05:00
Ethan Buchman
027c37281d
Merge pull request #123 from tendermint/sdk2
...
Merge sdk2 into develop
2018-02-02 22:32:33 -05:00
Ethan Buchman
1b5176003a
DbBackend -> DBBackend
2018-02-02 22:31:17 -05:00
Adrian Brink
cbc63518e5
Export DbBackendType in order to fix IAVL tests
2018-02-02 18:50:24 +01:00
Adrian Brink
2e76546223
Clean up glide.yaml
2018-02-02 18:09:48 +01:00
Anton Kaliaev
95b53c80e1
Merge pull request #140 from tendermint/sdk2-hashers-and-simple-map
...
Sdk2 hashers and simple map
2018-02-02 14:15:56 +04:00
Anton Kaliaev
9ccfe161ad
lowercase memDB type key
2018-02-02 14:08:05 +04:00
Jae Kwon
f6dbe9ba05
Refactor string -> dbBackendType
2018-02-02 14:08:05 +04:00
Jae Kwon
b95cac5f4f
Remove unnecessary Byteser interface
2018-02-02 14:08:05 +04:00
Jae Kwon
c75298e359
Update SimpleMap to hash both keys and values for benefit; Hashable is Hasher; Don't assume go-wire
2018-02-02 14:08:05 +04:00
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
2018-02-02 12:51:30 +04:00
Jae Kwon
7ef6d4b813
Glide update
2018-02-02 12:51:30 +04:00
Jae Kwon
ff230682d1
Fix logical time ( #122 )
...
Should fix a nondeterministic bug so...
2018-02-02 12:51:30 +04:00
Ethan Buchman
cfbb9338bd
use go-wire sdk2
2018-02-02 12:51:30 +04:00
Jae Kwon
6637c202bf
Revert "Update to use tmlibs sdk2"
...
This reverts commit ae58af0be534a5c344896461b97a6490d428deb4.
Breaks the tests.
2018-02-02 12:51:30 +04:00
Jae Kwon
4e2a275a67
Update to use tmlibs sdk2
2018-02-02 12:51:30 +04:00
Jae Kwon
bcd8d403dc
Remove encoding from common cli
2018-02-02 12:51:29 +04:00
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