7ad8a8ab55
Tests almost passing
2017-11-27 22:39:12 +00:00
a15c7f221d
linting: moar fixes
2017-11-27 22:39:11 +00:00
d7cb291fb2
errcheck; sort some stuff out
2017-11-27 22:39:11 +00:00
563faa98de
address comments, pr #643
2017-11-27 22:39:11 +00:00
9c62ed4595
run linting first for tests
2017-11-27 22:39:11 +00:00
fe694e1fe1
...
2017-11-27 22:39:11 +00:00
bc2aa79f9a
linter: sort through each kind and address small fixes
2017-11-27 22:39:11 +00:00
48aca642e3
linter: address deadcode, implement incremental lint testing
2017-11-27 22:39:11 +00:00
15651a931e
linting errors: tackle p2p package
2017-11-27 22:39:11 +00:00
68e7983c70
linting errors: afew more
2017-11-27 22:39:11 +00:00
8f0237610e
linting errors: clean it all up
2017-11-27 22:39:11 +00:00
b75d4f73e7
errcheck: PR comment fixes
2017-11-27 22:39:11 +00:00
b3c5933a23
state: return to-be-used function
2017-11-27 22:39:11 +00:00
331857c9e6
linting: apply errcheck part2
2017-11-27 22:39:11 +00:00
57ea4987f7
linting: apply errcheck part1
2017-11-27 22:39:11 +00:00
d95ba866b8
lint: apply deadcode/unused
2017-11-27 22:39:11 +00:00
1721543e5c
linting: apply misspell
2017-11-27 22:39:11 +00:00
46ccbcbff6
linting: apply 'gofmt -s -w' throughout
2017-11-27 22:39:11 +00:00
fc33576bac
linting: replace megacheck with metalinter
2017-11-27 22:39:11 +00:00
366bc00b70
Merge pull request #895 from tendermint/894-vagrant-instructions
...
add Vagrant instructions to CONTRIBUTING guides (Refs #894 ) [ci skip]
2017-11-27 20:54:32 +00:00
d5cd3a111f
Merge pull request #899 from tendermint/feature/lite-client
...
Rename certifier to lite (#784 ) and add godocs
2017-11-27 17:21:15 +00:00
94e400a5d6
Merge pull request #896 from tendermint/normalize-priority-and-id
...
normalize priority and id and remove pointers in ChannelDescriptor
2017-11-27 17:05:38 +00:00
7dd249f754
Merge pull request #882 from caffix/develop
...
fixed race condition reported in issue #881
2017-11-27 16:50:57 +00:00
12ae1bb5e5
Address comments
2017-11-27 16:23:56 +01:00
248f176c1f
Rename light to lite
2017-11-27 16:19:00 +01:00
1871a7c3d0
Rename certifier to light ( #784 ) and add godocs
...
The certifier package is renamed to light. This is more descriptive
especially in the wider blockchain context. Moreover we are building
light-clients using the light package.
This also adds godocs to all exported functions.
Furthermore it introduces some extra error handling. I've added one TODO
where I would like someone else's opinion on how to handle the error.
2017-11-27 16:18:27 +01:00
59b3dcb5cf
normalize priority and id and remove pointers in ChannelDescriptor
2017-11-25 22:01:23 -08:00
fb87590c82
add Vagrant instructions to CONTRIBUTING guides (Refs #894 ) [ci skip]
2017-11-24 16:42:46 -06:00
38c4de3fc7
Merge pull request #891 from tendermint/fix-vagrantfile
...
go requires Git (Fixes #879 )
2017-11-24 22:07:29 +00:00
ae67408d13
go requires Git ( Fixes #879 )
2017-11-23 16:55:57 -06:00
887cb6d0cd
added public methods to handle locking within the trust metric
2017-11-22 23:42:38 -05:00
aeaf2d0b20
Merge branch 'develop' of https://github.com/tendermint/tendermint into develop
2017-11-22 23:11:01 -05: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
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
9c8100043e
made changes to address suggestions from the PR comments
2017-11-20 19:15:11 -05: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
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