Commit Graph

15 Commits

Author SHA1 Message Date
Gus Eggert 7a35d0df97
feat: plumb through peerstore context changes (#1237) 2021-11-12 13:43:02 -05:00
Marten Seemann d01b892679 update go-libp2p-swarm to v0.7.0 2021-10-19 10:39:32 +02:00
Marten Seemann a157b1bd91 move isRelayAddr helper function 2021-10-12 15:09:30 +02:00
Marten Seemann 2828a61f9c move circuitv2 tests to the relay package 2021-10-12 15:09:29 +02:00
Marten Seemann 7ecefa8cba reject circuitv2 reservations with nonsensical expiration times 2021-09-24 14:43:22 +01:00
vyzo 9674b5cda5 make hop tags and values private 2021-09-21 13:38:50 +03:00
vyzo 0d8a1852cf make tag value fixed, tagged in first circuit, untagged in last. 2021-09-21 13:37:41 +03:00
vyzo 369df59523 fix tag increment 2021-09-21 13:37:41 +03:00
vyzo 3df061d90e tag relay hops in relay implementations 2021-09-21 13:37:40 +03:00
vyzo d1e26810a0
Add standalone implementation of v1 Relay (#1186)
* add circuitv1 protobuf

* add implementation of v1 circuit relay

Intended to be used by standalone daemons and tests

* remove references to go-libp2p-circuit from production code

* update tests to use the in-tree v1 Relay

* use go-log/v2 in relay v1 impl

* use in-tree v1 relay in relay example

* remove go-libp2p-circuit dep from examples go.mod, go mod tidy
2021-09-20 00:29:42 -07:00
Marten Seemann 29da01af70 update go-libp2p-core to v0.10.0 2021-09-17 18:50:15 +02:00
Marten Seemann a5f982ff01
Merge pull request #1185 from libp2p/circuit-shutdown
don't use a context to shut down the circuitv2
2021-09-17 18:23:41 +02:00
Marten Seemann 729386c495 don't use a context to shut down the circuitv2 2021-09-17 11:37:28 +02:00
Steven Allen 2c69c99b23 fix: remove v1 go-log dep 2021-09-15 20:01:07 +02:00
vyzo 79d995404c
Use circuitv2 code (#1183)
* move circuitv2 to p2p/protocol

* update circuitv2 imports

* RIP circuit v2; use circuitv2

* fix autorelay test

* fix holepunch test

* fix relay example
2021-09-10 02:43:58 -07:00