Commit Graph

710 Commits

Author SHA1 Message Date
Yusef Napora 4c804a954a track changes to peer records in -core 2020-04-18 11:09:06 +03:00
vyzo 5c48ff9a4e gomod: use go-libp2p-core@peer-records and go-libp2p-peerstore@certified-addrs 2020-04-18 11:09:06 +03:00
Steven Allen e2e0d9ee35
fix: fix a busy loop while offline (#278)
If advertising fails, we should wait and retry instead of busy looping.

fixes https://github.com/ipfs/go-ipfs/issues/7049
2020-04-06 23:26:05 -07:00
David Dias 14fab699aa
docs: update readme welcome message 2020-04-05 13:22:28 +01:00
David Dias d3d43e32be
docs: fix CI badges 2020-03-25 11:24:36 +00:00
David Dias 33e5c23f6b
docs: Tidy up (#271)
* docs: refresh README (badges, toc, license)

* chore: update to permissive license stack

* chore: add lead maintainer info

* docs: update list of files in the README

* docs: update list of files in the README

Co-authored-by: vyzo <vyzo@hackzen.org>
2020-03-25 08:42:05 +00:00
David Dias f8820b5103
Update label-syncer.yml 2020-03-25 08:08:35 +00:00
David Dias fd0c4d73c6 chore: update travis config 2020-03-25 09:38:32 +02:00
David Dias f77b70919a
chore: create label-syncer through action ui 2020-03-24 19:31:07 +00:00
David Dias 8200fafb9b
Delete label-syncer.yml 2020-03-24 19:30:43 +00:00
David Dias d64910fd15
chore: add the label sync workflow 2020-03-24 16:01:56 +00:00
David Dias 0bfa4f7f12
chore: add libp2p labels 2020-03-24 15:59:45 +00:00
vyzo 7cafd84fa6 gomod tidy 2020-03-24 15:52:34 +02:00
vyzo 946f35c4d4 fix rebase artifacts 2020-03-24 15:52:34 +02:00
vyzo ce1970d18d don't spawn a goroutine for scheduling connections 2020-03-24 15:52:34 +02:00
vyzo 0dec90571b shuffle peers when limiting px set 2020-03-24 15:52:34 +02:00
vyzo 17fd85f02c add limit to the number of peers to connect to from px 2020-03-24 15:52:34 +02:00
vyzo f20f93004b connect to peers obtained through px 2020-03-24 15:52:34 +02:00
vyzo 85b455fa50 backoff grafting to peers that have pruned us 2020-03-24 15:52:34 +02:00
vyzo 6b80c4078d peer exchange on prune 2020-03-24 15:52:34 +02:00
vyzo 73af710419 protocol ID for gossipsub v1.1 2020-03-24 15:52:34 +02:00
vyzo 195f86bd90 gomod: use go-libp2p-core@peer-records and go-libp2p-peerstore@certified-addrs 2020-03-24 15:52:34 +02:00
Yusef Napora 559cf91dce renaming in error messages & local var 2020-03-24 15:52:34 +02:00
Yusef Napora d860620a23 add missing continue to error case 2020-03-24 15:52:34 +02:00
Yusef Napora 23e30d529a fix import & var naming 2020-03-24 15:52:34 +02:00
Yusef Napora 9ad332dd1d update PR branch dependencies 2020-03-24 15:52:34 +02:00
Yusef Napora 919d81fd91 track changes to peer records in -core 2020-03-24 15:52:34 +02:00
vyzo 5b0ec14ea7 don't spawn a goroutine for scheduling connections 2020-03-24 15:52:34 +02:00
vyzo efb09f2984 shuffle peers when limiting px set 2020-03-24 15:52:34 +02:00
vyzo e4667b6073 add limit to the number of peers to connect to from px 2020-03-24 15:52:34 +02:00
vyzo a4c5325665 make connection timeout a variable, set for 30s (instead of 10s) 2020-03-24 15:52:34 +02:00
vyzo f280c5f705 extend star topology test to assert that no peer is left with a single connection 2020-03-24 15:52:34 +02:00
vyzo 2e7cdebf34 trace peer exchange 2020-03-24 15:52:34 +02:00
vyzo 95d3bbfa1b test prune px with a star topology 2020-03-24 15:52:34 +02:00
vyzo d118e1d554 connect to peers obtained through px 2020-03-24 15:52:34 +02:00
vyzo 806fd24a58 backoff grafting to peers that have pruned us 2020-03-24 15:52:34 +02:00
vyzo 6c59beedb8 peer exchange on prune 2020-03-24 15:52:34 +02:00
vyzo 6fc8050bac protocol ID for gossipsub v1.1 2020-03-24 15:52:34 +02:00
vyzo abab666596 extend ControlPrune with peer exchange information 2020-03-24 15:52:34 +02:00
vyzo 835567eb54 gomod: use go-libp2p-core@peer-records and go-libp2p-peerstore@certified-addrs 2020-03-24 15:52:34 +02:00
vyzo fe350fd7b2
Merge pull request #268 from libp2p/fix-tracer-sendTo-field
set sendTo to remote peer id in trace events
2020-03-16 17:42:05 +02:00
Yusef Napora a4d562cb83 set sendTo to remote peer id in trace events 2020-03-15 21:00:39 -04:00
Raúl Kripalani 1f147c2457
make wire protocol message size configurable. (#261) 2020-02-25 18:07:16 -08:00
Steven Allen a1999db893
Merge pull request #254 from libp2p/dependabot/go_modules/github.com/hashicorp/golang-lru-0.5.4
Bump github.com/hashicorp/golang-lru from 0.5.3 to 0.5.4
2020-02-11 08:52:39 -08:00
Steven Allen 9300c0b49f
Merge pull request #259 from libp2p/dependabot/go_modules/github.com/multiformats/go-multistream-0.1.1
Bump github.com/multiformats/go-multistream from 0.1.0 to 0.1.1
2020-02-11 08:49:24 -08:00
dependabot-preview[bot] 144a543b71
Bump github.com/multiformats/go-multistream from 0.1.0 to 0.1.1
Bumps [github.com/multiformats/go-multistream](https://github.com/multiformats/go-multistream) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/multiformats/go-multistream/releases)
- [Commits](https://github.com/multiformats/go-multistream/compare/v0.1.0...v0.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-05 11:19:57 +00:00
vyzo 40e1c94708
Merge pull request #258 from aarshkshah1992/feat/blacklist-timecache
Replace LRU cache blacklist implementation with a time cache
2020-02-05 11:28:09 +02:00
Aarsh Shah 6eeed58a50 defer unlocking 2020-02-05 14:33:20 +05:30
Aarsh Shah 677ca1025b added mutex to timecache 2020-02-05 14:13:21 +05:30
Aarsh Shah 3f48f468ac replace lru cache blacklist implementation with a time cache 2020-02-04 20:05:16 +05:30