@streamr/trackerless-network 100.0.0-testnet-three.6 → 100.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +7 -7
- package/dist/src/NetworkNode.js +11 -11
- package/dist/src/NetworkNode.js.map +1 -1
- package/dist/src/NetworkStack.d.ts +6 -6
- package/dist/src/NetworkStack.js +22 -20
- package/dist/src/NetworkStack.js.map +1 -1
- package/dist/src/exports.d.ts +3 -3
- package/dist/src/exports.js +7 -1
- package/dist/src/exports.js.map +1 -1
- package/dist/src/logic/{StreamrNode.d.ts → ContentDeliveryManager.d.ts} +6 -6
- package/dist/src/logic/{StreamrNode.js → ContentDeliveryManager.js} +16 -13
- package/dist/src/logic/ContentDeliveryManager.js.map +1 -0
- package/dist/src/logic/{DeliveryRpcLocal.d.ts → ContentDeliveryRpcLocal.d.ts} +4 -4
- package/dist/src/logic/{DeliveryRpcLocal.js → ContentDeliveryRpcLocal.js} +4 -4
- package/dist/src/logic/ContentDeliveryRpcLocal.js.map +1 -0
- package/dist/src/logic/{DeliveryRpcRemote.d.ts → ContentDeliveryRpcRemote.d.ts} +2 -2
- package/dist/src/logic/{DeliveryRpcRemote.js → ContentDeliveryRpcRemote.js} +4 -4
- package/dist/src/logic/ContentDeliveryRpcRemote.js.map +1 -0
- package/dist/src/logic/EntryPointDiscovery.d.ts +1 -1
- package/dist/src/logic/EntryPointDiscovery.js +3 -3
- package/dist/src/logic/EntryPointDiscovery.js.map +1 -1
- package/dist/src/logic/Layer0Node.d.ts +1 -1
- package/dist/src/logic/Layer1Node.d.ts +7 -1
- package/dist/src/logic/NodeList.d.ts +11 -10
- package/dist/src/logic/NodeList.js +7 -2
- package/dist/src/logic/NodeList.js.map +1 -1
- package/dist/src/logic/RandomGraphNode.d.ts +4 -1
- package/dist/src/logic/RandomGraphNode.js +36 -14
- package/dist/src/logic/RandomGraphNode.js.map +1 -1
- package/dist/src/logic/createRandomGraphNode.d.ts +1 -1
- package/dist/src/logic/createRandomGraphNode.js +16 -7
- package/dist/src/logic/createRandomGraphNode.js.map +1 -1
- package/dist/src/logic/formStreamPartDeliveryServiceId.d.ts +1 -1
- package/dist/src/logic/formStreamPartDeliveryServiceId.js +4 -3
- package/dist/src/logic/formStreamPartDeliveryServiceId.js.map +1 -1
- package/dist/src/logic/inspect/Inspector.js +2 -2
- package/dist/src/logic/inspect/Inspector.js.map +1 -1
- package/dist/src/logic/neighbor-discovery/HandshakeRpcLocal.d.ts +3 -4
- package/dist/src/logic/neighbor-discovery/HandshakeRpcLocal.js +6 -11
- package/dist/src/logic/neighbor-discovery/HandshakeRpcLocal.js.map +1 -1
- package/dist/src/logic/neighbor-discovery/HandshakeRpcRemote.js +2 -2
- package/dist/src/logic/neighbor-discovery/HandshakeRpcRemote.js.map +1 -1
- package/dist/src/logic/neighbor-discovery/Handshaker.d.ts +4 -3
- package/dist/src/logic/neighbor-discovery/Handshaker.js +35 -16
- package/dist/src/logic/neighbor-discovery/Handshaker.js.map +1 -1
- package/dist/src/logic/neighbor-discovery/NeighborFinder.d.ts +3 -0
- package/dist/src/logic/neighbor-discovery/NeighborFinder.js +7 -1
- package/dist/src/logic/neighbor-discovery/NeighborFinder.js.map +1 -1
- package/dist/src/logic/neighbor-discovery/NeighborUpdateManager.d.ts +1 -2
- package/dist/src/logic/neighbor-discovery/NeighborUpdateManager.js +0 -1
- package/dist/src/logic/neighbor-discovery/NeighborUpdateManager.js.map +1 -1
- package/dist/src/logic/neighbor-discovery/NeighborUpdateRpcLocal.d.ts +1 -2
- package/dist/src/logic/neighbor-discovery/NeighborUpdateRpcLocal.js +2 -3
- package/dist/src/logic/neighbor-discovery/NeighborUpdateRpcLocal.js.map +1 -1
- package/dist/src/logic/neighbor-discovery/NeighborUpdateRpcRemote.js +1 -1
- package/dist/src/logic/neighbor-discovery/NeighborUpdateRpcRemote.js.map +1 -1
- package/dist/src/logic/protocol-integration/stream-message/GroupKeyResponseTranslator.js.map +1 -1
- package/dist/src/logic/protocol-integration/stream-message/StreamMessageTranslator.js +64 -52
- package/dist/src/logic/protocol-integration/stream-message/StreamMessageTranslator.js.map +1 -1
- package/dist/src/logic/protocol-integration/stream-message/oldStreamMessageBinaryUtils.d.ts +5 -1
- package/dist/src/logic/protocol-integration/stream-message/oldStreamMessageBinaryUtils.js +19 -1
- package/dist/src/logic/protocol-integration/stream-message/oldStreamMessageBinaryUtils.js.map +1 -1
- package/dist/src/logic/proxy/ProxyClient.d.ts +1 -1
- package/dist/src/logic/proxy/ProxyClient.js +8 -8
- package/dist/src/logic/proxy/ProxyClient.js.map +1 -1
- package/dist/src/logic/proxy/ProxyConnectionRpcLocal.d.ts +2 -2
- package/dist/src/logic/proxy/ProxyConnectionRpcLocal.js +5 -5
- package/dist/src/logic/proxy/ProxyConnectionRpcLocal.js.map +1 -1
- package/dist/src/logic/proxy/ProxyConnectionRpcRemote.js +1 -1
- package/dist/src/logic/proxy/ProxyConnectionRpcRemote.js.map +1 -1
- package/dist/src/logic/temporary-connection/TemporaryConnectionRpcLocal.d.ts +5 -1
- package/dist/src/logic/temporary-connection/TemporaryConnectionRpcLocal.js +7 -2
- package/dist/src/logic/temporary-connection/TemporaryConnectionRpcLocal.js.map +1 -1
- package/dist/src/logic/temporary-connection/TemporaryConnectionRpcRemote.js +2 -2
- package/dist/src/logic/temporary-connection/TemporaryConnectionRpcRemote.js.map +1 -1
- package/dist/src/proto/google/protobuf/any.d.ts +11 -4
- package/dist/src/proto/google/protobuf/any.js.map +1 -1
- package/dist/src/proto/google/protobuf/empty.d.ts +0 -1
- package/dist/src/proto/google/protobuf/empty.js.map +1 -1
- package/dist/src/proto/google/protobuf/timestamp.d.ts +9 -3
- package/dist/src/proto/google/protobuf/timestamp.js.map +1 -1
- package/dist/src/proto/packages/dht/protos/DhtRpc.client.d.ts +16 -6
- package/dist/src/proto/packages/dht/protos/DhtRpc.client.js +11 -4
- package/dist/src/proto/packages/dht/protos/DhtRpc.client.js.map +1 -1
- package/dist/src/proto/packages/dht/protos/DhtRpc.d.ts +98 -87
- package/dist/src/proto/packages/dht/protos/DhtRpc.js +45 -49
- package/dist/src/proto/packages/dht/protos/DhtRpc.js.map +1 -1
- package/dist/src/proto/packages/dht/protos/DhtRpc.server.d.ts +10 -4
- package/dist/src/proto/packages/trackerless-network/protos/NetworkRpc.client.d.ts +4 -4
- package/dist/src/proto/packages/trackerless-network/protos/NetworkRpc.client.js +7 -7
- package/dist/src/proto/packages/trackerless-network/protos/NetworkRpc.client.js.map +1 -1
- package/dist/src/proto/packages/trackerless-network/protos/NetworkRpc.d.ts +62 -26
- package/dist/src/proto/packages/trackerless-network/protos/NetworkRpc.js +31 -14
- package/dist/src/proto/packages/trackerless-network/protos/NetworkRpc.js.map +1 -1
- package/dist/src/proto/packages/trackerless-network/protos/NetworkRpc.server.d.ts +2 -2
- package/dist/test/benchmark/first-message.js +5 -5
- package/dist/test/benchmark/first-message.js.map +1 -1
- package/dist/test/utils/utils.d.ts +2 -2
- package/dist/test/utils/utils.js +18 -11
- package/dist/test/utils/utils.js.map +1 -1
- package/karma.config.js +2 -0
- package/package.json +7 -7
- package/protos/NetworkRpc.proto +19 -11
- package/src/NetworkNode.ts +11 -11
- package/src/NetworkStack.ts +30 -25
- package/src/exports.ts +7 -3
- package/src/logic/{StreamrNode.ts → ContentDeliveryManager.ts} +21 -17
- package/src/logic/{DeliveryRpcLocal.ts → ContentDeliveryRpcLocal.ts} +5 -5
- package/src/logic/{DeliveryRpcRemote.ts → ContentDeliveryRpcRemote.ts} +2 -2
- package/src/logic/EntryPointDiscovery.ts +4 -4
- package/src/logic/Layer0Node.ts +1 -1
- package/src/logic/Layer1Node.ts +16 -1
- package/src/logic/NodeList.ts +20 -14
- package/src/logic/RandomGraphNode.ts +89 -27
- package/src/logic/createRandomGraphNode.ts +18 -9
- package/src/logic/formStreamPartDeliveryServiceId.ts +2 -1
- package/src/logic/inspect/Inspector.ts +2 -2
- package/src/logic/neighbor-discovery/HandshakeRpcLocal.ts +10 -15
- package/src/logic/neighbor-discovery/HandshakeRpcRemote.ts +2 -2
- package/src/logic/neighbor-discovery/Handshaker.ts +41 -22
- package/src/logic/neighbor-discovery/NeighborFinder.ts +10 -1
- package/src/logic/neighbor-discovery/NeighborUpdateManager.ts +1 -3
- package/src/logic/neighbor-discovery/NeighborUpdateRpcLocal.ts +5 -7
- package/src/logic/neighbor-discovery/NeighborUpdateRpcRemote.ts +1 -1
- package/src/logic/protocol-integration/stream-message/GroupKeyResponseTranslator.ts +0 -1
- package/src/logic/protocol-integration/stream-message/StreamMessageTranslator.ts +74 -71
- package/src/logic/protocol-integration/stream-message/oldStreamMessageBinaryUtils.ts +28 -2
- package/src/logic/proxy/ProxyClient.ts +11 -11
- package/src/logic/proxy/ProxyConnectionRpcLocal.ts +9 -11
- package/src/logic/proxy/ProxyConnectionRpcRemote.ts +1 -1
- package/src/logic/temporary-connection/TemporaryConnectionRpcLocal.ts +14 -6
- package/src/logic/temporary-connection/TemporaryConnectionRpcRemote.ts +2 -2
- package/src/proto/google/protobuf/any.ts +11 -4
- package/src/proto/google/protobuf/empty.ts +0 -1
- package/src/proto/google/protobuf/timestamp.ts +9 -3
- package/src/proto/packages/dht/protos/DhtRpc.client.ts +22 -9
- package/src/proto/packages/dht/protos/DhtRpc.server.ts +10 -4
- package/src/proto/packages/dht/protos/DhtRpc.ts +122 -100
- package/src/proto/packages/trackerless-network/protos/NetworkRpc.client.ts +8 -8
- package/src/proto/packages/trackerless-network/protos/NetworkRpc.server.ts +2 -2
- package/src/proto/packages/trackerless-network/protos/NetworkRpc.ts +79 -37
- package/test/benchmark/StreamPartIdDataKeyDistribution.test.ts +60 -0
- package/test/benchmark/first-message.ts +5 -5
- package/test/end-to-end/inspect.test.ts +6 -6
- package/test/end-to-end/proxy-and-full-node.test.ts +19 -19
- package/test/end-to-end/proxy-connections.test.ts +7 -7
- package/test/end-to-end/proxy-key-exchange.test.ts +16 -13
- package/test/end-to-end/webrtc-full-node-network.test.ts +8 -8
- package/test/end-to-end/websocket-full-node-network.test.ts +9 -9
- package/test/integration/ContentDeliveryManager.test.ts +135 -0
- package/test/integration/{DeliveryRpcRemote.test.ts → ContentDeliveryRpcRemote.test.ts} +6 -6
- package/test/integration/Handshakes.test.ts +7 -3
- package/test/integration/Inspect.test.ts +2 -2
- package/test/integration/NetworkRpc.test.ts +3 -3
- package/test/integration/NetworkStack.test.ts +7 -7
- package/test/integration/NodeInfoRpc.test.ts +10 -10
- package/test/integration/joining-streams-on-offline-peers.test.ts +3 -3
- package/test/integration/stream-without-default-entrypoints.test.ts +1 -1
- package/test/integration/streamEntryPointReplacing.test.ts +10 -8
- package/test/unit/ContentDeliveryManager.test.ts +96 -0
- package/test/unit/{DeliveryRpcLocal.test.ts → ContentDeliveryRpcLocal.test.ts} +4 -4
- package/test/unit/EntrypointDiscovery.test.ts +4 -4
- package/test/unit/HandshakeRpcLocal.test.ts +31 -15
- package/test/unit/Handshaker.test.ts +8 -3
- package/test/unit/NeighborFinder.test.ts +5 -2
- package/test/unit/NeighborUpdateRpcLocal.test.ts +8 -12
- package/test/unit/NetworkNode.test.ts +6 -6
- package/test/unit/NodeList.test.ts +6 -6
- package/test/unit/Propagation.test.ts +10 -7
- package/test/unit/RandomGraphNode.test.ts +3 -3
- package/test/unit/StreamMessageTranslator.test.ts +3 -4
- package/test/unit/StreamPartIDDataKey.test.ts +12 -0
- package/test/unit/TemporaryConnectionRpcLocal.test.ts +7 -1
- package/test/utils/mock/MockLayer0Node.ts +1 -1
- package/test/utils/mock/MockLayer1Node.ts +3 -0
- package/test/utils/utils.ts +19 -13
- package/dist/src/logic/DeliveryRpcLocal.js.map +0 -1
- package/dist/src/logic/DeliveryRpcRemote.js.map +0 -1
- package/dist/src/logic/StreamrNode.js.map +0 -1
- package/test/integration/StreamrNode.test.ts +0 -131
- package/test/unit/GroupKeyRequestTranslator.test.ts +0 -36
- package/test/unit/StreamrNode.test.ts +0 -98
|
@@ -32,18 +32,25 @@ class DhtNodeRpcClient {
|
|
|
32
32
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
33
33
|
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* @generated from protobuf rpc: getClosestRingPeers(dht.ClosestRingPeersRequest) returns (dht.ClosestRingPeersResponse);
|
|
37
|
+
*/
|
|
38
|
+
getClosestRingPeers(input, options) {
|
|
39
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
40
|
+
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
41
|
+
}
|
|
35
42
|
/**
|
|
36
43
|
* @generated from protobuf rpc: ping(dht.PingRequest) returns (dht.PingResponse);
|
|
37
44
|
*/
|
|
38
45
|
ping(input, options) {
|
|
39
|
-
const method = this.methods[
|
|
46
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
40
47
|
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
41
48
|
}
|
|
42
49
|
/**
|
|
43
50
|
* @generated from protobuf rpc: leaveNotice(dht.LeaveNotice) returns (google.protobuf.Empty);
|
|
44
51
|
*/
|
|
45
52
|
leaveNotice(input, options) {
|
|
46
|
-
const method = this.methods[
|
|
53
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
47
54
|
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
48
55
|
}
|
|
49
56
|
}
|
|
@@ -249,9 +256,9 @@ class ExternalApiRpcClient {
|
|
|
249
256
|
this._transport = _transport;
|
|
250
257
|
}
|
|
251
258
|
/**
|
|
252
|
-
* @generated from protobuf rpc:
|
|
259
|
+
* @generated from protobuf rpc: externalFetchData(dht.ExternalFetchDataRequest) returns (dht.ExternalFetchDataResponse);
|
|
253
260
|
*/
|
|
254
|
-
|
|
261
|
+
externalFetchData(input, options) {
|
|
255
262
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
256
263
|
return (0, runtime_rpc_1.stackIntercept)("unary", this._transport, method, opt, input);
|
|
257
264
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DhtRpc.client.js","sourceRoot":"","sources":["../../../../../../src/proto/packages/dht/protos/DhtRpc.client.ts"],"names":[],"mappings":";;;AAAA,uGAAuG;AACvG,kGAAkG;AAClG,iBAAiB;AACjB,qCAA0C;AAK1C,qCAA6C;AAK7C,qCAA8C;AAK9C,qCAAiD;AAEjD,qCAAwD;AAExD,qCAAoC;AAIpC,qCAAiD;AACjD,qCAAqC;AAKrC,qCAAsC;
|
|
1
|
+
{"version":3,"file":"DhtRpc.client.js","sourceRoot":"","sources":["../../../../../../src/proto/packages/dht/protos/DhtRpc.client.ts"],"names":[],"mappings":";;;AAAA,uGAAuG;AACvG,kGAAkG;AAClG,iBAAiB;AACjB,qCAA0C;AAK1C,qCAA6C;AAK7C,qCAA8C;AAK9C,qCAAiD;AAEjD,qCAAwD;AAExD,qCAAoC;AAIpC,qCAAiD;AACjD,qCAAqC;AAKrC,qCAAsC;AAOtC,0DAA0D;AA0B1D;;GAEG;AACH,MAAa,gBAAgB;IAII;IAH7B,QAAQ,GAAG,mBAAU,CAAC,QAAQ,CAAC;IAC/B,OAAO,GAAG,mBAAU,CAAC,OAAO,CAAC;IAC7B,OAAO,GAAG,mBAAU,CAAC,OAAO,CAAC;IAC7B,YAA6B,UAAwB;QAAxB,eAAU,GAAV,UAAU,CAAc;IACrD,CAAC;IACD;;OAEG;IACH,eAAe,CAAC,KAA0B,EAAE,OAAoB;QAC5D,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,IAAA,4BAAc,EAA4C,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACnH,CAAC;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,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,IAAA,4BAAc,EAAsD,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC7H,CAAC;IACD;;OAEG;IACH,iBAAiB,CAAC,KAA+B,EAAE,OAAoB;QACnE,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAC5E,OAAO,IAAA,4BAAc,EAAsD,OAAO,EAAE,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IAC7H,CAAC;CACJ;AApBD,oDAoBC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
2
|
-
import { MessageType
|
|
2
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
3
3
|
import { RpcMessage } from "../../proto-rpc/protos/ProtoRpc";
|
|
4
4
|
import { Timestamp } from "../../../google/protobuf/timestamp";
|
|
5
5
|
import { Any } from "../../../google/protobuf/any";
|
|
@@ -127,6 +127,36 @@ export interface ClosestPeersResponse {
|
|
|
127
127
|
*/
|
|
128
128
|
requestId: string;
|
|
129
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* @generated from protobuf message dht.ClosestRingPeersRequest
|
|
132
|
+
*/
|
|
133
|
+
export interface ClosestRingPeersRequest {
|
|
134
|
+
/**
|
|
135
|
+
* @generated from protobuf field: bytes ringId = 1;
|
|
136
|
+
*/
|
|
137
|
+
ringId: Uint8Array;
|
|
138
|
+
/**
|
|
139
|
+
* @generated from protobuf field: string requestId = 2;
|
|
140
|
+
*/
|
|
141
|
+
requestId: string;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @generated from protobuf message dht.ClosestRingPeersResponse
|
|
145
|
+
*/
|
|
146
|
+
export interface ClosestRingPeersResponse {
|
|
147
|
+
/**
|
|
148
|
+
* @generated from protobuf field: repeated dht.PeerDescriptor leftPeers = 1;
|
|
149
|
+
*/
|
|
150
|
+
leftPeers: PeerDescriptor[];
|
|
151
|
+
/**
|
|
152
|
+
* @generated from protobuf field: repeated dht.PeerDescriptor rightPeers = 2;
|
|
153
|
+
*/
|
|
154
|
+
rightPeers: PeerDescriptor[];
|
|
155
|
+
/**
|
|
156
|
+
* @generated from protobuf field: string requestId = 3;
|
|
157
|
+
*/
|
|
158
|
+
requestId: string;
|
|
159
|
+
}
|
|
130
160
|
/**
|
|
131
161
|
* @generated from protobuf message dht.RecursiveOperationRequest
|
|
132
162
|
*/
|
|
@@ -379,25 +409,27 @@ export interface Message {
|
|
|
379
409
|
*/
|
|
380
410
|
messageId: string;
|
|
381
411
|
/**
|
|
382
|
-
* @generated from protobuf field: dht.
|
|
383
|
-
*/
|
|
384
|
-
messageType: MessageType;
|
|
385
|
-
/**
|
|
386
|
-
* @generated from protobuf field: dht.PeerDescriptor sourceDescriptor = 3;
|
|
412
|
+
* @generated from protobuf field: dht.PeerDescriptor sourceDescriptor = 2;
|
|
387
413
|
*/
|
|
388
414
|
sourceDescriptor?: PeerDescriptor;
|
|
389
415
|
/**
|
|
390
|
-
* @generated from protobuf field: dht.PeerDescriptor targetDescriptor =
|
|
416
|
+
* @generated from protobuf field: dht.PeerDescriptor targetDescriptor = 3;
|
|
391
417
|
*/
|
|
392
418
|
targetDescriptor?: PeerDescriptor;
|
|
393
419
|
/**
|
|
394
|
-
* @generated from protobuf field: string serviceId =
|
|
420
|
+
* @generated from protobuf field: string serviceId = 4;
|
|
395
421
|
*/
|
|
396
422
|
serviceId: string;
|
|
397
423
|
/**
|
|
398
424
|
* @generated from protobuf oneof: body
|
|
399
425
|
*/
|
|
400
426
|
body: {
|
|
427
|
+
oneofKind: "rpcMessage";
|
|
428
|
+
/**
|
|
429
|
+
* @generated from protobuf field: protorpc.RpcMessage rpcMessage = 5;
|
|
430
|
+
*/
|
|
431
|
+
rpcMessage: RpcMessage;
|
|
432
|
+
} | {
|
|
401
433
|
oneofKind: "connectivityRequest";
|
|
402
434
|
/**
|
|
403
435
|
* @generated from protobuf field: dht.ConnectivityRequest connectivityRequest = 6;
|
|
@@ -421,16 +453,10 @@ export interface Message {
|
|
|
421
453
|
* @generated from protobuf field: dht.HandshakeResponse handshakeResponse = 9;
|
|
422
454
|
*/
|
|
423
455
|
handshakeResponse: HandshakeResponse;
|
|
424
|
-
} | {
|
|
425
|
-
oneofKind: "rpcMessage";
|
|
426
|
-
/**
|
|
427
|
-
* @generated from protobuf field: protorpc.RpcMessage rpcMessage = 10;
|
|
428
|
-
*/
|
|
429
|
-
rpcMessage: RpcMessage;
|
|
430
456
|
} | {
|
|
431
457
|
oneofKind: "recursiveOperationRequest";
|
|
432
458
|
/**
|
|
433
|
-
* @generated from protobuf field: dht.RecursiveOperationRequest recursiveOperationRequest =
|
|
459
|
+
* @generated from protobuf field: dht.RecursiveOperationRequest recursiveOperationRequest = 10;
|
|
434
460
|
*/
|
|
435
461
|
recursiveOperationRequest: RecursiveOperationRequest;
|
|
436
462
|
} | {
|
|
@@ -531,18 +557,18 @@ export interface DisconnectNotice {
|
|
|
531
557
|
disconnectMode: DisconnectMode;
|
|
532
558
|
}
|
|
533
559
|
/**
|
|
534
|
-
* @generated from protobuf message dht.
|
|
560
|
+
* @generated from protobuf message dht.ExternalFetchDataRequest
|
|
535
561
|
*/
|
|
536
|
-
export interface
|
|
562
|
+
export interface ExternalFetchDataRequest {
|
|
537
563
|
/**
|
|
538
564
|
* @generated from protobuf field: bytes key = 1;
|
|
539
565
|
*/
|
|
540
566
|
key: Uint8Array;
|
|
541
567
|
}
|
|
542
568
|
/**
|
|
543
|
-
* @generated from protobuf message dht.
|
|
569
|
+
* @generated from protobuf message dht.ExternalFetchDataResponse
|
|
544
570
|
*/
|
|
545
|
-
export interface
|
|
571
|
+
export interface ExternalFetchDataResponse {
|
|
546
572
|
/**
|
|
547
573
|
* @generated from protobuf field: repeated dht.DataEntry entries = 1;
|
|
548
574
|
*/
|
|
@@ -553,9 +579,9 @@ export interface ExternalFindDataResponse {
|
|
|
553
579
|
*/
|
|
554
580
|
export declare enum RecursiveOperation {
|
|
555
581
|
/**
|
|
556
|
-
* @generated from protobuf enum value:
|
|
582
|
+
* @generated from protobuf enum value: FIND_CLOSEST_NODES = 0;
|
|
557
583
|
*/
|
|
558
|
-
|
|
584
|
+
FIND_CLOSEST_NODES = 0,
|
|
559
585
|
/**
|
|
560
586
|
* @generated from protobuf enum value: FETCH_DATA = 1;
|
|
561
587
|
*/
|
|
@@ -636,35 +662,6 @@ export declare enum HandshakeError {
|
|
|
636
662
|
*/
|
|
637
663
|
UNSUPPORTED_VERSION = 2
|
|
638
664
|
}
|
|
639
|
-
/**
|
|
640
|
-
* @generated from protobuf enum dht.MessageType
|
|
641
|
-
*/
|
|
642
|
-
export declare enum MessageType {
|
|
643
|
-
/**
|
|
644
|
-
* @generated from protobuf enum value: RPC = 0;
|
|
645
|
-
*/
|
|
646
|
-
RPC = 0,
|
|
647
|
-
/**
|
|
648
|
-
* @generated from protobuf enum value: CONNECTIVITY_REQUEST = 1;
|
|
649
|
-
*/
|
|
650
|
-
CONNECTIVITY_REQUEST = 1,
|
|
651
|
-
/**
|
|
652
|
-
* @generated from protobuf enum value: CONNECTIVITY_RESPONSE = 2;
|
|
653
|
-
*/
|
|
654
|
-
CONNECTIVITY_RESPONSE = 2,
|
|
655
|
-
/**
|
|
656
|
-
* @generated from protobuf enum value: HANDSHAKE_REQUEST = 3;
|
|
657
|
-
*/
|
|
658
|
-
HANDSHAKE_REQUEST = 3,
|
|
659
|
-
/**
|
|
660
|
-
* @generated from protobuf enum value: HANDSHAKE_RESPONSE = 4;
|
|
661
|
-
*/
|
|
662
|
-
HANDSHAKE_RESPONSE = 4,
|
|
663
|
-
/**
|
|
664
|
-
* @generated from protobuf enum value: RECURSIVE_OPERATION_REQUEST = 5;
|
|
665
|
-
*/
|
|
666
|
-
RECURSIVE_OPERATION_REQUEST = 5
|
|
667
|
-
}
|
|
668
665
|
/**
|
|
669
666
|
* @generated from protobuf enum dht.DisconnectMode
|
|
670
667
|
*/
|
|
@@ -678,237 +675,251 @@ export declare enum DisconnectMode {
|
|
|
678
675
|
*/
|
|
679
676
|
LEAVING = 1
|
|
680
677
|
}
|
|
681
|
-
declare class StoreDataRequest$Type extends MessageType
|
|
678
|
+
declare class StoreDataRequest$Type extends MessageType<StoreDataRequest> {
|
|
682
679
|
constructor();
|
|
683
680
|
}
|
|
684
681
|
/**
|
|
685
682
|
* @generated MessageType for protobuf message dht.StoreDataRequest
|
|
686
683
|
*/
|
|
687
684
|
export declare const StoreDataRequest: StoreDataRequest$Type;
|
|
688
|
-
declare class StoreDataResponse$Type extends MessageType
|
|
685
|
+
declare class StoreDataResponse$Type extends MessageType<StoreDataResponse> {
|
|
689
686
|
constructor();
|
|
690
687
|
}
|
|
691
688
|
/**
|
|
692
689
|
* @generated MessageType for protobuf message dht.StoreDataResponse
|
|
693
690
|
*/
|
|
694
691
|
export declare const StoreDataResponse: StoreDataResponse$Type;
|
|
695
|
-
declare class ExternalStoreDataRequest$Type extends MessageType
|
|
692
|
+
declare class ExternalStoreDataRequest$Type extends MessageType<ExternalStoreDataRequest> {
|
|
696
693
|
constructor();
|
|
697
694
|
}
|
|
698
695
|
/**
|
|
699
696
|
* @generated MessageType for protobuf message dht.ExternalStoreDataRequest
|
|
700
697
|
*/
|
|
701
698
|
export declare const ExternalStoreDataRequest: ExternalStoreDataRequest$Type;
|
|
702
|
-
declare class ExternalStoreDataResponse$Type extends MessageType
|
|
699
|
+
declare class ExternalStoreDataResponse$Type extends MessageType<ExternalStoreDataResponse> {
|
|
703
700
|
constructor();
|
|
704
701
|
}
|
|
705
702
|
/**
|
|
706
703
|
* @generated MessageType for protobuf message dht.ExternalStoreDataResponse
|
|
707
704
|
*/
|
|
708
705
|
export declare const ExternalStoreDataResponse: ExternalStoreDataResponse$Type;
|
|
709
|
-
declare class ReplicateDataRequest$Type extends MessageType
|
|
706
|
+
declare class ReplicateDataRequest$Type extends MessageType<ReplicateDataRequest> {
|
|
710
707
|
constructor();
|
|
711
708
|
}
|
|
712
709
|
/**
|
|
713
710
|
* @generated MessageType for protobuf message dht.ReplicateDataRequest
|
|
714
711
|
*/
|
|
715
712
|
export declare const ReplicateDataRequest: ReplicateDataRequest$Type;
|
|
716
|
-
declare class DataEntry$Type extends MessageType
|
|
713
|
+
declare class DataEntry$Type extends MessageType<DataEntry> {
|
|
717
714
|
constructor();
|
|
718
715
|
}
|
|
719
716
|
/**
|
|
720
717
|
* @generated MessageType for protobuf message dht.DataEntry
|
|
721
718
|
*/
|
|
722
719
|
export declare const DataEntry: DataEntry$Type;
|
|
723
|
-
declare class ClosestPeersRequest$Type extends MessageType
|
|
720
|
+
declare class ClosestPeersRequest$Type extends MessageType<ClosestPeersRequest> {
|
|
724
721
|
constructor();
|
|
725
722
|
}
|
|
726
723
|
/**
|
|
727
724
|
* @generated MessageType for protobuf message dht.ClosestPeersRequest
|
|
728
725
|
*/
|
|
729
726
|
export declare const ClosestPeersRequest: ClosestPeersRequest$Type;
|
|
730
|
-
declare class ClosestPeersResponse$Type extends MessageType
|
|
727
|
+
declare class ClosestPeersResponse$Type extends MessageType<ClosestPeersResponse> {
|
|
731
728
|
constructor();
|
|
732
729
|
}
|
|
733
730
|
/**
|
|
734
731
|
* @generated MessageType for protobuf message dht.ClosestPeersResponse
|
|
735
732
|
*/
|
|
736
733
|
export declare const ClosestPeersResponse: ClosestPeersResponse$Type;
|
|
737
|
-
declare class
|
|
734
|
+
declare class ClosestRingPeersRequest$Type extends MessageType<ClosestRingPeersRequest> {
|
|
735
|
+
constructor();
|
|
736
|
+
}
|
|
737
|
+
/**
|
|
738
|
+
* @generated MessageType for protobuf message dht.ClosestRingPeersRequest
|
|
739
|
+
*/
|
|
740
|
+
export declare const ClosestRingPeersRequest: ClosestRingPeersRequest$Type;
|
|
741
|
+
declare class ClosestRingPeersResponse$Type extends MessageType<ClosestRingPeersResponse> {
|
|
742
|
+
constructor();
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* @generated MessageType for protobuf message dht.ClosestRingPeersResponse
|
|
746
|
+
*/
|
|
747
|
+
export declare const ClosestRingPeersResponse: ClosestRingPeersResponse$Type;
|
|
748
|
+
declare class RecursiveOperationRequest$Type extends MessageType<RecursiveOperationRequest> {
|
|
738
749
|
constructor();
|
|
739
750
|
}
|
|
740
751
|
/**
|
|
741
752
|
* @generated MessageType for protobuf message dht.RecursiveOperationRequest
|
|
742
753
|
*/
|
|
743
754
|
export declare const RecursiveOperationRequest: RecursiveOperationRequest$Type;
|
|
744
|
-
declare class RecursiveOperationResponse$Type extends MessageType
|
|
755
|
+
declare class RecursiveOperationResponse$Type extends MessageType<RecursiveOperationResponse> {
|
|
745
756
|
constructor();
|
|
746
757
|
}
|
|
747
758
|
/**
|
|
748
759
|
* @generated MessageType for protobuf message dht.RecursiveOperationResponse
|
|
749
760
|
*/
|
|
750
761
|
export declare const RecursiveOperationResponse: RecursiveOperationResponse$Type;
|
|
751
|
-
declare class PingRequest$Type extends MessageType
|
|
762
|
+
declare class PingRequest$Type extends MessageType<PingRequest> {
|
|
752
763
|
constructor();
|
|
753
764
|
}
|
|
754
765
|
/**
|
|
755
766
|
* @generated MessageType for protobuf message dht.PingRequest
|
|
756
767
|
*/
|
|
757
768
|
export declare const PingRequest: PingRequest$Type;
|
|
758
|
-
declare class PingResponse$Type extends MessageType
|
|
769
|
+
declare class PingResponse$Type extends MessageType<PingResponse> {
|
|
759
770
|
constructor();
|
|
760
771
|
}
|
|
761
772
|
/**
|
|
762
773
|
* @generated MessageType for protobuf message dht.PingResponse
|
|
763
774
|
*/
|
|
764
775
|
export declare const PingResponse: PingResponse$Type;
|
|
765
|
-
declare class LeaveNotice$Type extends MessageType
|
|
776
|
+
declare class LeaveNotice$Type extends MessageType<LeaveNotice> {
|
|
766
777
|
constructor();
|
|
767
778
|
}
|
|
768
779
|
/**
|
|
769
780
|
* @generated MessageType for protobuf message dht.LeaveNotice
|
|
770
781
|
*/
|
|
771
782
|
export declare const LeaveNotice: LeaveNotice$Type;
|
|
772
|
-
declare class PeerDescriptor$Type extends MessageType
|
|
783
|
+
declare class PeerDescriptor$Type extends MessageType<PeerDescriptor> {
|
|
773
784
|
constructor();
|
|
774
785
|
}
|
|
775
786
|
/**
|
|
776
787
|
* @generated MessageType for protobuf message dht.PeerDescriptor
|
|
777
788
|
*/
|
|
778
789
|
export declare const PeerDescriptor: PeerDescriptor$Type;
|
|
779
|
-
declare class ConnectivityMethod$Type extends MessageType
|
|
790
|
+
declare class ConnectivityMethod$Type extends MessageType<ConnectivityMethod> {
|
|
780
791
|
constructor();
|
|
781
792
|
}
|
|
782
793
|
/**
|
|
783
794
|
* @generated MessageType for protobuf message dht.ConnectivityMethod
|
|
784
795
|
*/
|
|
785
796
|
export declare const ConnectivityMethod: ConnectivityMethod$Type;
|
|
786
|
-
declare class RouteMessageWrapper$Type extends MessageType
|
|
797
|
+
declare class RouteMessageWrapper$Type extends MessageType<RouteMessageWrapper> {
|
|
787
798
|
constructor();
|
|
788
799
|
}
|
|
789
800
|
/**
|
|
790
801
|
* @generated MessageType for protobuf message dht.RouteMessageWrapper
|
|
791
802
|
*/
|
|
792
803
|
export declare const RouteMessageWrapper: RouteMessageWrapper$Type;
|
|
793
|
-
declare class RouteMessageAck$Type extends MessageType
|
|
804
|
+
declare class RouteMessageAck$Type extends MessageType<RouteMessageAck> {
|
|
794
805
|
constructor();
|
|
795
806
|
}
|
|
796
807
|
/**
|
|
797
808
|
* @generated MessageType for protobuf message dht.RouteMessageAck
|
|
798
809
|
*/
|
|
799
810
|
export declare const RouteMessageAck: RouteMessageAck$Type;
|
|
800
|
-
declare class ConnectivityRequest$Type extends MessageType
|
|
811
|
+
declare class ConnectivityRequest$Type extends MessageType<ConnectivityRequest> {
|
|
801
812
|
constructor();
|
|
802
813
|
}
|
|
803
814
|
/**
|
|
804
815
|
* @generated MessageType for protobuf message dht.ConnectivityRequest
|
|
805
816
|
*/
|
|
806
817
|
export declare const ConnectivityRequest: ConnectivityRequest$Type;
|
|
807
|
-
declare class ConnectivityResponse$Type extends MessageType
|
|
818
|
+
declare class ConnectivityResponse$Type extends MessageType<ConnectivityResponse> {
|
|
808
819
|
constructor();
|
|
809
820
|
}
|
|
810
821
|
/**
|
|
811
822
|
* @generated MessageType for protobuf message dht.ConnectivityResponse
|
|
812
823
|
*/
|
|
813
824
|
export declare const ConnectivityResponse: ConnectivityResponse$Type;
|
|
814
|
-
declare class HandshakeRequest$Type extends MessageType
|
|
825
|
+
declare class HandshakeRequest$Type extends MessageType<HandshakeRequest> {
|
|
815
826
|
constructor();
|
|
816
827
|
}
|
|
817
828
|
/**
|
|
818
829
|
* @generated MessageType for protobuf message dht.HandshakeRequest
|
|
819
830
|
*/
|
|
820
831
|
export declare const HandshakeRequest: HandshakeRequest$Type;
|
|
821
|
-
declare class HandshakeResponse$Type extends MessageType
|
|
832
|
+
declare class HandshakeResponse$Type extends MessageType<HandshakeResponse> {
|
|
822
833
|
constructor();
|
|
823
834
|
}
|
|
824
835
|
/**
|
|
825
836
|
* @generated MessageType for protobuf message dht.HandshakeResponse
|
|
826
837
|
*/
|
|
827
838
|
export declare const HandshakeResponse: HandshakeResponse$Type;
|
|
828
|
-
declare class Message$Type extends MessageType
|
|
839
|
+
declare class Message$Type extends MessageType<Message> {
|
|
829
840
|
constructor();
|
|
830
841
|
}
|
|
831
842
|
/**
|
|
832
843
|
* @generated MessageType for protobuf message dht.Message
|
|
833
844
|
*/
|
|
834
845
|
export declare const Message: Message$Type;
|
|
835
|
-
declare class WebsocketConnectionRequest$Type extends MessageType
|
|
846
|
+
declare class WebsocketConnectionRequest$Type extends MessageType<WebsocketConnectionRequest> {
|
|
836
847
|
constructor();
|
|
837
848
|
}
|
|
838
849
|
/**
|
|
839
850
|
* @generated MessageType for protobuf message dht.WebsocketConnectionRequest
|
|
840
851
|
*/
|
|
841
852
|
export declare const WebsocketConnectionRequest: WebsocketConnectionRequest$Type;
|
|
842
|
-
declare class WebrtcConnectionRequest$Type extends MessageType
|
|
853
|
+
declare class WebrtcConnectionRequest$Type extends MessageType<WebrtcConnectionRequest> {
|
|
843
854
|
constructor();
|
|
844
855
|
}
|
|
845
856
|
/**
|
|
846
857
|
* @generated MessageType for protobuf message dht.WebrtcConnectionRequest
|
|
847
858
|
*/
|
|
848
859
|
export declare const WebrtcConnectionRequest: WebrtcConnectionRequest$Type;
|
|
849
|
-
declare class RtcOffer$Type extends MessageType
|
|
860
|
+
declare class RtcOffer$Type extends MessageType<RtcOffer> {
|
|
850
861
|
constructor();
|
|
851
862
|
}
|
|
852
863
|
/**
|
|
853
864
|
* @generated MessageType for protobuf message dht.RtcOffer
|
|
854
865
|
*/
|
|
855
866
|
export declare const RtcOffer: RtcOffer$Type;
|
|
856
|
-
declare class RtcAnswer$Type extends MessageType
|
|
867
|
+
declare class RtcAnswer$Type extends MessageType<RtcAnswer> {
|
|
857
868
|
constructor();
|
|
858
869
|
}
|
|
859
870
|
/**
|
|
860
871
|
* @generated MessageType for protobuf message dht.RtcAnswer
|
|
861
872
|
*/
|
|
862
873
|
export declare const RtcAnswer: RtcAnswer$Type;
|
|
863
|
-
declare class IceCandidate$Type extends MessageType
|
|
874
|
+
declare class IceCandidate$Type extends MessageType<IceCandidate> {
|
|
864
875
|
constructor();
|
|
865
876
|
}
|
|
866
877
|
/**
|
|
867
878
|
* @generated MessageType for protobuf message dht.IceCandidate
|
|
868
879
|
*/
|
|
869
880
|
export declare const IceCandidate: IceCandidate$Type;
|
|
870
|
-
declare class LockRequest$Type extends MessageType
|
|
881
|
+
declare class LockRequest$Type extends MessageType<LockRequest> {
|
|
871
882
|
constructor();
|
|
872
883
|
}
|
|
873
884
|
/**
|
|
874
885
|
* @generated MessageType for protobuf message dht.LockRequest
|
|
875
886
|
*/
|
|
876
887
|
export declare const LockRequest: LockRequest$Type;
|
|
877
|
-
declare class UnlockRequest$Type extends MessageType
|
|
888
|
+
declare class UnlockRequest$Type extends MessageType<UnlockRequest> {
|
|
878
889
|
constructor();
|
|
879
890
|
}
|
|
880
891
|
/**
|
|
881
892
|
* @generated MessageType for protobuf message dht.UnlockRequest
|
|
882
893
|
*/
|
|
883
894
|
export declare const UnlockRequest: UnlockRequest$Type;
|
|
884
|
-
declare class LockResponse$Type extends MessageType
|
|
895
|
+
declare class LockResponse$Type extends MessageType<LockResponse> {
|
|
885
896
|
constructor();
|
|
886
897
|
}
|
|
887
898
|
/**
|
|
888
899
|
* @generated MessageType for protobuf message dht.LockResponse
|
|
889
900
|
*/
|
|
890
901
|
export declare const LockResponse: LockResponse$Type;
|
|
891
|
-
declare class DisconnectNotice$Type extends MessageType
|
|
902
|
+
declare class DisconnectNotice$Type extends MessageType<DisconnectNotice> {
|
|
892
903
|
constructor();
|
|
893
904
|
}
|
|
894
905
|
/**
|
|
895
906
|
* @generated MessageType for protobuf message dht.DisconnectNotice
|
|
896
907
|
*/
|
|
897
908
|
export declare const DisconnectNotice: DisconnectNotice$Type;
|
|
898
|
-
declare class
|
|
909
|
+
declare class ExternalFetchDataRequest$Type extends MessageType<ExternalFetchDataRequest> {
|
|
899
910
|
constructor();
|
|
900
911
|
}
|
|
901
912
|
/**
|
|
902
|
-
* @generated MessageType for protobuf message dht.
|
|
913
|
+
* @generated MessageType for protobuf message dht.ExternalFetchDataRequest
|
|
903
914
|
*/
|
|
904
|
-
export declare const
|
|
905
|
-
declare class
|
|
915
|
+
export declare const ExternalFetchDataRequest: ExternalFetchDataRequest$Type;
|
|
916
|
+
declare class ExternalFetchDataResponse$Type extends MessageType<ExternalFetchDataResponse> {
|
|
906
917
|
constructor();
|
|
907
918
|
}
|
|
908
919
|
/**
|
|
909
|
-
* @generated MessageType for protobuf message dht.
|
|
920
|
+
* @generated MessageType for protobuf message dht.ExternalFetchDataResponse
|
|
910
921
|
*/
|
|
911
|
-
export declare const
|
|
922
|
+
export declare const ExternalFetchDataResponse: ExternalFetchDataResponse$Type;
|
|
912
923
|
/**
|
|
913
924
|
* @generated ServiceType for protobuf service dht.DhtNodeRpc
|
|
914
925
|
*/
|