Commit Graph

6330 Commits

Author SHA1 Message Date
Zach Ramsay 5fb3955c93 cleanup repo merge artifacts, closes #1873, starts #1793 2018-07-03 10:17:08 -04:00
Anton Kaliaev 26a7d757cb
overwrite pubkey and address for convenience
Closes #1829
2018-07-03 16:31:34 +04:00
Anton Kaliaev a42c58604d
remove init_testnet script
`tendermint testnet` cmd should be used instead

Closes #1774
2018-07-03 15:42:52 +04:00
Zach 489f2525bd
Delete libs/common/array.go
closes https://github.com/tendermint/tmlibs/issues/133
2018-07-02 16:14:40 -04:00
Ethan Buchman 931b465a05 dev version bump 2018-07-02 14:50:57 -04:00
Ethan Buchman dfa9a9a30a
Merge pull request #1840 from tendermint/release/v0.22.0
Release/v0.22.0
2018-07-02 14:39:30 -04:00
Ethan Buchman 5923b6288f update changelog 2018-07-02 14:40:59 -04:00
Ethan Buchman 0f6f6bd3c0
Merge pull request #1606 from tendermint/bucky/hash
Bucky/hash
2018-07-02 14:30:24 -04:00
Ethan Buchman ca3e337ef9 remove libs/merkle 2018-07-02 14:32:27 -04:00
Ethan Buchman ec710395b7 RIPEMD160 -> SHA256 2018-07-02 14:27:43 -04:00
Ethan Buchman d47b4ef12d update some docs 2018-07-02 14:20:27 -04:00
Ethan Buchman 72475c800b
Merge pull request #1843 from tendermint/bucky/external_address
Bucky/external address
2018-07-02 13:48:09 -04:00
Ethan Buchman c3504c111e add test 2018-07-02 13:04:34 -04:00
Ethan Buchman 737c5c065d fixes from review 2018-07-02 12:46:02 -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 60f233a4bc
Merge pull request #1842 from tendermint/bucky/merge-tmlibs
Bucky/merge tmlibs
2018-07-02 12:31:39 -04:00
Ethan Buchman eccdce11c5 make linter happy 2018-07-02 12:06:43 -04:00
Dev Ojha e8127456ca tmbench: Make it more resilient to WSConn breaking (#111)
* tmbench: Make it more resilient to WSConn breaking

This commit changes the behavior of a broken connection from calling
os.Exit, to instead killing that connection. This also improves
the debug logging, by specifying connection index within errors.

* Rename connStatus to connsBroken

* change logging level
2018-07-02 14:19:51 +04:00
Ethan Buchman 3f4847331f update grpc version. fix remotedb tests 2018-07-01 23:15:14 -04:00
Ethan Buchman ff73e0aa55 fix test folder mishap 2018-07-01 22:50:31 -04:00
Ethan Buchman 965a55d2a8 remove tmlibs from dep 2018-07-01 22:39:41 -04:00
Ethan Buchman d55243f0e6 fix import paths 2018-07-01 22:36:49 -04:00
Ethan Buchman 233b35a2a9 Revert "delete some things for the merge"
This reverts commit 2902ab1a14.
2018-07-01 22:36:13 -04:00
Ethan Buchman ae3bf81833 mv tmlibs files to libs dir 2018-07-01 22:36:03 -04:00
Ethan Buchman 2d7ffdd72b Merge remote-tracking branch 'tmlibs/master' into bucky/merge-tmlibs 2018-07-01 22:32:33 -04:00
Ethan Buchman 2902ab1a14 delete some things for the merge 2018-07-01 22:32:06 -04:00
Ethan Buchman 9ff99114b1 update for tmlibs v0.9.0 2018-07-01 22:12:58 -04:00
Ethan Buchman af703620d4 consensus: stop wal 2018-07-01 12:53:51 -04:00
Ethan Buchman 3a0dff7db2 fix changelog 2018-07-01 11:51:06 -04:00
Ethan Buchman 59145eca62
Merge pull request #1824 from tendermint/1762-tm-stops-producing-blocks
Fix emptyPacketMsgSize calc. plus limit max request body size and other mics. changes
2018-07-01 11:39:56 -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
Anton Kaliaev 2d98899b9b
set MaxTxs to 10000 (the same that was used in the config before) 2018-07-01 09:44:12 +04:00
Ethan Buchman da4632c651 docs/spec: update address spec to sha2 for ed25519 2018-07-01 01:29:28 -04:00
Ethan Buchman f35ebd5cf7 docs: minor fix for abci query peer filter 2018-07-01 01:23:38 -04:00
Ethan Buchman 6e5a01ccec changelog and version 2018-07-01 00:50:49 -04:00
Ethan Buchman b2c3f6f737
Merge pull request #1836 from tendermint/1830-nil-pointer-in-pex
fix nil pointer panic by checking if peer is nil
2018-06-29 17:55:06 -04:00
Lawrence Tran bb0313d060 Fix typo (#1837)
The base64 encoding for 'abcd' is incorrect for the python decoding examples.
2018-06-29 22:09:50 +04:00
Zach Ramsay 71da5e128a fix url path because cloudfront 2018-06-29 09:56:15 -04:00
Anton Kaliaev 9752e059e1
fix nil pointer panic by checking if peer is nil
Fixes #1830

remember that PeerSet#Get can return nil
2018-06-29 16:03:31 +04:00
Anton Kaliaev 399e2fbdac
update changelog 2018-06-29 12:57:17 +04:00
Anton Kaliaev 61c5791fa3
revert back to Jae's original payload size limit
except now we calculate the max size using the maxPacketMsgSize()
function, which frees developers from having to know amino encoding
details.

plus, 10 additional bytes are added to leave the room for amino upgrades
(both making it more efficient / less efficient)
2018-06-29 12:57:17 +04:00
Anton Kaliaev ab04201c3d
fix empty packet size calculation
Fixes #1762#issuecomment-398940107
2018-06-29 12:40:32 +04:00
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