Anton Kaliaev
e0985bf566
flush on stop & function to close group
...
as opposite to OpenGroup
2018-06-05 17:11:06 -07:00
Ethan Buchman
d970af8724
Merge pull request #212 from tendermint/release/v0.8.3
...
Release/v0.8.3
2018-05-21 21:30:52 -04:00
Ethan Buchman
06cffa6acb
changelog and version
2018-05-21 21:38:02 -04:00
Jae Kwon
cc5f287c47
Add developer branch 0.8.3 to CHANGELOG
2018-04-23 02:36:49 -07:00
Jae Kwon
9b2a8f07a3
[common] Add ASCIITrim
2018-04-23 01:32:18 -07:00
Anton Kaliaev
d94e312673
add MarshalJSON and UnmarshalJSON to BitArray ( #200 )
...
See CHANGELOG
2018-04-23 00:16:05 -07:00
Jae Kwon
8fa4211bbd
Fixes TestParallelAbort nondeterministic failure #201 ( #202 )
2018-04-23 00:07:03 -07:00
Jae Kwon
e328006bfe
Jae/fixprefixdb ( #199 )
...
* Fix PrefixDB Iterator
* PrefixDB Iterator/ReverseIterator fixes
* Bump version 0.8.2
* Update CHANGELOG.md about DebugDB
* Keep invalid source to be closed
* Use prefixBatch instead of memBatch
2018-04-21 04:25:45 -07:00
Ethan Buchman
357648b8d6
Merge branch 'master' into develop
2018-04-09 16:03:08 +03:00
Ethan Buchman
50ad19541d
Merge pull request #198 from tendermint/release/v0.8.1
...
Release/v0.8.1
2018-04-09 15:47:27 +03:00
Ethan Buchman
0f92a01737
changelog dates
2018-04-09 15:51:54 +03:00
Thomas Corbière
75345c2046
Use an interface for tags. ( #195 )
...
* Use an interface for tags.
* rename TagSet to TagMap.
* add documentation to TagMap.
2018-04-09 14:36:40 +02:00
Sunny Aggarwal
a807b5db57
added PrefixEndBytes ( #186 )
...
* added PrefixToBytes
* added test
* added comment
2018-04-09 12:51:24 +02:00
Anton Kaliaev
40a73fa75c
Merge pull request #196 from tendermint/joon/simple-proofs-from-map
...
add SimpleProofsFromMap
2018-04-09 12:40:22 +02:00
mossid
50c521e706
expose KVPair
2018-04-05 21:56:29 +02:00
mossid
2861f795f5
add SimpleProofsFromMap
2018-04-05 21:30:15 +02:00
Jae Kwon
2e24b64fc1
Add IsEmpty; Publish 0.8.1
2018-04-05 03:14:53 -07:00
Jae Kwon
fb7bde9c24
Add cause in Error.Error()
2018-04-04 13:43:19 -07:00
Jae Kwon
390de81bbc
Release version 0.8.0
2018-04-04 12:30:13 -07:00
Ethan Buchman
5c3d3f0875
Merge pull request #194 from Tilkal/random-missing-methods
...
Random missing methods
2018-04-03 23:52:16 +03:00
Thomas Corbière
74486f7f93
Add Int63n() and RandInt63n().
2018-04-03 16:24:38 +02:00
Thomas Corbière
d66d43d2ea
Add Int31n() and RandInt31n().
2018-04-03 16:23:36 +02:00
Jae Kwon
f457435199
HexBytes formatting; Make computeHashFromAunts more defensive
2018-04-03 07:02:19 -07:00
Ethan Buchman
3cd4dcf13b
changelog
2018-04-03 16:23:41 +03:00
Ethan Buchman
b5e6f8a446
Merge pull request #191 from Tilkal/random-float64
...
Add Float64() and RandFloat64().
2018-04-03 16:15:06 +03:00
Ethan Buchman
f664b020cd
Merge pull request #189 from mohanson/patch-2
...
bug fix: WriteFileAtomic
2018-04-03 16:13:56 +03:00
Thomas Corbière
3375dac049
add Float64() and RandFloat64().
2018-04-03 14:09:50 +02:00
Mohanson
b221ca0efa
refine comments
2018-04-03 19:04:09 +08:00
Thomas Corbière
ee67e34519
Fix lint errors ( #190 )
...
* use increment and decrement operators.
* remove unnecessary else branches.
* fix receiver names.
* remove omittable code.
* fix dot imports.
2018-04-03 12:23:28 +02:00
Mohanson
29a8cb8d87
add comments.
2018-04-03 16:51:30 +08:00
Mohanson
2fbd9f15fa
bug fix: WriteFileAtomic
...
Must close file before rename it.
2018-04-03 15:26:47 +08:00
Ethan Buchman
a557bb4d0b
Merge pull request #185 from tendermint/bucky/merge-master
...
Bucky/merge master
2018-04-02 22:26:22 +03:00
Jae Kwon
382e99d06e
Add IsTypedNil
2018-04-02 01:47:42 -07:00
Ethan Buchman
41302c206a
Merge branch 'master' into develop
...
* Update changelog
2018-03-31 19:36:05 +03:00
Anton Kaliaev
898216d419
add SplitAndTrim func ( #183 )
...
Refs https://github.com/tendermint/tendermint/issues/1380
2018-03-29 12:04:01 +02:00
Anton Kaliaev
0f2811441f
[pubsub] fix unsubscribing ( #181 )
...
* [pubsub] fix unsubscribing
by giving it the same exact query, which was used to subscribe
Refs https://github.com/tendermint/tendermint/issues/1368
* use original query to unsubscribe
Refs #1368
* modify the unit test the issue is fixed
2018-03-28 16:04:46 +02:00
Christopher Goes
6e26392209
Return config parse errors ( #182 )
2018-03-28 15:35:52 +02:00
Jae Kwon
e9cf47606c
Merge panics into errors in Parallel
2018-03-25 00:04:47 +01:00
Jae Kwon
87c0473730
New Error ( #180 )
...
* New Error can capture Stacktrace
* Intelligent ErrorWrap
* Review fixes
2018-03-24 22:19:44 +01:00
Ethan Buchman
24da7009c3
Merge pull request #178 from tendermint/release/v0.7.1
...
Release/v0.7.1
2018-03-22 19:38:39 -04:00
Ethan Buchman
db3d1cb7fa
changelog and version
2018-03-22 19:36:57 -04:00
Alexander Simmerl
d46b9afb79
Simplify WriteFileAtomic
...
We can make the implementation more robust by adjusting our assumptions
and leverage explicit file modes for syncing. Additionally we going to
assume that we want to clean up and can't really recover if thos
operations (file close and removal) fail.
* utilise file mode for majority of concerns
* improve test coverage by covering more assumptions
* signature parity with ioutil.WriteFile
* always clean up
Replaces #160
2018-03-22 19:36:24 -04:00
Emmanuel T Odeke
97bdad8262
common: NewBitArray never crashes on negatives ( #170 )
...
Fixes #169
Fixes https://github.com/tendermint/tendermint/issues/1322
The previous code was very trusting assuming that
rational actors will use this code. However, Byzantine
actors don't care and in the case of the linked issue
negative lengths can be sent to this code unfettered
having been received from a peer.
This code is essentially just a sign change from
`==`
to
`<=`
and we've gutted out that attack by being more defensive.
2018-03-22 19:36:24 -04:00
Ethan Buchman
c0549ec943
Merge pull request #175 from tendermint/bucky/changelog
...
update version, changelog
2018-03-22 19:09:06 -04:00
Ethan Buchman
dc1042eb5f
finish changelog
2018-03-22 13:55:55 -04:00
Ethan Buchman
b6400af7ac
update version, changelog
2018-03-21 05:15:30 +01:00
Ethan Buchman
a86b1d8f75
Merge pull request #171 from tendermint/feature/xla-writefileatomic
...
Simplify WriteFileAtomic
2018-03-21 05:04:14 +01:00
Jae Kwon
4e5c655944
Parallel reaps automatically before returning
2018-03-20 23:08:51 +01:00
Jae Kwon
4caf943f49
Parallel returns a TaskResultSet
2018-03-20 21:43:58 +01:00
Jae Kwon
db48010e81
Add return parameter to Parallel
2018-03-20 19:58:05 +01:00