@dashevo/dapi-grpc 4.0.0-beta.3 → 4.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/build.rs +6 -22
- package/clients/drive/v0/nodejs/drive_pbjs.js +31 -4696
- package/clients/platform/v0/nodejs/platform_pbjs.js +31 -4696
- package/clients/platform/v0/nodejs/platform_protoc.js +55 -4345
- package/clients/platform/v0/web/platform_pb.d.ts +6 -574
- package/clients/platform/v0/web/platform_pb.js +55 -4345
- package/clients/platform/v0/web/platform_pb_service.d.ts +0 -76
- package/clients/platform/v0/web/platform_pb_service.js +0 -160
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +1 -103
|
@@ -544,42 +544,6 @@ type PlatformgetShieldedNullifiers = {
|
|
|
544
544
|
readonly responseType: typeof platform_pb.GetShieldedNullifiersResponse;
|
|
545
545
|
};
|
|
546
546
|
|
|
547
|
-
type PlatformgetNullifiersTrunkState = {
|
|
548
|
-
readonly methodName: string;
|
|
549
|
-
readonly service: typeof Platform;
|
|
550
|
-
readonly requestStream: false;
|
|
551
|
-
readonly responseStream: false;
|
|
552
|
-
readonly requestType: typeof platform_pb.GetNullifiersTrunkStateRequest;
|
|
553
|
-
readonly responseType: typeof platform_pb.GetNullifiersTrunkStateResponse;
|
|
554
|
-
};
|
|
555
|
-
|
|
556
|
-
type PlatformgetNullifiersBranchState = {
|
|
557
|
-
readonly methodName: string;
|
|
558
|
-
readonly service: typeof Platform;
|
|
559
|
-
readonly requestStream: false;
|
|
560
|
-
readonly responseStream: false;
|
|
561
|
-
readonly requestType: typeof platform_pb.GetNullifiersBranchStateRequest;
|
|
562
|
-
readonly responseType: typeof platform_pb.GetNullifiersBranchStateResponse;
|
|
563
|
-
};
|
|
564
|
-
|
|
565
|
-
type PlatformgetRecentNullifierChanges = {
|
|
566
|
-
readonly methodName: string;
|
|
567
|
-
readonly service: typeof Platform;
|
|
568
|
-
readonly requestStream: false;
|
|
569
|
-
readonly responseStream: false;
|
|
570
|
-
readonly requestType: typeof platform_pb.GetRecentNullifierChangesRequest;
|
|
571
|
-
readonly responseType: typeof platform_pb.GetRecentNullifierChangesResponse;
|
|
572
|
-
};
|
|
573
|
-
|
|
574
|
-
type PlatformgetRecentCompactedNullifierChanges = {
|
|
575
|
-
readonly methodName: string;
|
|
576
|
-
readonly service: typeof Platform;
|
|
577
|
-
readonly requestStream: false;
|
|
578
|
-
readonly responseStream: false;
|
|
579
|
-
readonly requestType: typeof platform_pb.GetRecentCompactedNullifierChangesRequest;
|
|
580
|
-
readonly responseType: typeof platform_pb.GetRecentCompactedNullifierChangesResponse;
|
|
581
|
-
};
|
|
582
|
-
|
|
583
547
|
export class Platform {
|
|
584
548
|
static readonly serviceName: string;
|
|
585
549
|
static readonly broadcastStateTransition: PlatformbroadcastStateTransition;
|
|
@@ -642,10 +606,6 @@ export class Platform {
|
|
|
642
606
|
static readonly getShieldedPoolState: PlatformgetShieldedPoolState;
|
|
643
607
|
static readonly getShieldedNotesCount: PlatformgetShieldedNotesCount;
|
|
644
608
|
static readonly getShieldedNullifiers: PlatformgetShieldedNullifiers;
|
|
645
|
-
static readonly getNullifiersTrunkState: PlatformgetNullifiersTrunkState;
|
|
646
|
-
static readonly getNullifiersBranchState: PlatformgetNullifiersBranchState;
|
|
647
|
-
static readonly getRecentNullifierChanges: PlatformgetRecentNullifierChanges;
|
|
648
|
-
static readonly getRecentCompactedNullifierChanges: PlatformgetRecentCompactedNullifierChanges;
|
|
649
609
|
}
|
|
650
610
|
|
|
651
611
|
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
@@ -1220,41 +1180,5 @@ export class PlatformClient {
|
|
|
1220
1180
|
requestMessage: platform_pb.GetShieldedNullifiersRequest,
|
|
1221
1181
|
callback: (error: ServiceError|null, responseMessage: platform_pb.GetShieldedNullifiersResponse|null) => void
|
|
1222
1182
|
): UnaryResponse;
|
|
1223
|
-
getNullifiersTrunkState(
|
|
1224
|
-
requestMessage: platform_pb.GetNullifiersTrunkStateRequest,
|
|
1225
|
-
metadata: grpc.Metadata,
|
|
1226
|
-
callback: (error: ServiceError|null, responseMessage: platform_pb.GetNullifiersTrunkStateResponse|null) => void
|
|
1227
|
-
): UnaryResponse;
|
|
1228
|
-
getNullifiersTrunkState(
|
|
1229
|
-
requestMessage: platform_pb.GetNullifiersTrunkStateRequest,
|
|
1230
|
-
callback: (error: ServiceError|null, responseMessage: platform_pb.GetNullifiersTrunkStateResponse|null) => void
|
|
1231
|
-
): UnaryResponse;
|
|
1232
|
-
getNullifiersBranchState(
|
|
1233
|
-
requestMessage: platform_pb.GetNullifiersBranchStateRequest,
|
|
1234
|
-
metadata: grpc.Metadata,
|
|
1235
|
-
callback: (error: ServiceError|null, responseMessage: platform_pb.GetNullifiersBranchStateResponse|null) => void
|
|
1236
|
-
): UnaryResponse;
|
|
1237
|
-
getNullifiersBranchState(
|
|
1238
|
-
requestMessage: platform_pb.GetNullifiersBranchStateRequest,
|
|
1239
|
-
callback: (error: ServiceError|null, responseMessage: platform_pb.GetNullifiersBranchStateResponse|null) => void
|
|
1240
|
-
): UnaryResponse;
|
|
1241
|
-
getRecentNullifierChanges(
|
|
1242
|
-
requestMessage: platform_pb.GetRecentNullifierChangesRequest,
|
|
1243
|
-
metadata: grpc.Metadata,
|
|
1244
|
-
callback: (error: ServiceError|null, responseMessage: platform_pb.GetRecentNullifierChangesResponse|null) => void
|
|
1245
|
-
): UnaryResponse;
|
|
1246
|
-
getRecentNullifierChanges(
|
|
1247
|
-
requestMessage: platform_pb.GetRecentNullifierChangesRequest,
|
|
1248
|
-
callback: (error: ServiceError|null, responseMessage: platform_pb.GetRecentNullifierChangesResponse|null) => void
|
|
1249
|
-
): UnaryResponse;
|
|
1250
|
-
getRecentCompactedNullifierChanges(
|
|
1251
|
-
requestMessage: platform_pb.GetRecentCompactedNullifierChangesRequest,
|
|
1252
|
-
metadata: grpc.Metadata,
|
|
1253
|
-
callback: (error: ServiceError|null, responseMessage: platform_pb.GetRecentCompactedNullifierChangesResponse|null) => void
|
|
1254
|
-
): UnaryResponse;
|
|
1255
|
-
getRecentCompactedNullifierChanges(
|
|
1256
|
-
requestMessage: platform_pb.GetRecentCompactedNullifierChangesRequest,
|
|
1257
|
-
callback: (error: ServiceError|null, responseMessage: platform_pb.GetRecentCompactedNullifierChangesResponse|null) => void
|
|
1258
|
-
): UnaryResponse;
|
|
1259
1183
|
}
|
|
1260
1184
|
|
|
@@ -550,42 +550,6 @@ Platform.getShieldedNullifiers = {
|
|
|
550
550
|
responseType: platform_pb.GetShieldedNullifiersResponse
|
|
551
551
|
};
|
|
552
552
|
|
|
553
|
-
Platform.getNullifiersTrunkState = {
|
|
554
|
-
methodName: "getNullifiersTrunkState",
|
|
555
|
-
service: Platform,
|
|
556
|
-
requestStream: false,
|
|
557
|
-
responseStream: false,
|
|
558
|
-
requestType: platform_pb.GetNullifiersTrunkStateRequest,
|
|
559
|
-
responseType: platform_pb.GetNullifiersTrunkStateResponse
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
Platform.getNullifiersBranchState = {
|
|
563
|
-
methodName: "getNullifiersBranchState",
|
|
564
|
-
service: Platform,
|
|
565
|
-
requestStream: false,
|
|
566
|
-
responseStream: false,
|
|
567
|
-
requestType: platform_pb.GetNullifiersBranchStateRequest,
|
|
568
|
-
responseType: platform_pb.GetNullifiersBranchStateResponse
|
|
569
|
-
};
|
|
570
|
-
|
|
571
|
-
Platform.getRecentNullifierChanges = {
|
|
572
|
-
methodName: "getRecentNullifierChanges",
|
|
573
|
-
service: Platform,
|
|
574
|
-
requestStream: false,
|
|
575
|
-
responseStream: false,
|
|
576
|
-
requestType: platform_pb.GetRecentNullifierChangesRequest,
|
|
577
|
-
responseType: platform_pb.GetRecentNullifierChangesResponse
|
|
578
|
-
};
|
|
579
|
-
|
|
580
|
-
Platform.getRecentCompactedNullifierChanges = {
|
|
581
|
-
methodName: "getRecentCompactedNullifierChanges",
|
|
582
|
-
service: Platform,
|
|
583
|
-
requestStream: false,
|
|
584
|
-
responseStream: false,
|
|
585
|
-
requestType: platform_pb.GetRecentCompactedNullifierChangesRequest,
|
|
586
|
-
responseType: platform_pb.GetRecentCompactedNullifierChangesResponse
|
|
587
|
-
};
|
|
588
|
-
|
|
589
553
|
exports.Platform = Platform;
|
|
590
554
|
|
|
591
555
|
function PlatformClient(serviceHost, options) {
|
|
@@ -2453,129 +2417,5 @@ PlatformClient.prototype.getShieldedNullifiers = function getShieldedNullifiers(
|
|
|
2453
2417
|
};
|
|
2454
2418
|
};
|
|
2455
2419
|
|
|
2456
|
-
PlatformClient.prototype.getNullifiersTrunkState = function getNullifiersTrunkState(requestMessage, metadata, callback) {
|
|
2457
|
-
if (arguments.length === 2) {
|
|
2458
|
-
callback = arguments[1];
|
|
2459
|
-
}
|
|
2460
|
-
var client = grpc.unary(Platform.getNullifiersTrunkState, {
|
|
2461
|
-
request: requestMessage,
|
|
2462
|
-
host: this.serviceHost,
|
|
2463
|
-
metadata: metadata,
|
|
2464
|
-
transport: this.options.transport,
|
|
2465
|
-
debug: this.options.debug,
|
|
2466
|
-
onEnd: function (response) {
|
|
2467
|
-
if (callback) {
|
|
2468
|
-
if (response.status !== grpc.Code.OK) {
|
|
2469
|
-
var err = new Error(response.statusMessage);
|
|
2470
|
-
err.code = response.status;
|
|
2471
|
-
err.metadata = response.trailers;
|
|
2472
|
-
callback(err, null);
|
|
2473
|
-
} else {
|
|
2474
|
-
callback(null, response.message);
|
|
2475
|
-
}
|
|
2476
|
-
}
|
|
2477
|
-
}
|
|
2478
|
-
});
|
|
2479
|
-
return {
|
|
2480
|
-
cancel: function () {
|
|
2481
|
-
callback = null;
|
|
2482
|
-
client.close();
|
|
2483
|
-
}
|
|
2484
|
-
};
|
|
2485
|
-
};
|
|
2486
|
-
|
|
2487
|
-
PlatformClient.prototype.getNullifiersBranchState = function getNullifiersBranchState(requestMessage, metadata, callback) {
|
|
2488
|
-
if (arguments.length === 2) {
|
|
2489
|
-
callback = arguments[1];
|
|
2490
|
-
}
|
|
2491
|
-
var client = grpc.unary(Platform.getNullifiersBranchState, {
|
|
2492
|
-
request: requestMessage,
|
|
2493
|
-
host: this.serviceHost,
|
|
2494
|
-
metadata: metadata,
|
|
2495
|
-
transport: this.options.transport,
|
|
2496
|
-
debug: this.options.debug,
|
|
2497
|
-
onEnd: function (response) {
|
|
2498
|
-
if (callback) {
|
|
2499
|
-
if (response.status !== grpc.Code.OK) {
|
|
2500
|
-
var err = new Error(response.statusMessage);
|
|
2501
|
-
err.code = response.status;
|
|
2502
|
-
err.metadata = response.trailers;
|
|
2503
|
-
callback(err, null);
|
|
2504
|
-
} else {
|
|
2505
|
-
callback(null, response.message);
|
|
2506
|
-
}
|
|
2507
|
-
}
|
|
2508
|
-
}
|
|
2509
|
-
});
|
|
2510
|
-
return {
|
|
2511
|
-
cancel: function () {
|
|
2512
|
-
callback = null;
|
|
2513
|
-
client.close();
|
|
2514
|
-
}
|
|
2515
|
-
};
|
|
2516
|
-
};
|
|
2517
|
-
|
|
2518
|
-
PlatformClient.prototype.getRecentNullifierChanges = function getRecentNullifierChanges(requestMessage, metadata, callback) {
|
|
2519
|
-
if (arguments.length === 2) {
|
|
2520
|
-
callback = arguments[1];
|
|
2521
|
-
}
|
|
2522
|
-
var client = grpc.unary(Platform.getRecentNullifierChanges, {
|
|
2523
|
-
request: requestMessage,
|
|
2524
|
-
host: this.serviceHost,
|
|
2525
|
-
metadata: metadata,
|
|
2526
|
-
transport: this.options.transport,
|
|
2527
|
-
debug: this.options.debug,
|
|
2528
|
-
onEnd: function (response) {
|
|
2529
|
-
if (callback) {
|
|
2530
|
-
if (response.status !== grpc.Code.OK) {
|
|
2531
|
-
var err = new Error(response.statusMessage);
|
|
2532
|
-
err.code = response.status;
|
|
2533
|
-
err.metadata = response.trailers;
|
|
2534
|
-
callback(err, null);
|
|
2535
|
-
} else {
|
|
2536
|
-
callback(null, response.message);
|
|
2537
|
-
}
|
|
2538
|
-
}
|
|
2539
|
-
}
|
|
2540
|
-
});
|
|
2541
|
-
return {
|
|
2542
|
-
cancel: function () {
|
|
2543
|
-
callback = null;
|
|
2544
|
-
client.close();
|
|
2545
|
-
}
|
|
2546
|
-
};
|
|
2547
|
-
};
|
|
2548
|
-
|
|
2549
|
-
PlatformClient.prototype.getRecentCompactedNullifierChanges = function getRecentCompactedNullifierChanges(requestMessage, metadata, callback) {
|
|
2550
|
-
if (arguments.length === 2) {
|
|
2551
|
-
callback = arguments[1];
|
|
2552
|
-
}
|
|
2553
|
-
var client = grpc.unary(Platform.getRecentCompactedNullifierChanges, {
|
|
2554
|
-
request: requestMessage,
|
|
2555
|
-
host: this.serviceHost,
|
|
2556
|
-
metadata: metadata,
|
|
2557
|
-
transport: this.options.transport,
|
|
2558
|
-
debug: this.options.debug,
|
|
2559
|
-
onEnd: function (response) {
|
|
2560
|
-
if (callback) {
|
|
2561
|
-
if (response.status !== grpc.Code.OK) {
|
|
2562
|
-
var err = new Error(response.statusMessage);
|
|
2563
|
-
err.code = response.status;
|
|
2564
|
-
err.metadata = response.trailers;
|
|
2565
|
-
callback(err, null);
|
|
2566
|
-
} else {
|
|
2567
|
-
callback(null, response.message);
|
|
2568
|
-
}
|
|
2569
|
-
}
|
|
2570
|
-
}
|
|
2571
|
-
});
|
|
2572
|
-
return {
|
|
2573
|
-
cancel: function () {
|
|
2574
|
-
callback = null;
|
|
2575
|
-
client.close();
|
|
2576
|
-
}
|
|
2577
|
-
};
|
|
2578
|
-
};
|
|
2579
|
-
|
|
2580
2420
|
exports.PlatformClient = PlatformClient;
|
|
2581
2421
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/dapi-grpc",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-rc.1",
|
|
4
4
|
"description": "DAPI GRPC definition file and generated clients",
|
|
5
5
|
"browser": "browser.js",
|
|
6
6
|
"main": "node.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"homepage": "https://github.com/dashevo/dapi-grpc#readme",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@dashevo/grpc-common": "4.0.0-
|
|
48
|
+
"@dashevo/grpc-common": "4.0.0-rc.1",
|
|
49
49
|
"@dashevo/protobufjs": "6.10.5",
|
|
50
50
|
"@grpc/grpc-js": "^1.14.3",
|
|
51
51
|
"@improbable-eng/grpc-web": "^0.15.0",
|
|
@@ -132,14 +132,6 @@ service Platform {
|
|
|
132
132
|
returns (GetShieldedNotesCountResponse);
|
|
133
133
|
rpc getShieldedNullifiers(GetShieldedNullifiersRequest)
|
|
134
134
|
returns (GetShieldedNullifiersResponse);
|
|
135
|
-
rpc getNullifiersTrunkState(GetNullifiersTrunkStateRequest)
|
|
136
|
-
returns (GetNullifiersTrunkStateResponse);
|
|
137
|
-
rpc getNullifiersBranchState(GetNullifiersBranchStateRequest)
|
|
138
|
-
returns (GetNullifiersBranchStateResponse);
|
|
139
|
-
rpc getRecentNullifierChanges(GetRecentNullifierChangesRequest)
|
|
140
|
-
returns (GetRecentNullifierChangesResponse);
|
|
141
|
-
rpc getRecentCompactedNullifierChanges(GetRecentCompactedNullifierChangesRequest)
|
|
142
|
-
returns (GetRecentCompactedNullifierChangesResponse);
|
|
143
135
|
}
|
|
144
136
|
|
|
145
137
|
// Proof message includes cryptographic proofs for validating responses
|
|
@@ -2904,6 +2896,7 @@ message GetShieldedEncryptedNotesResponse {
|
|
|
2904
2896
|
bytes nullifier = 1; // 32-byte nullifier (needed for Rho derivation in trial decryption)
|
|
2905
2897
|
bytes cmx = 2; // 32-byte extracted note commitment
|
|
2906
2898
|
bytes encrypted_note = 3; // encrypted note payload (epk + enc_ciphertext + out_ciphertext)
|
|
2899
|
+
bytes cv_net = 4; // 32-byte value commitment (stored unencrypted, for OVK recovery of outgoing notes)
|
|
2907
2900
|
}
|
|
2908
2901
|
message EncryptedNotes {
|
|
2909
2902
|
repeated EncryptedNote entries = 1;
|
|
@@ -3024,98 +3017,3 @@ message GetShieldedNullifiersResponse {
|
|
|
3024
3017
|
}
|
|
3025
3018
|
oneof version { GetShieldedNullifiersResponseV0 v0 = 1; }
|
|
3026
3019
|
}
|
|
3027
|
-
|
|
3028
|
-
message GetNullifiersTrunkStateRequest {
|
|
3029
|
-
message GetNullifiersTrunkStateRequestV0 {
|
|
3030
|
-
uint32 pool_type = 1; // ShieldedPoolType enum value (0=credit, 1=main token, 2=individual token)
|
|
3031
|
-
bytes pool_identifier = 2; // 32-byte Identifier, required for pool_type=2
|
|
3032
|
-
}
|
|
3033
|
-
oneof version { GetNullifiersTrunkStateRequestV0 v0 = 1; }
|
|
3034
|
-
}
|
|
3035
|
-
|
|
3036
|
-
message GetNullifiersTrunkStateResponse {
|
|
3037
|
-
message GetNullifiersTrunkStateResponseV0 {
|
|
3038
|
-
Proof proof = 2;
|
|
3039
|
-
ResponseMetadata metadata = 3;
|
|
3040
|
-
}
|
|
3041
|
-
oneof version { GetNullifiersTrunkStateResponseV0 v0 = 1; }
|
|
3042
|
-
}
|
|
3043
|
-
|
|
3044
|
-
message GetNullifiersBranchStateRequest {
|
|
3045
|
-
message GetNullifiersBranchStateRequestV0 {
|
|
3046
|
-
uint32 pool_type = 1;
|
|
3047
|
-
bytes pool_identifier = 2;
|
|
3048
|
-
bytes key = 3;
|
|
3049
|
-
uint32 depth = 4;
|
|
3050
|
-
uint64 checkpoint_height = 5;
|
|
3051
|
-
}
|
|
3052
|
-
oneof version { GetNullifiersBranchStateRequestV0 v0 = 1; }
|
|
3053
|
-
}
|
|
3054
|
-
|
|
3055
|
-
message GetNullifiersBranchStateResponse {
|
|
3056
|
-
message GetNullifiersBranchStateResponseV0 {
|
|
3057
|
-
bytes merk_proof = 2;
|
|
3058
|
-
}
|
|
3059
|
-
oneof version { GetNullifiersBranchStateResponseV0 v0 = 1; }
|
|
3060
|
-
}
|
|
3061
|
-
|
|
3062
|
-
// --- Recent Nullifier Changes ---
|
|
3063
|
-
|
|
3064
|
-
message BlockNullifierChanges {
|
|
3065
|
-
uint64 block_height = 1 [ jstype = JS_STRING ];
|
|
3066
|
-
repeated bytes nullifiers = 2; // Each is 32 bytes
|
|
3067
|
-
}
|
|
3068
|
-
|
|
3069
|
-
message NullifierUpdateEntries {
|
|
3070
|
-
repeated BlockNullifierChanges block_changes = 1;
|
|
3071
|
-
}
|
|
3072
|
-
|
|
3073
|
-
message GetRecentNullifierChangesRequest {
|
|
3074
|
-
message GetRecentNullifierChangesRequestV0 {
|
|
3075
|
-
uint64 start_height = 1 [ jstype = JS_STRING ];
|
|
3076
|
-
bool prove = 2;
|
|
3077
|
-
}
|
|
3078
|
-
oneof version { GetRecentNullifierChangesRequestV0 v0 = 1; }
|
|
3079
|
-
}
|
|
3080
|
-
|
|
3081
|
-
message GetRecentNullifierChangesResponse {
|
|
3082
|
-
message GetRecentNullifierChangesResponseV0 {
|
|
3083
|
-
oneof result {
|
|
3084
|
-
NullifierUpdateEntries nullifier_update_entries = 1;
|
|
3085
|
-
Proof proof = 2;
|
|
3086
|
-
}
|
|
3087
|
-
ResponseMetadata metadata = 3;
|
|
3088
|
-
}
|
|
3089
|
-
oneof version { GetRecentNullifierChangesResponseV0 v0 = 1; }
|
|
3090
|
-
}
|
|
3091
|
-
|
|
3092
|
-
// --- Compacted Nullifier Changes ---
|
|
3093
|
-
|
|
3094
|
-
message CompactedBlockNullifierChanges {
|
|
3095
|
-
uint64 start_block_height = 1 [ jstype = JS_STRING ];
|
|
3096
|
-
uint64 end_block_height = 2 [ jstype = JS_STRING ];
|
|
3097
|
-
repeated bytes nullifiers = 3; // Each is 32 bytes
|
|
3098
|
-
}
|
|
3099
|
-
|
|
3100
|
-
message CompactedNullifierUpdateEntries {
|
|
3101
|
-
repeated CompactedBlockNullifierChanges compacted_block_changes = 1;
|
|
3102
|
-
}
|
|
3103
|
-
|
|
3104
|
-
message GetRecentCompactedNullifierChangesRequest {
|
|
3105
|
-
message GetRecentCompactedNullifierChangesRequestV0 {
|
|
3106
|
-
uint64 start_block_height = 1 [ jstype = JS_STRING ];
|
|
3107
|
-
bool prove = 2;
|
|
3108
|
-
}
|
|
3109
|
-
oneof version { GetRecentCompactedNullifierChangesRequestV0 v0 = 1; }
|
|
3110
|
-
}
|
|
3111
|
-
|
|
3112
|
-
message GetRecentCompactedNullifierChangesResponse {
|
|
3113
|
-
message GetRecentCompactedNullifierChangesResponseV0 {
|
|
3114
|
-
oneof result {
|
|
3115
|
-
CompactedNullifierUpdateEntries compacted_nullifier_update_entries = 1;
|
|
3116
|
-
Proof proof = 2;
|
|
3117
|
-
}
|
|
3118
|
-
ResponseMetadata metadata = 3;
|
|
3119
|
-
}
|
|
3120
|
-
oneof version { GetRecentCompactedNullifierChangesResponseV0 v0 = 1; }
|
|
3121
|
-
}
|