Commit 18d06eb
p2p impl (#2055)
* p2p impl
* parallel http and p2p
* rename job
* fix field blob
* serialize string
* validate ddo
* revert decryptor url
* revert to http for now
* fix signatures
* lint fix
* decrypt p2p and refactor
* cleanup
* cleanup and refactroing
* p2p warmup
* find peer
* move functions to class level
* remove unused checks
* async node creation
* reuse same provider
* Updating ComputeExamples.md
* simplift to hex and log err msg
* lint fix
* revert bad conversion
* enable tcp and new method
* fix methods mismatch
* use signer in tests
* Updating ComputeExamples.md
* try peer id
* use contracts version main
* export contracts version main
* get compute result, not only by url
* lint fix
* signature if no auth token
* remove lint unused vars
* encypt docker registry auth p2p
* rename env to NODE
* rename to NODE_ENDPOINT, NODE is reserved
* Updating CodeExamples.md
* Updating ComputeExamples.md
* push,fetch config and no tls
* Release 7.0.0-next.0
* bump uint8arrays to esm supported
* getmultiaddr from peerid
* remove mdns
* print ci barge start script logs
* remove explicit contracts version
* start without typesense
* Release 7.0.0-next.1
* improve check
* circuit relay
* circuit relay provider
* libp2p circuit + evict bad connections
* rename methods
* fix unused auth in initializecompute
* fix test init compute
* Updating ComputeExamples.md
* Release 7.0.0-next.2
* replace uint8arrays lib with native
* fix exports name in pacakge json
* Revert "fix exports name in pacakge json"
This reverts commit 278ef0f.
* Release 7.0.0-next.3
* devdep libp2p + fix exports
* Release 7.0.0-next.4
* fix circuit parsing
* Release 7.0.0-next.5
* keep only esential files
* Release 7.0.0-next.6
* get node jobs and get node status
* add fromtimestamp http
* use direct command for status
* Release 7.0.0-next.7
* allow multiaddr dial
* Release 7.0.0-next.8
* fix review comments
* Release 7.0.0-next.9
* p2p store discovered nodes & add dockerregistryauth
* lint fix
* Release 7.0.0-next.10
* export libp2p node
* Release 7.0.0-next.11
* fetchnodelogs p2p method
* Release 7.0.0-next.12
* create auth token with signed messge
* Release 7.0.0-next.13
* ci use 127.0.0.1
* use older branch
* Revert "ci use 127.0.0.1"
This reverts commit db531ab.
* add optional stream to command (#2065)
* add optional stream to command
* run CI on all branches, not just main
* expose client protocols (#2066)
* expose client protocols
---------
Co-authored-by: GitHub Actions Bot <>
Co-authored-by: alexcos20 <alex.coseru@gmail.com>1 parent add67ef commit 18d06eb
26 files changed
Lines changed: 8485 additions & 20682 deletions
File tree
- .github/workflows
- scripts
- src
- @types
- config
- contracts
- services
- providers
- utils
- test
- integration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| 98 | + | |
94 | 99 | | |
95 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
96 | 110 | | |
97 | 111 | | |
98 | 112 | | |
99 | 113 | | |
100 | | - | |
| 114 | + | |
101 | 115 | | |
102 | 116 | | |
103 | 117 | | |
| |||
115 | 129 | | |
116 | 130 | | |
117 | 131 | | |
118 | | - | |
119 | | - | |
| 132 | + | |
| 133 | + | |
120 | 134 | | |
121 | 135 | | |
122 | 136 | | |
| |||
136 | 150 | | |
137 | 151 | | |
138 | 152 | | |
139 | | - | |
| 153 | + | |
140 | 154 | | |
141 | 155 | | |
142 | 156 | | |
| |||
170 | 184 | | |
171 | 185 | | |
172 | 186 | | |
173 | | - | |
174 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
175 | 194 | | |
176 | 195 | | |
177 | 196 | | |
178 | | - | |
| 197 | + | |
179 | 198 | | |
180 | 199 | | |
181 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
182 | 204 | | |
183 | 205 | | |
184 | 206 | | |
| |||
187 | 209 | | |
188 | 210 | | |
189 | 211 | | |
| 212 | + | |
190 | 213 | | |
191 | 214 | | |
192 | 215 | | |
| |||
199 | 222 | | |
200 | 223 | | |
201 | 224 | | |
202 | | - | |
| 225 | + | |
203 | 226 | | |
204 | 227 | | |
205 | 228 | | |
| |||
237 | 260 | | |
238 | 261 | | |
239 | 262 | | |
240 | | - | |
| 263 | + | |
241 | 264 | | |
242 | 265 | | |
243 | 266 | | |
244 | 267 | | |
245 | | - | |
246 | | - | |
| 268 | + | |
| 269 | + | |
247 | 270 | | |
248 | 271 | | |
249 | 272 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
7 | 108 | | |
8 | 109 | | |
| 110 | + | |
| 111 | + | |
9 | 112 | | |
| 113 | + | |
10 | 114 | | |
11 | 115 | | |
12 | 116 | | |
| |||
209 | 313 | | |
210 | 314 | | |
211 | 315 | | |
212 | | - | |
| 316 | + | |
213 | 317 | | |
214 | 318 | | |
215 | 319 | | |
| |||
218 | 322 | | |
219 | 323 | | |
220 | 324 | | |
221 | | - | |
| 325 | + | |
222 | 326 | | |
223 | | - | |
| 327 | + | |
224 | 328 | | |
225 | 329 | | |
226 | | - | |
227 | | - | |
228 | 330 | | |
229 | 331 | | |
230 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
209 | | - | |
210 | | - | |
211 | | - | |
| 210 | + | |
212 | 211 | | |
213 | 212 | | |
214 | 213 | | |
| |||
0 commit comments