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
feb3230160
some comments
2017-11-16 04:43:07 +00:00
be1a16a601
p2p/pex: simplify ensurePeers
2017-11-16 04:30:38 +00:00
8e044b0e6d
p2p/addrbook: some comments
2017-11-16 04:30:23 +00:00
40e93a5f9e
p2p/addrbook: fix addToOldBucket
2017-11-16 04:08:46 +00:00
435eb6e2b3
p2p/addrbook: add non-terminating test
2017-11-16 04:04:54 +00:00
8c88cc017a
p2p/addrbook: addAddress returns error. more defensive PickAddress
2017-11-16 03:59:54 +00:00
ed95cc160a
p2p/addrbook: simplify PickAddress
2017-11-16 02:31:47 +00:00
2f067a3f65
p2p/addrbook: addrNew/Old -> bucketsNew/Old
2017-11-16 02:28:11 +00:00
498a82784d
p2p/addrbook: comments
2017-11-16 02:25:00 +00:00
b5708825a7
Failed to compile comment code
2017-11-16 09:45:58 +08:00
a724ffab25
added changes based on PR comments to the proposal
2017-11-15 17:59:48 -05:00
de34ef91d7
Merge pull request #854 from tendermint/add-go-version-to-readme
...
add Go version badge to README [ci skip]
2017-11-15 20:49:36 +00:00
248a9383a0
add Go version badge to README [ci skip]
2017-11-15 10:22:02 -06:00
78b4ad291c
Merge pull request #853 from tendermint/p2p-netPipe-own-file
...
p2p: netPipe for <Go1.10 in own file with own build tag
2017-11-15 16:09:48 +00:00
086e1f6508
Make vetshadow and zach happy
2017-11-15 13:57:17 +01:00
3f9dff9aac
p2p: netPipe for <Go1.10 in own file with own build tag
...
Follow up of 283544c7f3
putting <Go1.10 implementation of netPipe in its own
file and protect it with its separate build tag.
2017-11-14 22:23:48 -07:00
443854222c
Merge pull request #852 from tendermint/net-conn-SetDeadline-wraps
...
p2p: use fake net.Pipe since only >=Go1.10 implements SetDeadline
2017-11-15 05:09:39 +00:00
283544c7f3
p2p: use fake net.Pipe since only >=Go1.10 implements SetDeadline
...
Fixes https://github.com/tendermint/tendermint/issues/851
Go1.9 and below's net.Pipe did not implement the SetDeadline
method so after commit
e2dd8ca946
this problem was exposed since now we check for errors.
To counter this problem, implement a simple composition for
net.Conn that always returns nil on SetDeadline instead of
tripping out.
Added build tags so that anyone using go1.10 when it is released
will be able to automatically use net.Pipe's net.Conns
2017-11-14 22:03:23 -07:00
20576cab5f
go 1.9.2 dependency added
2017-11-14 23:17:41 -05:00