@dashevo/dapi-grpc 1.8.0 → 2.0.0-rc.1
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/.eslintrc +3 -0
- package/Cargo.toml +35 -15
- package/build.rs +117 -22
- package/clients/drive/v0/nodejs/DrivePromiseClient.js +111 -0
- package/clients/drive/v0/nodejs/drive_pbjs.js +72524 -0
- package/clients/drive/v0/nodejs/drive_protoc.js +420 -0
- package/clients/drive/v0/web/drive_pb.d.ts +56 -0
- package/clients/drive/v0/web/drive_pb.js +420 -0
- package/clients/drive/v0/web/drive_pb_service.d.ts +63 -0
- package/clients/drive/v0/web/drive_pb_service.js +61 -0
- package/clients/platform/v0/nodejs/PlatformPromiseClient.js +0 -39
- package/clients/platform/v0/nodejs/platform_pbjs.js +30162 -7538
- package/clients/platform/v0/nodejs/platform_protoc.js +38679 -16741
- package/clients/platform/v0/web/platform_pb.d.ts +3337 -461
- package/clients/platform/v0/web/platform_pb.js +38679 -16741
- package/clients/platform/v0/web/platform_pb_service.d.ts +247 -19
- package/clients/platform/v0/web/platform_pb_service.js +501 -21
- package/lib/getDriveDefinition.js +18 -0
- package/node.js +19 -0
- package/package.json +3 -3
- package/protos/drive/v0/drive.proto +18 -0
- package/protos/platform/v0/platform.proto +888 -334
- package/scripts/build.sh +55 -0
- package/scripts/patch-protobuf-js.sh +3 -2
- package/src/lib.rs +42 -10
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package org.dash.platform.drive.v0;
|
|
4
|
+
|
|
5
|
+
import "platform/v0/platform.proto";
|
|
6
|
+
|
|
7
|
+
service DriveInternal {
|
|
8
|
+
rpc getProofs(GetProofsRequest) returns (GetProofsResponse);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
message GetProofsRequest {
|
|
12
|
+
bytes state_transition = 1;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
message GetProofsResponse {
|
|
16
|
+
org.dash.platform.dapi.v0.Proof proof = 1; // Cryptographic proof for the requested data
|
|
17
|
+
org.dash.platform.dapi.v0.ResponseMetadata metadata = 2; // Metadata about the blockchain state
|
|
18
|
+
}
|