Raghav Gulati
8272eb583e
Change test name to reflect no relaying
...
Improperly named test. In this test, we're only testing that we reject
malicious messages.
2019-05-08 08:59:12 -07:00
Raghav Gulati
516c32e854
Remove commented out code
...
bhost import was commented out.
2019-05-07 15:05:00 -07:00
Raghav Gulati
6b2635b6ac
adversaryPeer -> adversary
2019-05-07 10:17:55 -07:00
Raghav Gulati
d740f53531
adversarial -> adversary
2019-05-07 10:14:37 -07:00
Raghav Gulati
b44471d7ce
Ensure that the received message is the correct one
2019-05-07 10:10:05 -07:00
Raghav Gulati
ed746477f9
Reduce time to wait
...
2 seconds per wait seemed a bit aggressive. Halved the total time of the test.
2019-05-07 10:09:40 -07:00
Raghav Gulati
c33d8a8353
Add test for improperly signed message
...
Test the case where an adversarial peer signs a message with a key they
didn't originally register with. First, we test that an adversarial peer
will allow the message to pass through validation as they turn off
strict verification (putting themselves at risk), but an honest peer
with strict verification on will never see the message!
2019-05-07 09:56:09 -07:00
Steven Allen
9db3dbdde9
Merge pull request #180 from libp2p/feat/strict-signing
...
Strict message signing by default
2019-05-02 10:31:56 -07:00
vyzo
4d328a35c0
strict message signing by default
2019-05-02 20:15:55 +03:00
Steven Allen
da5d1479f6
Merge pull request #178 from libp2p/chore/fix-ci-tests
...
Fix CI tests
2019-04-30 01:07:09 -07:00
vyzo
5f50a58aed
skip TestGossipsubControlPiggyback, it makes travis unhappy
2019-04-30 10:50:53 +03:00
vyzo
95071e955a
pacify the race detector in TestGossipsubFanoutExpiry
2019-04-30 10:49:02 +03:00
Raúl Kripalani
9b156866c6
farewell gx; thanks for serving us well.
2019-04-11 21:11:16 +01:00
Yusef Napora
8187926557
update readme badges
2019-04-09 12:02:20 -04:00
Raúl Kripalani
a9188f62af
remove Jenkinsfile.
2019-03-11 16:14:40 +00:00
vyzo
c928ccafe0
Merge pull request #168 from libp2p/gx/update
...
gx publish 0.11.16
2019-03-07 15:24:57 +02:00
vyzo
b0da703a22
gx publish 0.11.16
2019-03-07 15:24:36 +02:00
Raúl Kripalani
485028263d
Merge pull request #166 from libp2p/gomod
...
add gomod support // tag v0.0.1.
2019-03-02 00:37:22 +00:00
Raúl Kripalani
25cbf38777
add gomod support // tag v0.0.1.
2019-03-02 00:13:11 +00:00
Steven Allen
f8276dc198
gx publish 0.11.15
2019-02-27 11:55:05 -08:00
Hector Sanjuan
338156bb63
Merge pull request #164 from libp2p/gx/update-9hkcv6
...
gx publish 0.11.14
2019-02-26 22:59:03 +00:00
Hector Sanjuan
2807e08544
gx publish 0.11.14
2019-02-26 22:53:03 +00:00
Steven Allen
30f6484345
Merge pull request #163 from libp2p/badge-update
...
Update badges for consistency across libp2p repos
2019-02-20 16:10:50 -08:00
Yusef Napora
ec67a03cbf
chore: update badges for consistency across libp2p org
2019-02-20 16:09:28 -05:00
Jakub Sztandera
3b73061df9
gx publish 0.11.13
2019-02-18 19:59:14 +01:00
Jakub Sztandera
996de2472e
gx publish 0.11.12
2019-02-18 16:32:05 +01:00
Steven Allen
931b6d01cb
gx publish 0.11.11
2019-02-07 15:35:01 -08:00
vyzo
d4589956d2
Merge pull request #156 from libp2p/fix/issue-155
...
move timecache check/update after validation
2019-01-22 00:51:56 +02:00
vyzo
4b55053bfb
add early timecache check for already validated messages
2019-01-22 00:47:12 +02:00
vyzo
67eece2526
move timecache check/update after validation
2019-01-21 23:57:59 +02:00
vyzo
ef065c2b1c
Merge pull request #154 from libp2p/fix/issue-153
...
fix nonsensical check
2019-01-21 00:26:38 +02:00
vyzo
73491150d9
fix nonsensical check
2019-01-21 00:22:32 +02:00
vyzo
bfd65a2f6b
Merge pull request #151 from libp2p/feat/validator
...
Extend validator interface to include message source
2019-01-17 18:09:14 +02:00
vyzo
8405014ffe
extend validator interface to include message source
2019-01-17 14:44:34 +02:00
vyzo
87e2f5619f
Merge pull request #149 from libp2p/feat/blacklist
...
Implement peer blacklist
2019-01-17 14:35:57 +02:00
vyzo
440c8b7331
test blacklist implementations
2019-01-17 14:26:06 +02:00
vyzo
f6ac3aab4f
lru blackclist
2019-01-17 14:20:34 +02:00
vyzo
f084087574
blacklist type and option
2019-01-17 14:05:04 +02:00
vyzo
e0e995d889
add check for blacklisted sources
2019-01-16 12:26:26 +02:00
vyzo
1a05f13251
blacklist test
2019-01-15 19:10:08 +02:00
vyzo
654b4e9bf3
close streams and ignore blacklisted peers
2019-01-15 19:04:22 +02:00
vyzo
cfb9a1dc96
implement peer blacklist
2019-01-15 16:17:24 +02:00
vyzo
fef794ab97
Merge pull request #148 from libp2p/feat/timecache
...
make timecache duration configurable
2019-01-15 16:12:16 +02:00
vyzo
04f90acd17
make timecache duration configurable
2019-01-15 15:39:13 +02:00
vyzo
2e1fb613f9
Merge pull request #147 from libp2p/documentation
...
godoc is not html either
2019-01-11 12:32:06 +02:00
vyzo
153c9f77c7
godoc is not html either
...
and no it doesn't render html either; can't make a damn ordered list...
2019-01-11 12:17:48 +02:00
vyzo
b9204320ce
Merge pull request #146 from libp2p/documentation
...
godoc documentation is not markdown
2019-01-11 12:12:16 +02:00
vyzo
cb760b0323
godoc documentation is not markdown
2019-01-11 12:03:09 +02:00
vyzo
4c242f5882
Merge pull request #145 from libp2p/documentation
...
Add documentation for subscribe's non-instanteneous semantics
2019-01-11 11:52:41 +02:00
vyzo
41306ab374
move package declaration after documentation so that it is rendered by godoc
2019-01-11 11:47:06 +02:00