Anton Kaliaev
ed782e7508
include validator's voting power in /status
Refs #581
7 years ago
Anton Kaliaev
0732526465
use more relaxing < and >= ops instead of !=
an example of Search from godocs:
```
package main
import (
"fmt"
"sort"
)
func main() {
a := []int{1, 3, 6, 10, 15, 21, 28, 36, 45, 55}
x := 6
i := sort.Search(len(a), func(i int) bool { return a[i] >= x })
if i < len(a) && a[i] == x {
fmt.Printf("found %d at index %d in %v\n", x, i, a)
} else {
fmt.Printf("%d not found in %v\n", x, a)
}
}
```
7 years ago
Anton Kaliaev
39a4963782
document funcs in validator_set.go
7 years ago
Anton Kaliaev
37ce6b195a
ValidatorSet#GetByAddress: return -1 if no validator was found
7 years ago
Ethan Buchman
7aa6d36258
Merge pull request #1412 from tendermint/bucky/exit-conR-subscribe-routine
consensus: check for closed subscription channels and exit routine
7 years ago
Ethan Buchman
991017fc41
Merge pull request #1336 from tendermint/zarko/1308-add-light-client-spec
Add light client spec
7 years ago
Ethan Buchman
5f548c7679
consensus: close pubsub channels. fixes #1372
7 years ago
Ethan Buchman
d14aacf03e
Merge pull request #1300 from tendermint/lite-proxy-hardening-and-tests
lite/proxy: Validation* tests and hardening for nil dereferences
7 years ago
Ethan Buchman
39ff4d22e9
minor cleanup
7 years ago
Anton Kaliaev
8462493cbf
[rpc] fix subscribing using an abci.ResponseDeliverTx tag
Refs #1369
7 years ago
Anton Kaliaev
47b8bd1728
wrote a test for EventBus#PublishEventTx
Refs #1369
7 years ago
Ethan Buchman
657fd671ea
Merge pull request #1409 from tendermint/zach/docs/tm-monitor
docs: build updates
7 years ago
Zach Ramsay
315c475b79
docs: build updates
ref: https://github.com/tendermint/tools/pull/79
7 years ago
Anton Kaliaev
491c8ab4c1
[rpc/lib] log cert and key files in StartHTTPAndTLSServer
7 years ago
Anton Kaliaev
5ef8a6e887
deprecate not fully formed addresses
7 years ago
Anton Kaliaev
d694d47d22
[rpc/lib] rename vars according to Go conventions
7 years ago
Zaki Manian
ecdc1b9bb0
Add a method for creating an https server ( #1403 )
7 years ago
Thomas Corbière
2644a529f0
Fix lint errors ( #1390 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix package comment with leading space.
* fix receiver names.
* fix error strings.
* remove omittable code.
* remove redundant return statement.
* Revert changes (code is generated.)
* use cfg as receiver name for all config-related types.
* use lsi as the receiver name for the LastSignedInfo type.
7 years ago
Greg Szabo
eaee98ee1f
CGO_ENABLED=0 added for static linking ( #1396 )
7 years ago
Alex Hernandez
575a46d9d4
fix typo on block header ( #1387 )
7 years ago
Ethan Buchman
bcadbd1b10
Merge pull request #1376 from tendermint/1368-unsubscribe-does-not-work
[rpc] unsubscribe does not work
7 years ago
Tomoya Ishizaki
ead9daf1ba
Fix code style ( #1362 )
* cfg: Uniform style for method args and var names
7 years ago
Anton Kaliaev
22949e6dfd
new tmlibs Parallel implementation
7 years ago
Anton Kaliaev
49986b05bc
update tmlibs
Refs #1376
7 years ago
Vladislav Dmitriyev
2fa7af4614
[lite] fixed listen address ( #1384 )
7 years ago
Anton Kaliaev
2d857c4b1b
add hash field to ResultTx (/tx and /tx_search endpoints) ( #1374 )
Refs #1367
7 years ago
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".
7 years ago
Anton Kaliaev
4085c72496
sort /tx_search results by height by default
Refs #1366
7 years ago
Ethan Buchman
6f9956990c
Merge pull request #1377 from tendermint/release/0.17.1
Release/0.17.1
7 years ago
Ethan Buchman
9bf5862def
types: fix genesis.AppStateJSON
7 years ago
Ethan Buchman
e1d98bb7f6
forgot bug fix in changelog
7 years ago
Ethan Buchman
e5cd006bce
Merge pull request #1373 from tendermint/release/0.17.0
Release/0.17.0
7 years ago
Anton Kaliaev
58242e1b63
bump version one more time
7 years ago
Anton Kaliaev
4e86835163
update changelog for 0.17.0 release
7 years ago
Anton Kaliaev
ab4ac04c88
bump up the version
7 years ago
Anton Kaliaev
2c1887a635
update changelog
7 years ago
Anton Kaliaev
1c82281b77
make app_options -> app_state backwards compatible
7 years ago
Tomoya Ishizaki
43ac92b615
Changed to make line break easier to read ( #1363 )
7 years ago
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.
7 years ago
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.*(`
7 years ago
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
7 years ago
Ethan Buchman
e3337d764a
Merge pull request #1354 from tendermint/bucky/dep
update dep
7 years ago
Anton Kaliaev
214817ed17
do not add peer to switch if it fails to start
7 years ago
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.
7 years ago
Ethan Buchman
bbaad22982
update dep
7 years ago
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
7 years ago
Zach
6545a21369
docs/examples: update quick start guide ( #1351 )
7 years ago
Zarko Milosevic
416f03c05b
Add light client spec
7 years ago
Ethan Buchman
8c0c8e8e01
Merge pull request #1301 from tendermint/types-data+header+non-nil-panics
types: Hash invoked for nil Data and Header should not panic
7 years ago
Alexander Simmerl
79315efd1f
Merge pull request #1341 from EugeneChung/develop
Remove unnecessary bytes.Compare() call
7 years ago