caffix
887cb6d0cd
added public methods to handle locking within the trust metric
7 years ago
caffix
aeaf2d0b20
Merge branch 'develop' of https://github.com/tendermint/tendermint into develop
7 years ago
Ethan Buchman
932e472986
Merge pull request #885 from AFDudley/patch-1
Update getting-started.rst to fix broken link
7 years ago
Ethan Buchman
e845987503
p2p: disable trustmetric test while being fixed
7 years ago
Ethan Buchman
531b1197a7
Merge pull request #843 from tendermint/refactor-mconnection-with-go-wire-1
WIP: begin parallel refactoring: go-wire Write methods and MConnection
7 years ago
Ethan Buchman
52ad6242f4
Merge pull request #888 from tendermint/rm-dead-file
remove unused file
7 years ago
Zach Ramsay
969b34057b
remove unused file
7 years ago
Petabyte Storage
e110f70b5c
update glide.yaml versions with go-wire at develop branch
7 years ago
Ethan Buchman
e997db7a23
Merge pull request #859 from tendermint/fix/addrbook
Fix/addrbook
7 years ago
Ethan Buchman
c4b695f78d
minor fixes from review
7 years ago
Ethan Buchman
75463b8331
Merge pull request #877 from tendermint/p2p-switch-DialSeeds-undeterministically
p2p: make Switch.DialSeeds use a new PRNG per call
7 years ago
A. F. Dudley
882c25f292
Update getting-started.rst to fix broken link
fixes broken link to introduction.html
7 years ago
caffix
9c8100043e
made changes to address suggestions from the PR comments
7 years ago
Emmanuel Odeke
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.
7 years ago
caffix
4087326f45
fixed race condition reported in issue #881
7 years ago
Ethan Buchman
f9bc22ec6a
p2p: fix comment on addPeer (thanks @odeke-em )
7 years ago
Ethan Buchman
26cd99c66e
p2p: fix non-routable addr in test
7 years ago
Ethan Buchman
9334aad906
Merge pull request #871 from tendermint/fix/docs-860
docs: fix links
7 years ago
Ethan Buchman
c695c53259
Merge pull request #876 from tendermint/p2p-extract-key-lex-check-to-variable-for-clarity
p2p: use bytes.Equal for key comparison
7 years ago
Emmanuel Odeke
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.
7 years ago
Zach Ramsay
559bd169bd
docs: fix links, closes #860
7 years ago
Ethan Buchman
f8c969f5a5
Merge pull request #868 from tendermint/small-things
node: clean makeNodeInfo
7 years ago
Ethan Buchman
c5253c7a31
node: clean makeNodeInfo
7 years ago
Ethan Buchman
53f15fde07
update changelog
7 years ago
Ethan Buchman
814f9cb566
Merge pull request #856 from tendermint/small-things
Small things
7 years ago
Ethan Buchman
af0db599b0
minor fixes
7 years ago
Ethan Buchman
104368bd84
Merge pull request #787 from caffix/develop
Initial Trust Metric Implementation
7 years ago
Ethan Buchman
99461a178e
Merge pull request #857 from gguoss/patch-1
Failed to compile comment code
7 years ago
Ethan Buchman
feb3230160
some comments
7 years ago
Ethan Buchman
be1a16a601
p2p/pex: simplify ensurePeers
7 years ago
Ethan Buchman
8e044b0e6d
p2p/addrbook: some comments
7 years ago
Ethan Buchman
40e93a5f9e
p2p/addrbook: fix addToOldBucket
7 years ago
Ethan Buchman
435eb6e2b3
p2p/addrbook: add non-terminating test
7 years ago
Ethan Buchman
8c88cc017a
p2p/addrbook: addAddress returns error. more defensive PickAddress
7 years ago
Ethan Buchman
ed95cc160a
p2p/addrbook: simplify PickAddress
7 years ago
Ethan Buchman
2f067a3f65
p2p/addrbook: addrNew/Old -> bucketsNew/Old
7 years ago
Ethan Buchman
498a82784d
p2p/addrbook: comments
7 years ago
Guanghua Guo
b5708825a7
Failed to compile comment code
7 years ago
caffix
a724ffab25
added changes based on PR comments to the proposal
7 years ago
Ethan Buchman
de34ef91d7
Merge pull request #854 from tendermint/add-go-version-to-readme
add Go version badge to README [ci skip]
7 years ago
Anton Kaliaev
248a9383a0
add Go version badge to README [ci skip]
7 years ago
Ethan Buchman
78b4ad291c
Merge pull request #853 from tendermint/p2p-netPipe-own-file
p2p: netPipe for <Go1.10 in own file with own build tag
7 years ago
Emmanuel Odeke
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.
7 years ago
Ethan Buchman
443854222c
Merge pull request #852 from tendermint/net-conn-SetDeadline-wraps
p2p: use fake net.Pipe since only >=Go1.10 implements SetDeadline
7 years ago
Emmanuel Odeke
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
7 years ago
Ethan Buchman
49faa79bdc
Merge pull request #848 from tendermint/p2p-catch-conn.SetDeadline-errors
p2p: peer should respect errors from SetDeadline
7 years ago
Ethan Buchman
7670049a31
Merge pull request #845 from tendermint/fix/826-wait-for-rpc
rpc: wait for rpc servers to be available in tests
7 years ago
Ethan Buchman
0cd642bca7
Merge pull request #849 from tendermint/846-fix-TestFullRound1-race
fix TestFullRound1 race (Refs #846 )
7 years ago
Anton Kaliaev
fe3c92ecce
unescape $NODE_FLAGS (see comment)
7 years ago
Ethan Buchman
a969e24177
crank context timeouts
7 years ago