Commit c9e3085
authored
feat(rust/hermes-ipfs): ipfs transport enable methods (#689)
* feat(hermes-ipfs): Add transport enable methods for P2P connectivity
Add wrapper methods to enable TCP, QUIC, and DNS transports in
HermesIpfsBuilder. These methods are required because connexa's
TransportConfig disables all transports by default.
- Add enable_tcp() method
- Add enable_quic() method
- Add enable_dns() method
Without these methods, libp2p connections fail with "Multiaddr is
not supported" errors. The methods must be called explicitly when
building an IPFS node to enable P2P networking.
Related to: #704
* chore(hermes-ipfs): Simplify connexa features to use 'full'
Use the 'full' feature flag for connexa dependency instead of
explicitly listing individual features. This is more maintainable
and cleaner.
Or if you prefer a shorter version:
* chore(hermes-ipfs): Format cleanup and transport config notes
Format where clauses and add TODO comments documenting disabled
default transport config and TLS/websocket options.1 parent 812c9a8 commit c9e3085
2 files changed
+24
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
73 | 91 | | |
74 | 92 | | |
75 | 93 | | |
| |||
110 | 128 | | |
111 | 129 | | |
112 | 130 | | |
113 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
114 | 135 | | |
115 | 136 | | |
116 | 137 | | |
| |||
0 commit comments