6449 Commits

Author SHA1 Message Date
Christopher Goes
6e26392209 Return config parse errors (#182) 2018-03-28 15:35:52 +02:00
Anton Kaliaev
2b63f57b4c fix tx_indexer's matchRange
before we're using IteratePrefix, which is wrong because we want full
range, not just "account.number=1".
2018-03-28 15:02:54 +02:00
Anton Kaliaev
4085c72496 sort /tx_search results by height by default
Refs #1366
2018-03-28 15:02:54 +02:00
Adrian Brink
eea93b8904
Upgrade to Circle 2.0 2018-03-28 12:37:42 +02:00
zhangyelong
2914b73e30 Rename queries to queryToMetricMap 2018-03-28 18:37:39 +08:00
zhangyelong
858cad05f1 Rename eventType to query 2018-03-28 18:20:00 +08:00
Eugene Chung
34f5d439ee
remove Heap.Update() call when setting Proposer field
In for loop of IncrementAccum(), Heap.Update() call is unnecessary when i == times - 1.
2018-03-28 12:58:53 +09:00
zhangyelong
d42a308887 dependency upgrade 2018-03-28 11:44:06 +08:00
Ethan Buchman
6f9956990c
Merge pull request #1377 from tendermint/release/0.17.1
Release/0.17.1
v0.17.1
2018-03-27 11:24:48 -04:00
Ethan Buchman
9bf5862def types: fix genesis.AppStateJSON 2018-03-27 11:20:09 -04:00
Ethan Buchman
e1d98bb7f6 forgot bug fix in changelog 2018-03-27 10:06:30 -04:00
Ethan Buchman
e5cd006bce
Merge pull request #1373 from tendermint/release/0.17.0
Release/0.17.0
v0.17.0
2018-03-27 09:57:10 -04:00
Anton Kaliaev
58242e1b63
bump version one more time 2018-03-27 09:07:29 +02:00
Anton Kaliaev
4e86835163
update changelog for 0.17.0 release 2018-03-27 09:06:32 +02:00
Anton Kaliaev
ab4ac04c88
bump up the version 2018-03-26 22:07:07 +02:00
Anton Kaliaev
2c1887a635
update changelog 2018-03-26 22:06:58 +02:00
Anton Kaliaev
1c82281b77
make app_options -> app_state backwards compatible 2018-03-26 21:51:07 +02:00
Tomoya Ishizaki
43ac92b615 Changed to make line break easier to read (#1363) 2018-03-26 16:27:20 +02:00
Jae Kwon
7fb3f704b3 Update README with examples; Add signature test 2018-03-26 10:59:10 +02:00
Jae Kwon
5d5f580f49 Update changelog for v0.6.1 2018-03-26 10:44:04 +02:00
Jae Kwon
0d4436dea7 Use MarshalBinaryBare; Fix encode_test; Bump version 2018-03-26 10:41:04 +02:00
Jae Kwon
901b456151 P2P now works with Amino 2018-03-26 06:40:02 +02:00
Emmanuel T Odeke
8813684040
lite/proxy: consolidate some common test headers into a variable
Addressing some feedback from @ebuchman in regards to
consolidating some common test headers into a variable.

I've added that for simple cases, trying to meet in the middle
instead of creating helpers that obscure readibility and easy
comparison of test cases.
2018-03-25 00:27:42 -06:00
Emmanuel T Odeke
58f36bb321 Review feedback from @melekes
* Fix typo on naming s/deabBeef/deadBeef/g
* Use `assert.*(t,` instead of `assert.New(t);...;assert.*(`
2018-03-24 23:54:01 -06:00
Emmanuel T Odeke
4c2f56626a lite/proxy: Validation* tests and hardening for nil dereferences
Updates https://github.com/tendermint/tendermint/issues/1017

Ensure that the Validate* functions in proxy are tests
and cover the case of sneakish bugs that have been encountered
a few times from nil dereferences. The lite package should
theoretically never panic with a nil dereference. It is meant
to contain the certifiers hence it should never panic with such.

Requires the following bugs to be fixed first;
* https://github.com/tendermint/tendermint/issues/1298
* https://github.com/tendermint/tendermint/issues/1299
2018-03-24 23:54:01 -06:00
Jae Kwon
a04f2ae5c6 tmlibs 0.8.0-dev; canonical concrete names 2018-03-25 07:15:24 +02:00
Jae Kwon
e9cf47606c Merge panics into errors in Parallel 2018-03-25 00:04:47 +01:00
Jae Kwon
c62aed95f2 Lock to 0.8.0-dev tmlibs 2018-03-24 23:51:08 +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
e3337d764a
Merge pull request #1354 from tendermint/bucky/dep
update dep
2018-03-24 12:14:56 -04:00
Ethan Buchman
aeb6d14c1c version bump 2018-03-23 09:13:59 -04:00
Anton Kaliaev
214817ed17
do not add peer to switch if it fails to start 2018-03-23 13:31:48 +01:00
Anton Kaliaev
116a4ec705
temporary fix
I assume there is a deeper issue with how UnmarshalBinary works in
go-amino (i.e., when loading array of some objects, the empty array
becomes []object{nil}). Note when Marshaling, the object is nil.
2018-03-23 12:47:02 +01:00
Ethan Buchman
bbaad22982
update dep 2018-03-23 10:27:00 +01:00
Anton Kaliaev
a7250af303
Exponential backoff follow up (#1349)
* document new functionality [ci skip]

Refs #1304

* add fixme [ci skip]

Refs #1304

* ensure that we dial peer after backoff duration

Refs #1304
2018-03-23 09:48:27 +01:00
Ethan Buchman
46686763ba
Merge pull request #219 from tendermint/release/v0.10.2
Release/v0.10.2
2018-03-23 00:16:46 -04:00
Ethan Buchman
454db6c12b version and changelog 2018-03-23 00:21:27 -04:00
Ethan Buchman
8fc21cdcd9 remove omitempty 2018-03-22 23:59:25 -04:00
Ethan Buchman
5310e85bbb run make protoc 2018-03-22 23:46:23 -04:00
Ethan Buchman
f3f9f792a5
Merge pull request #218 from tendermint/release/v0.10.1
Release/v0.10.1
2018-03-22 23:18:30 -04:00
Ethan Buchman
968db546ee changelog update 2018-03-22 23:13:55 -04:00
Ethan Buchman
4600f19d9f add nullable=false and omitempty to fee 2018-03-22 22:53:09 -04:00
Ethan Buchman
e0c174b02b remove nullable=false from fee 2018-03-22 22:50:26 -04:00
Ethan Buchman
f9d9d92ea3 fix dep for minor version bumps 2018-03-22 20:01:07 -04:00
Ethan Buchman
c11bcd7890 update dep for tmlibs 2018-03-22 19:44:43 -04: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
3135fca73b changelog, dep, version 2018-03-22 19:19:16 -04:00