@@ -73,21 +73,21 @@ ICE dynamically selects the best path based on connectivity and performance.
73
73
## Mina Rust Node WebRTC Implementation
74
74
75
75
The Mina Rust Node's WebRTC implementation is located in
76
- [ ` p2p/src/webrtc/ ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/index.html )
76
+ [ ` p2p/src/webrtc/ ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/index.html )
77
77
and provides a structured approach to peer-to-peer connections for blockchain
78
78
communication.
79
79
80
80
### Key Components
81
81
82
- #### Host Resolution ([ ` host.rs ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/host/index.html ) )
82
+ #### Host Resolution ([ ` host.rs ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/host/index.html ) )
83
83
84
84
Handles different address types:
85
85
86
86
- Domain names (with DNS resolution)
87
87
- IPv4/IPv6 addresses
88
88
- Multiaddr protocol integration
89
89
90
- #### Signaling Messages ([ ` signal.rs ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/index.html ) )
90
+ #### Signaling Messages ([ ` signal.rs ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/index.html ) )
91
91
92
92
Defines the core signaling data structures:
93
93
@@ -96,15 +96,15 @@ Defines the core signaling data structures:
96
96
- ** Answer** : Response containing SDP and identity information
97
97
- ** Connection Response** : Handles acceptance, rejection, and error states
98
98
99
- #### Signaling Methods ([ ` signaling_method/ ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signaling_method/index.html ) )
99
+ #### Signaling Methods ([ ` signaling_method/ ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signaling_method/index.html ) )
100
100
101
101
Supports multiple signaling transport methods:
102
102
103
103
- HTTP/HTTPS direct connections
104
104
- HTTPS proxy with cluster support
105
105
- P2P relay through existing peers
106
106
107
- #### Connection Authentication ([ ` connection_auth.rs ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/connection_auth/index.html ) )
107
+ #### Connection Authentication ([ ` connection_auth.rs ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/connection_auth/index.html ) )
108
108
109
109
Provides cryptographic authentication:
110
110
@@ -127,32 +127,32 @@ The Mina Rust Node's WebRTC implementation includes several security measures:
127
127
### Connection Flow
128
128
129
129
1 . ** Offer Creation** : Initiating peer creates an
130
- [ offer] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/struct.Offer.html )
130
+ [ offer] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/struct.Offer.html )
131
131
with SDP, identity, and target information using
132
- [ ` Offer::new() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/struct.Offer.html#method.new )
132
+ [ ` Offer::new() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/struct.Offer.html#method.new )
133
133
2 . ** Signaling** : Offer is transmitted through the configured
134
- [ signaling method] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signaling_method/enum.SignalingMethod.html )
134
+ [ signaling method] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signaling_method/enum.SignalingMethod.html )
135
135
using
136
- [ ` SignalingMethod::http_url() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signaling_method/enum.SignalingMethod.html#method.http_url )
136
+ [ ` SignalingMethod::http_url() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signaling_method/enum.SignalingMethod.html#method.http_url )
137
137
for HTTP-based methods
138
138
3 . ** Offer Processing** : Receiving peer validates chain ID, identity, and
139
139
capacity using
140
- [ ` Offer::chain_id() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/struct.Offer.html#method.chain_id )
140
+ [ ` Offer::chain_id() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/struct.Offer.html#method.chain_id )
141
141
and
142
- [ ` Offer::identity() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/struct.Offer.html#method.identity )
142
+ [ ` Offer::identity() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/struct.Offer.html#method.identity )
143
143
4 . ** Answer Generation** : If accepted, receiving peer creates an
144
- [ answer] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/struct.Answer.html )
144
+ [ answer] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/struct.Answer.html )
145
145
with SDP using
146
- [ ` Answer::new() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/struct.Answer.html#method.new )
146
+ [ ` Answer::new() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/struct.Answer.html#method.new )
147
147
5 . ** Connection Response** : Response is wrapped in
148
- [ ` P2pConnectionResponse ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/signal/enum.P2pConnectionResponse.html )
148
+ [ ` P2pConnectionResponse ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/signal/enum.P2pConnectionResponse.html )
149
149
indicating acceptance or rejection
150
150
6 . ** Authentication** : Final handshake using encrypted
151
- [ connection authentication] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/connection_auth/struct.ConnectionAuth.html )
151
+ [ connection authentication] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/connection_auth/struct.ConnectionAuth.html )
152
152
created via
153
- [ ` ConnectionAuth::new() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/connection_auth/struct.ConnectionAuth.html#method.new )
153
+ [ ` ConnectionAuth::new() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/connection_auth/struct.ConnectionAuth.html#method.new )
154
154
and encrypted with
155
- [ ` ConnectionAuth::encrypt() ` ] ( https://o1-labs.github.io/openmina /api-docs/p2p/webrtc/connection_auth/struct.ConnectionAuth.html#method.encrypt )
155
+ [ ` ConnectionAuth::encrypt() ` ] ( https://o1-labs.github.io/mina-rust /api-docs/p2p/webrtc/connection_auth/struct.ConnectionAuth.html#method.encrypt )
156
156
157
157
### Integration with Mina Rust Node Architecture
158
158
0 commit comments