Commit Graph

32 Commits

Author SHA1 Message Date
Diego fdff1ebec5
use di to inject network interface provider 2024-05-26 22:24:14 +02:00
diegomrsantos 03f72a8b5c
enable resolver by default 2024-05-26 18:29:34 +02:00
diegomrsantos b11e2b0349
Update libp2p/services/wildcardresolverservice.nim
Co-authored-by: Ludovic Chenut <ludovic@status.im>
2024-05-24 14:13:35 +02:00
Diego e228981a11
remove echo 2024-05-23 17:10:37 +02:00
Diego 907c41a491
remove toOpt 2024-05-23 17:09:56 +02:00
Diego 03668a3e90
formatting 2024-05-23 17:07:18 +02:00
Diego 980950b147
make addr provider a proc 2024-05-23 17:06:25 +02:00
Diego 6d327c37c4
remove peer id concat 2024-05-17 14:51:04 +02:00
Diego 21cb13a8ff
remove unnecessary check 2024-05-17 01:21:11 +02:00
Diego 1b2b009f79
move peer id concatenation to switch 2024-05-17 01:19:23 +02:00
Diego 3a659ffddb
removes scheduler and some cleanup 2024-05-16 19:20:30 +02:00
Diego ac994a8f15
add doc comments 2024-05-16 18:39:58 +02:00
Diego ee8318ec42
add doc comments 2024-05-16 16:08:33 +02:00
Diego cf7b77bf82
add wildcard addr resolver 2024-05-15 16:14:18 +02:00
Jacek Sieka 2ede0fa40c
remove redundant gcsafe annotations (#999) 2023-12-05 08:05:32 +01:00
Tanguy 66f9dc9167
Remove all `Result.get()`s & `Option` -> `Opt` (#902)
Co-authored-by: Ludovic Chenut <ludovic@status.im>
Co-authored-by: Diego <diego@status.im>
2023-06-28 16:44:58 +02:00
diegomrsantos 67711478ce
Consider dns as public address (#913) 2023-06-13 17:58:41 +02:00
diegomrsantos 3640b4dd89
Autonat and HP changes (#899) 2023-06-07 15:26:58 +02:00
Tanguy c76d1e18ef
Remove nim 1.2 support (#907) 2023-06-07 11:12:49 +00:00
diegomrsantos d40d324160
fix missing import (#897) 2023-05-26 10:36:39 +02:00
diegomrsantos a677b06273
Try a direct connection only if there isn't one already (#891) 2023-05-25 15:48:22 +02:00
diegomrsantos 6050cdef7e
Refinement of Hole Punching Service (#892) 2023-05-25 15:47:00 +02:00
Tanguy 225accd11b
Less warnings (#813)
Co-authored-by: Diego <diego@status.im>
2023-05-18 10:24:17 +02:00
diegomrsantos 7d6bc545e0
Handle dns addrs in HP service (#890) 2023-05-16 14:59:02 +02:00
diegomrsantos a5666789b0
Hole Punching (#806)
Co-authored-by: Tanguy <tanguy@status.im>
2023-04-18 12:50:21 +02:00
diegomrsantos af5299f26c
Create an ObservedAddrManager and add an AddressMapper in AutonatService and AutoRelayService (#871)
Co-authored-by: Tanguy <tanguy@status.im>
2023-03-24 15:42:49 +00:00
Ludovic Chenut 0e28d3b828
Add the peerId to the transport.dial (#842) 2023-01-31 12:46:10 +01:00
Ludovic Chenut 489c115132
Autorelay service (#819) 2023-01-17 16:18:38 +01:00
diegomrsantos 9f658c151e
Autonat refactoring (#834) 2023-01-06 11:14:38 +01:00
diegomrsantos 9532bff983
Ignore unknown answers (#831)
Co-authored-by: Tanguy <tanguy@status.im>
2022-12-23 16:49:25 +01:00
diegomrsantos 676786b00e
Add Autonat timeout (#829)
Co-authored-by: Ludovic Chenut <ludovic@status.im>
2022-12-22 19:29:31 +00:00
diegomrsantos 67ef25fae0
Autonat service (#814)
Co-authored-by: Tanguy <tanguy@status.im>
2022-12-16 11:32:00 +00:00