Commit Graph

191 Commits

Author SHA1 Message Date
Dev Ojha 71859f8f3b common/rand: Remove exponential distribution functions (#1979)
We were computing these functions incorrectly.
I'm not sure what distribution these numbers are, but it isn't the
normal exponential distribution. (We're making the probability of
getting a number of a particular bitlength equal, but the number in
that bitlength thats gets chosen is uniformly chosen)

We weren't using these functions anywhere in our codebase, and they
had a nomenclature error. (There aren't exponentially distributed
integers, instead they would be geometrically distributed)
2018-07-16 11:38:04 +04:00
Dev Ojha 14cebd181d config: 10x default send/recv rate (#1978)
* config: 10x default send/recv rate

This increases the default send/recv rate from 512 kB/s to 5.12 mB/s

Closes #1752

* Fix typo
2018-07-16 11:17:27 +04:00
Ethan Buchman 74106c8bea update changelog 2018-07-14 14:05:50 +01:00
Ethan Buchman 94006855d1 changelog and version 2018-07-14 13:29:54 +01:00
Ethan Buchman c66e1514de
Merge branch 'develop' into 693-ensure-types-are-covered 2018-07-14 13:02:42 +01:00
Ethan Buchman 5439da6323
Merge pull request #1971 from tendermint/master
Merge master back to develop
2018-07-14 12:48:54 +01:00
Dev Ojha 262c8daa04 tools/tm-bench: Don't count the first block if its empty (#1948)
* tools/tm-bench: Don't count the first block if its empty

* Try melekes suggestion

* Fix getting the start time so the first block is no longer empty

* Fix changelog entry

* Make code smell better

* tools/tmbench: Fix the end time being used for statistics calculation

Previously we were using the time at which all connections closed in statistics, not
the time after {duration} seconds.

* Use waitgroups for starting up
2018-07-13 12:28:19 +04:00
Anton Kaliaev b271c40783
remove deprecated `app_options` field from genesis 2018-07-12 22:40:05 +04:00
Ethan Frey f9ae7730fe abciClient.BeginBlockSync should not hang on crashed server (#1891)
* Add test showing normal Sync call

* Show hanging response if server dies during BeginBlock

* Flush all in-flight requests on shutdown, not just pending requests

* Add bugfix to CHANGELOG
2018-07-11 09:59:16 +04:00
Ethan Buchman 17c924de7e changelog, version 2018-07-10 11:56:22 -04:00
Ethan Buchman ac3b764b52 update changelog 2018-07-10 09:55:15 -04:00
Ethan Buchman af697d3c4a changelog, version 2018-07-10 09:47:40 -04:00
Ethan Buchman 7c06a98b71 Merge branch 'master' into develop 2018-07-10 09:46:31 -04:00
Anton Kaliaev 4de9d42e4c
limit the number of requests in flights for Prometheus server (#1927)
* limit the number of requests in flights for Prometheus server

Closes #1804

Default to 1 because usually there's just one collector.

* config: Up default for prom connections
2018-07-10 15:49:48 +04:00
Anton Kaliaev 22133ef97a
add missing changelog entry
Refs #1901
2018-07-09 13:54:32 +04:00
Peng Zhong 0030a8e697 Peng/deprecate aib data (#1926)
* include ecosystem.json

* update changelog

* also include zarko's interview
2018-07-09 13:19:45 +04:00
Anton Kaliaev 7b153bde31
add missing changelog entry
Closes #1901
2018-07-07 11:50:31 +02:00
Alexander Simmerl f93798f72d
Merge branch 'master' into release/v0.22.1 2018-07-07 11:45:20 +02:00
Ethan Buchman 2fa9962835 changelog and version 2018-07-05 12:03:23 -04:00
Ethan Buchman 087d3e54d2
Update CHANGELOG.md
Emphasize that all integers are encoded as strings in the rpc
2018-07-03 18:52:26 -04:00
Ethan Buchman 931b465a05 dev version bump 2018-07-02 14:50:57 -04:00
Ethan Buchman 5923b6288f update changelog 2018-07-02 14:40:59 -04:00
Ethan Buchman d47b4ef12d update some docs 2018-07-02 14:20:27 -04:00
Ethan Buchman 1c018d3fd2 p2p: external address
* new config option for external address to advertise
* if blank, defaults to best guess from listener
* if laddr ip address is also blank, default to IPv4
2018-07-02 12:44:48 -04:00
Ethan Buchman 3a0dff7db2 fix changelog 2018-07-01 11:51:06 -04:00
Ethan Buchman d6394bcbfd
Merge branch 'release/v0.22.0' into 1762-tm-stops-producing-blocks 2018-07-01 11:39:43 -04:00
Ethan Buchman 6e5a01ccec changelog and version 2018-07-01 00:50:49 -04:00
Anton Kaliaev 399e2fbdac
update changelog 2018-06-29 12:57:17 +04:00
Anton Kaliaev ada5ef0669
[p2p] add godoc comments to Listener (#1828)
* update changelog

* document p2p/listener

* do not expose underlying net.Listener

* add a TODO

* replace todo with a comment
2018-06-29 11:48:52 +04:00
Dev Ojha 41733b46b9 crypto: Abstract pubkey / signature size when known to constants (#1808)
* crypto: Abstract pubkey / signature size when known to constants

* Created PubKeyEd25519Size as 32
* Created PubkeySecp256k1Size as 33
* Created SignatureEd25519Size as 64

* Remove extraneous message from changelog
2018-06-29 11:08:01 +04:00
Dev Ojha b1d6deaf0b config: rename skip_upnp to upnp (#1827)
* config: rename skip_upnp to upnp

Change default option to enable upnp.

Closes #1806

* doc updates

- fix comment and set UPNP to false in TestP2PConfig
- add UPNP to config template
- update changelog
2018-06-28 11:09:39 +04:00
Roman Useinov f0e5332b1f Feature/support https rpc client (#1816)
* Implement support for https in rpc client

* Update changelog

* update comment

* support wss protocol

* fixed changelog

* if -> switch

* fix lint

* protocol constants introduced
2018-06-27 15:03:47 +04:00
Anton Kaliaev 936a655990
limit number of open connections
Refs #1740

also, expose limit option for number concurrent streams for gRPC
(unlimited by default)
2018-06-22 19:25:11 +04:00
Ethan Buchman 9cd9f3338b Merge branch 'master' into develop 2018-06-21 12:57:09 -07:00
Ethan Buchman 1e3951c61c update changelog 2018-06-21 12:47:29 -07:00
Anton Kaliaev 1bdff076ad
add config option 2018-06-20 12:40:08 +04:00
Ethan Buchman d220a1ef13 changelog 2018-06-20 00:22:07 -07:00
Ethan Buchman c6c468c341 update changelog 2018-06-20 00:13:23 -07:00
Ethan Buchman 1d86270e20 version 2018-06-20 00:09:55 -07:00
Ethan Buchman 43745c83db Merge branch 'release/v0.20.1' into develop 2018-06-20 00:08:51 -07:00
Anton Kaliaev cfff83fa3d
update changelog 2018-06-19 20:20:30 +04:00
Ethan Buchman 4b2348f697 mempool: fix cache_size==0. closes #1761 2018-06-18 18:21:19 -07:00
Ethan Buchman 3470e5d7b3 changelog and version 2018-06-18 17:15:41 -07:00
Ethan Buchman fcf61b8088 check addrs match pubkeys in abci Validator. version bump 2018-06-06 16:35:35 -07:00
Ethan Buchman 89925501f3 p2p/filter/pubkey -> p2p/filter/id 2018-06-06 16:13:51 -07:00
Ethan Buchman 8e45348737 update for abci v0.11.0 release. let InitChain update validators 2018-06-06 15:47:04 -07:00
Ethan Buchman 0e0461d9bc dev version bump 2018-06-05 18:54:30 -07:00
Ethan Buchman 9cb079dcc6 dep, version, changelog 2018-06-05 17:38:54 -07:00
Ethan Buchman 53937a8129 changelog 2018-06-04 21:20:23 -07:00
Ethan Buchman aeb91dfc22 dev version bump 2018-06-04 15:57:57 -07:00