Commit Graph

6389 Commits

Author SHA1 Message Date
Anton Kaliaev 297cd4cfe8
limit HTTP request body and WS read msg size to 1MB 2018-06-29 12:40:32 +04:00
Anton Kaliaev f760c24ff0
[config] remove MaxBlockSizeTxs and MaxBlockSizeBytes in favor of consensus params 2018-06-29 12:40:32 +04:00
Anton Kaliaev 2a7602c4ed
[tendermint init] add default consensus params to genesis 2018-06-29 12:40:32 +04:00
Anton Kaliaev 9563927bbd
print only tx's hash and size when logging blocks
Closes #1799
2018-06-29 12:40:32 +04:00
Anton Kaliaev ac12432603
[rpc/client/http] set codec on rpc client 2018-06-29 12:40:32 +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
Rigel 58acbf5ee3 contributing guide typos (#1831)
* contributing guide typos

* fix git remote cmd
2018-06-29 11:09:16 +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 e26d6ed448 Update ISSUE_TEMPLATE to mention using pastebin (#1832)
* Update ISSUE_TEMPLATE to mention using pastebin

closes #1826

* Update ISSUE_TEMPLATE
2018-06-29 11:01:11 +04:00
rao yunkun db419a308e Fix unable to query status endpoint issue. (#103)
* Fix unable to query status endpoint issue.

* Revert "Fix unable to query status endpoint issue."

This reverts commit 73f02cdaea24dee88c47674dceed4f2513abac87.

* Replace amino unsafe tag for float fields.
2018-06-28 12:12:27 +04:00
Dev Ojha 48e1227f92 tmbench: Make sendloop act in one second segments (#110)
* tmbench: Make sendloop act in one second segments

Previous behaviour was to make the sendloop send all its messages
and then time how long that took. (Possibly waiting if too fast)
This has the same operation when too fast, but stops the loop
after one second. This is useful if a large tx amount is specified
and the ping doesn't get executed. Tmbench no longer crashes on
large rates.

* Update Readme
2018-06-28 12:11:05 +04:00
kph7 e556e3336e Adding IPv6 support to peering (#1818) 2018-06-28 11:29:27 +04:00
Max Levy 69356a60b5 Broken link to docs/terraform-and-ansible corrected (#1823)
Fixed rst -> md
2018-06-28 11:28:41 +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
Anton Kaliaev aa20c45ae9 log total when adding new txs to the mempool 2018-06-27 18:14:45 +04:00
Ethan Buchman 70d314312c consensus: fix addProposalBlockPart
* When create_empty_blocks=false, we don't enterPropose until we
* receive a transaction, but if we then receive a complete proposal,
* we should enterPrevote. A guard in addProposalBlockPart was checking if
* step==Propose before calling enterPrevote, but we need it to be step<=Propose,
* since we may not have seen a tx.
* This was discovered by disabling mempool broadcast, sending txs to
* peers one a time, and observing their consensus logs.
2018-06-27 18:14:45 +04:00
Ethan Buchman fa3bd05d44 mempool: log hashes, not whole tx 2018-06-27 18:14:45 +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
Max Levy 231812c875 proper link to a docs module (#1822)
Fixed rst -> md
2018-06-27 10:54:01 +04:00
Ricardo Domingos e6abdb8b9d p2p/trust: Fix nil pointer error on TrustMetric Copy() (#1819) 2018-06-27 08:37:30 +04:00
Anton Kaliaev 8412b75b10
Merge pull request #1800 from tendermint/zach/more-docs-fixes
docs cleanup
2018-06-26 11:33:25 +04:00
Anton Kaliaev 9f656e1239
add a link to full node guide
Refs https://github.com/tendermint/tendermint/pull/1800/files#r197919542
2018-06-26 11:21:25 +04:00
Zach Ramsay c6626f94de the last RTD version is archived 2018-06-25 10:33:18 -04:00
Zach fd55ccdd99
Merge branch 'develop' into zach/more-docs-fixes 2018-06-25 10:27:33 -04:00
Zach Ramsay 516b3399f3 docs: update js-abci example
closes https://github.com/tendermint/js-abci/issues/21
2018-06-25 10:14:32 -04:00
Jae Kwon e09e3a56f3
Merge pull request #225 from tendermint/develop
0.9.0 release
2018-06-24 19:41:18 -07:00
Jae Kwon 49596e0a1f Bump version to 0.9.0 2018-06-24 19:40:24 -07:00
Jeremiah Andrews cb08d28d40 Reverse iterators (#224)
with passing tests
2018-06-24 19:37:32 -07:00
ValarDragon 3b461bfbe9 tmbench: Update dependencies to use tendermint's master 2018-06-24 22:40:55 +04:00
Ethan Buchman ce0d0b312f
Merge pull request #1711 from tendermint/bucky/adrs
Bucky/adrs
2018-06-23 09:22:14 -04:00
Ethan Buchman 1215081951 adr: update readme 2018-06-23 09:29:46 -04:00
Ethan Buchman 500fca8efe fixes from review 2018-06-23 09:29:46 -04:00
Anton Kaliaev f6ff6b0e15 use consistent naming for protobuf
protobuf -> proto
protobuf version X -> protoX
2018-06-23 09:29:46 -04:00
Ethan Buchman 956e6d3435 change BeginBlock validators to LastCommitInfo 2018-06-23 09:28:44 -04:00
Ethan Buchman 3e1684d2a2 adr-010-crypto-changes 2018-06-23 09:28:44 -04:00
Ethan Buchman a25d181074 adr-009: add references 2018-06-23 09:28:44 -04:00
Ethan Buchman 7d82bdb3e6 adr-009: no pubkeys in beginblock 2018-06-23 09:28:44 -04:00
Ethan Buchman c48ff031cd add ADR-009 for ABCI design upgrade 2018-06-23 09:28:44 -04:00
Jae Kwon 8128627f08 Optimizing blockchain reactor.
Should be paired with https://github.com/tendermint/iavl/pull/65.
2018-06-22 21:47:48 -07:00
ValarDragon 2bcd7e5962 tm-bench: Update dependencies, add total metrics
* Update tendermint to develop branch
* Update tmlibs to develop branch
* Add total field for txs and blocks
2018-06-23 08:26:11 +04:00
ValarDragon b7925cd34f tmbench: Make tx size configurable
* Make the parameter for tx size in bytes -s <size>, w/ default value 250
2018-06-23 08:26:11 +04:00
zramsay 835af6fcb9 link fixes 2018-06-23 00:06:04 +00:00
zramsay 6c92a6f99a prepare RTD dismantling 2018-06-23 00:00:42 +00:00
Alexander Simmerl c3769b88e4
Merge pull request #100 from tendermint/bucky/tm-bench-fixes
Fix tm-bench metrics
2018-06-23 01:58:56 +02:00
Alexander Simmerl 65b479dd65
tm-bench: Improve code shape
* return error so main controls exit states
* formatting
* order imports
2018-06-23 01:57:50 +02:00
ValarDragon 7eb2674e2b tmbench: Fix iterating through the blocks, update readme 2018-06-22 16:24:18 -07:00
Alexander Simmerl f62d6651e3
Merge pull request #1781 from tendermint/1740-node-crashes-when-too-many-rpc-connections
limit number of open connections
2018-06-23 01:15:03 +02:00
Ethan Buchman e79b642d8d wip fixes 2018-06-22 16:06:24 -07:00
Alexander Simmerl 0d35d722cb
rpc: Break up long lines 2018-06-23 01:01:31 +02:00
Alexander Simmerl e39e43f86f
Merge pull request #1790 from tendermint/xla/merge-abci-tmlibs
Merge abci
2018-06-23 00:55:31 +02:00