Commit Graph

7330 Commits

Author SHA1 Message Date
01252e8cc8 mark Result as deprecated 2017-11-22 16:18:06 -06:00
5fd83b3eee implement error interface for ResponseDeliverTx/CheckTx/Commit 2017-11-22 16:17:34 -06:00
932e472986 Merge pull request #885 from AFDudley/patch-1
Update getting-started.rst to fix broken link
2017-11-22 20:29:30 +00:00
e845987503 p2p: disable trustmetric test while being fixed 2017-11-22 20:20:53 +00:00
531b1197a7 Merge pull request #843 from tendermint/refactor-mconnection-with-go-wire-1
WIP: begin parallel refactoring: go-wire Write methods and MConnection
2017-11-22 19:34:22 +00:00
52ad6242f4 Merge pull request #888 from tendermint/rm-dead-file
remove unused file
2017-11-22 18:47:30 +00:00
969b34057b remove unused file 2017-11-22 17:22:53 +00:00
e110f70b5c update glide.yaml versions with go-wire at develop branch 2017-11-22 07:34:10 -08:00
7868a3358f gather test coverage 2017-11-21 19:07:39 -06:00
52ec4efe27 retire test_integrations in favor of just make test 2017-11-21 18:11:23 -06:00
5be9c50b47 fix megacheck warning 2017-11-21 17:53:48 -06:00
f6a79dd7c5 add interface assertions for all clients 2017-11-21 17:50:06 -06:00
e6fdc98aeb update changelog 2017-11-21 17:44:22 -06:00
fbe7234639 remove Result from the client package
plus make Client interface more consistent. All *Sync functions now
return an error as a second return param. Deliver/Check/Commit use Code
to indicate errors and have IsErr() func defined on ResponseXYZ structs.
2017-11-21 17:44:13 -06:00
8e6269ce93 update README 2017-11-21 15:24:29 -06:00
e997db7a23 Merge pull request #859 from tendermint/fix/addrbook
Fix/addrbook
2017-11-21 15:31:48 +00:00
c4b695f78d minor fixes from review 2017-11-21 15:30:19 +00:00
75463b8331 Merge pull request #877 from tendermint/p2p-switch-DialSeeds-undeterministically
p2p: make Switch.DialSeeds use a new PRNG per call
2017-11-21 15:24:29 +00:00
882c25f292 Update getting-started.rst to fix broken link
fixes broken link to introduction.html
2017-11-21 10:11:48 -05:00
3a3d508e5c CheckTx and DeliverTx return ResponseCheckTx and ResponseDeliverTx respectively
Commit now returns ResponseCommit
2017-11-20 20:36:42 -06:00
92801dbd72 [dockerfile] install psmisc for tests 2017-11-20 18:30:10 -06:00
fc7db13fa8 remove tags from CheckTx
add value_type field to KVPair
2017-11-20 18:21:59 -06:00
02399071ff add ldconfig cmd to Dockerfile 2017-11-20 18:17:56 -06:00
9c8100043e made changes to address suggestions from the PR comments 2017-11-20 19:15:11 -05:00
29c1cd03ea [make install_protoc] fix folder name 2017-11-20 17:09:18 -06:00
3cbf44058d no need for protoc in make all since we have types.pb.go generated 2017-11-20 16:56:57 -06:00
8b71e47002 add linter for proto files (Fixes #128) 2017-11-20 16:56:57 -06:00
76bd68f881 add docker commands to Makefile 2017-11-20 16:56:57 -06:00
33b51378f2 reformat types.proto 2017-11-20 16:56:57 -06:00
bb0d7e9526 add tags field to DeliverTx and CheckTx 2017-11-20 16:56:57 -06:00
f07c300c14 add proto section to .editorconfig 2017-11-20 16:56:57 -06:00
87072d3810 add Dockerfile for development 2017-11-20 16:56:56 -06:00
480e4e4444 install protoc 2017-11-20 16:56:56 -06:00
031e10133c p2p: make Switch.DialSeeds use a new PRNG per call
Fixes https://github.com/tendermint/tendermint/issues/875

Ensure that every DialSeeds call uses a new PRNG seeded from
tendermint/tmlibs/common.RandInt which internally uses
crypto/rand to seed its source.
2017-11-20 15:28:42 -07:00
4087326f45 fixed race condition reported in issue #881 2017-11-20 16:47:05 -05:00
f9bc22ec6a p2p: fix comment on addPeer (thanks @odeke-em) 2017-11-20 21:36:01 +00:00
26cd99c66e p2p: fix non-routable addr in test 2017-11-20 19:56:44 +00:00
9334aad906 Merge pull request #871 from tendermint/fix/docs-860
docs: fix links
2017-11-20 19:47:18 +00:00
c695c53259 Merge pull request #876 from tendermint/p2p-extract-key-lex-check-to-variable-for-clarity
p2p: use bytes.Equal for key comparison
2017-11-20 19:33:58 +00:00
5c4397ab30 Run tests on AppVeyor 2017-11-20 13:23:28 +01:00
135a1a7cd7 db: sort keys for memdb iterator 2017-11-20 03:06:18 +00:00
5c34d087d9 p2p: use bytes.Equal for key comparison
Updates https://github.com/tendermint/tendermint/issues/850

My security alarms falsely blarred when I skimmed and noticed
keys being compared with `==`, without the proper context
so I mistakenly filed an issue, yet the purpose of that
comparison was to check if the local ephemeral public key
was just the least, sorted lexicographically.

Anyways, let's use the proper bytes.Equal check, to save future labor.
2017-11-18 23:34:27 -07:00
559bd169bd docs: fix links, closes #860 2017-11-17 14:03:43 +00:00
f8c969f5a5 Merge pull request #868 from tendermint/small-things
node: clean makeNodeInfo
2017-11-17 01:22:45 +00:00
c5253c7a31 node: clean makeNodeInfo 2017-11-17 01:22:38 +00:00
53f15fde07 update changelog 2017-11-17 00:04:03 +00:00
814f9cb566 Merge pull request #856 from tendermint/small-things
Small things
2017-11-17 00:03:57 +00:00
af0db599b0 minor fixes 2017-11-16 23:57:00 +00:00
104368bd84 Merge pull request #787 from caffix/develop
Initial Trust Metric Implementation
2017-11-16 23:51:53 +00:00
99461a178e Merge pull request #857 from gguoss/patch-1
Failed to compile comment code
2017-11-16 18:35:18 +00:00