@dashevo/dapi-grpc 3.0.0-dev.6 → 3.0.0-dev.7
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/clients/drive/v0/nodejs/drive_pbjs.js +36 -0
- package/clients/platform/v0/nodejs/platform_pbjs.js +36 -0
- package/clients/platform/v0/nodejs/platform_protoc.js +31 -1
- package/clients/platform/v0/web/platform_pb.d.ts +4 -0
- package/clients/platform/v0/web/platform_pb.js +31 -1
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +1 -0
- package/src/drive/client/org.dash.platform.dapi.v0.rs +3 -0
- package/src/drive/wasm/org.dash.platform.dapi.v0.rs +3 -0
- package/src/platform/client/org.dash.platform.dapi.v0.rs +3 -0
- package/src/platform/wasm/org.dash.platform.dapi.v0.rs +3 -0
|
@@ -78126,6 +78126,7 @@ $root.org = (function() {
|
|
|
78126
78126
|
* @interface IGetAddressesBranchStateRequestV0
|
|
78127
78127
|
* @property {Uint8Array|null} [key] GetAddressesBranchStateRequestV0 key
|
|
78128
78128
|
* @property {number|null} [depth] GetAddressesBranchStateRequestV0 depth
|
|
78129
|
+
* @property {number|Long|null} [checkpointHeight] GetAddressesBranchStateRequestV0 checkpointHeight
|
|
78129
78130
|
*/
|
|
78130
78131
|
|
|
78131
78132
|
/**
|
|
@@ -78159,6 +78160,14 @@ $root.org = (function() {
|
|
|
78159
78160
|
*/
|
|
78160
78161
|
GetAddressesBranchStateRequestV0.prototype.depth = 0;
|
|
78161
78162
|
|
|
78163
|
+
/**
|
|
78164
|
+
* GetAddressesBranchStateRequestV0 checkpointHeight.
|
|
78165
|
+
* @member {number|Long} checkpointHeight
|
|
78166
|
+
* @memberof org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0
|
|
78167
|
+
* @instance
|
|
78168
|
+
*/
|
|
78169
|
+
GetAddressesBranchStateRequestV0.prototype.checkpointHeight = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
78170
|
+
|
|
78162
78171
|
/**
|
|
78163
78172
|
* Creates a new GetAddressesBranchStateRequestV0 instance using the specified properties.
|
|
78164
78173
|
* @function create
|
|
@@ -78187,6 +78196,8 @@ $root.org = (function() {
|
|
|
78187
78196
|
writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.key);
|
|
78188
78197
|
if (message.depth != null && Object.hasOwnProperty.call(message, "depth"))
|
|
78189
78198
|
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.depth);
|
|
78199
|
+
if (message.checkpointHeight != null && Object.hasOwnProperty.call(message, "checkpointHeight"))
|
|
78200
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.checkpointHeight);
|
|
78190
78201
|
return writer;
|
|
78191
78202
|
};
|
|
78192
78203
|
|
|
@@ -78227,6 +78238,9 @@ $root.org = (function() {
|
|
|
78227
78238
|
case 2:
|
|
78228
78239
|
message.depth = reader.uint32();
|
|
78229
78240
|
break;
|
|
78241
|
+
case 3:
|
|
78242
|
+
message.checkpointHeight = reader.uint64();
|
|
78243
|
+
break;
|
|
78230
78244
|
default:
|
|
78231
78245
|
reader.skipType(tag & 7);
|
|
78232
78246
|
break;
|
|
@@ -78268,6 +78282,9 @@ $root.org = (function() {
|
|
|
78268
78282
|
if (message.depth != null && message.hasOwnProperty("depth"))
|
|
78269
78283
|
if (!$util.isInteger(message.depth))
|
|
78270
78284
|
return "depth: integer expected";
|
|
78285
|
+
if (message.checkpointHeight != null && message.hasOwnProperty("checkpointHeight"))
|
|
78286
|
+
if (!$util.isInteger(message.checkpointHeight) && !(message.checkpointHeight && $util.isInteger(message.checkpointHeight.low) && $util.isInteger(message.checkpointHeight.high)))
|
|
78287
|
+
return "checkpointHeight: integer|Long expected";
|
|
78271
78288
|
return null;
|
|
78272
78289
|
};
|
|
78273
78290
|
|
|
@@ -78290,6 +78307,15 @@ $root.org = (function() {
|
|
|
78290
78307
|
message.key = object.key;
|
|
78291
78308
|
if (object.depth != null)
|
|
78292
78309
|
message.depth = object.depth >>> 0;
|
|
78310
|
+
if (object.checkpointHeight != null)
|
|
78311
|
+
if ($util.Long)
|
|
78312
|
+
(message.checkpointHeight = $util.Long.fromValue(object.checkpointHeight)).unsigned = true;
|
|
78313
|
+
else if (typeof object.checkpointHeight === "string")
|
|
78314
|
+
message.checkpointHeight = parseInt(object.checkpointHeight, 10);
|
|
78315
|
+
else if (typeof object.checkpointHeight === "number")
|
|
78316
|
+
message.checkpointHeight = object.checkpointHeight;
|
|
78317
|
+
else if (typeof object.checkpointHeight === "object")
|
|
78318
|
+
message.checkpointHeight = new $util.LongBits(object.checkpointHeight.low >>> 0, object.checkpointHeight.high >>> 0).toNumber(true);
|
|
78293
78319
|
return message;
|
|
78294
78320
|
};
|
|
78295
78321
|
|
|
@@ -78315,11 +78341,21 @@ $root.org = (function() {
|
|
|
78315
78341
|
object.key = $util.newBuffer(object.key);
|
|
78316
78342
|
}
|
|
78317
78343
|
object.depth = 0;
|
|
78344
|
+
if ($util.Long) {
|
|
78345
|
+
var long = new $util.Long(0, 0, true);
|
|
78346
|
+
object.checkpointHeight = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
78347
|
+
} else
|
|
78348
|
+
object.checkpointHeight = options.longs === String ? "0" : 0;
|
|
78318
78349
|
}
|
|
78319
78350
|
if (message.key != null && message.hasOwnProperty("key"))
|
|
78320
78351
|
object.key = options.bytes === String ? $util.base64.encode(message.key, 0, message.key.length) : options.bytes === Array ? Array.prototype.slice.call(message.key) : message.key;
|
|
78321
78352
|
if (message.depth != null && message.hasOwnProperty("depth"))
|
|
78322
78353
|
object.depth = message.depth;
|
|
78354
|
+
if (message.checkpointHeight != null && message.hasOwnProperty("checkpointHeight"))
|
|
78355
|
+
if (typeof message.checkpointHeight === "number")
|
|
78356
|
+
object.checkpointHeight = options.longs === String ? String(message.checkpointHeight) : message.checkpointHeight;
|
|
78357
|
+
else
|
|
78358
|
+
object.checkpointHeight = options.longs === String ? $util.Long.prototype.toString.call(message.checkpointHeight) : options.longs === Number ? new $util.LongBits(message.checkpointHeight.low >>> 0, message.checkpointHeight.high >>> 0).toNumber(true) : message.checkpointHeight;
|
|
78323
78359
|
return object;
|
|
78324
78360
|
};
|
|
78325
78361
|
|
|
@@ -77618,6 +77618,7 @@ $root.org = (function() {
|
|
|
77618
77618
|
* @interface IGetAddressesBranchStateRequestV0
|
|
77619
77619
|
* @property {Uint8Array|null} [key] GetAddressesBranchStateRequestV0 key
|
|
77620
77620
|
* @property {number|null} [depth] GetAddressesBranchStateRequestV0 depth
|
|
77621
|
+
* @property {number|Long|null} [checkpointHeight] GetAddressesBranchStateRequestV0 checkpointHeight
|
|
77621
77622
|
*/
|
|
77622
77623
|
|
|
77623
77624
|
/**
|
|
@@ -77651,6 +77652,14 @@ $root.org = (function() {
|
|
|
77651
77652
|
*/
|
|
77652
77653
|
GetAddressesBranchStateRequestV0.prototype.depth = 0;
|
|
77653
77654
|
|
|
77655
|
+
/**
|
|
77656
|
+
* GetAddressesBranchStateRequestV0 checkpointHeight.
|
|
77657
|
+
* @member {number|Long} checkpointHeight
|
|
77658
|
+
* @memberof org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0
|
|
77659
|
+
* @instance
|
|
77660
|
+
*/
|
|
77661
|
+
GetAddressesBranchStateRequestV0.prototype.checkpointHeight = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
77662
|
+
|
|
77654
77663
|
/**
|
|
77655
77664
|
* Creates a new GetAddressesBranchStateRequestV0 instance using the specified properties.
|
|
77656
77665
|
* @function create
|
|
@@ -77679,6 +77688,8 @@ $root.org = (function() {
|
|
|
77679
77688
|
writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.key);
|
|
77680
77689
|
if (message.depth != null && Object.hasOwnProperty.call(message, "depth"))
|
|
77681
77690
|
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.depth);
|
|
77691
|
+
if (message.checkpointHeight != null && Object.hasOwnProperty.call(message, "checkpointHeight"))
|
|
77692
|
+
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.checkpointHeight);
|
|
77682
77693
|
return writer;
|
|
77683
77694
|
};
|
|
77684
77695
|
|
|
@@ -77719,6 +77730,9 @@ $root.org = (function() {
|
|
|
77719
77730
|
case 2:
|
|
77720
77731
|
message.depth = reader.uint32();
|
|
77721
77732
|
break;
|
|
77733
|
+
case 3:
|
|
77734
|
+
message.checkpointHeight = reader.uint64();
|
|
77735
|
+
break;
|
|
77722
77736
|
default:
|
|
77723
77737
|
reader.skipType(tag & 7);
|
|
77724
77738
|
break;
|
|
@@ -77760,6 +77774,9 @@ $root.org = (function() {
|
|
|
77760
77774
|
if (message.depth != null && message.hasOwnProperty("depth"))
|
|
77761
77775
|
if (!$util.isInteger(message.depth))
|
|
77762
77776
|
return "depth: integer expected";
|
|
77777
|
+
if (message.checkpointHeight != null && message.hasOwnProperty("checkpointHeight"))
|
|
77778
|
+
if (!$util.isInteger(message.checkpointHeight) && !(message.checkpointHeight && $util.isInteger(message.checkpointHeight.low) && $util.isInteger(message.checkpointHeight.high)))
|
|
77779
|
+
return "checkpointHeight: integer|Long expected";
|
|
77763
77780
|
return null;
|
|
77764
77781
|
};
|
|
77765
77782
|
|
|
@@ -77782,6 +77799,15 @@ $root.org = (function() {
|
|
|
77782
77799
|
message.key = object.key;
|
|
77783
77800
|
if (object.depth != null)
|
|
77784
77801
|
message.depth = object.depth >>> 0;
|
|
77802
|
+
if (object.checkpointHeight != null)
|
|
77803
|
+
if ($util.Long)
|
|
77804
|
+
(message.checkpointHeight = $util.Long.fromValue(object.checkpointHeight)).unsigned = true;
|
|
77805
|
+
else if (typeof object.checkpointHeight === "string")
|
|
77806
|
+
message.checkpointHeight = parseInt(object.checkpointHeight, 10);
|
|
77807
|
+
else if (typeof object.checkpointHeight === "number")
|
|
77808
|
+
message.checkpointHeight = object.checkpointHeight;
|
|
77809
|
+
else if (typeof object.checkpointHeight === "object")
|
|
77810
|
+
message.checkpointHeight = new $util.LongBits(object.checkpointHeight.low >>> 0, object.checkpointHeight.high >>> 0).toNumber(true);
|
|
77785
77811
|
return message;
|
|
77786
77812
|
};
|
|
77787
77813
|
|
|
@@ -77807,11 +77833,21 @@ $root.org = (function() {
|
|
|
77807
77833
|
object.key = $util.newBuffer(object.key);
|
|
77808
77834
|
}
|
|
77809
77835
|
object.depth = 0;
|
|
77836
|
+
if ($util.Long) {
|
|
77837
|
+
var long = new $util.Long(0, 0, true);
|
|
77838
|
+
object.checkpointHeight = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
77839
|
+
} else
|
|
77840
|
+
object.checkpointHeight = options.longs === String ? "0" : 0;
|
|
77810
77841
|
}
|
|
77811
77842
|
if (message.key != null && message.hasOwnProperty("key"))
|
|
77812
77843
|
object.key = options.bytes === String ? $util.base64.encode(message.key, 0, message.key.length) : options.bytes === Array ? Array.prototype.slice.call(message.key) : message.key;
|
|
77813
77844
|
if (message.depth != null && message.hasOwnProperty("depth"))
|
|
77814
77845
|
object.depth = message.depth;
|
|
77846
|
+
if (message.checkpointHeight != null && message.hasOwnProperty("checkpointHeight"))
|
|
77847
|
+
if (typeof message.checkpointHeight === "number")
|
|
77848
|
+
object.checkpointHeight = options.longs === String ? String(message.checkpointHeight) : message.checkpointHeight;
|
|
77849
|
+
else
|
|
77850
|
+
object.checkpointHeight = options.longs === String ? $util.Long.prototype.toString.call(message.checkpointHeight) : options.longs === Number ? new $util.LongBits(message.checkpointHeight.low >>> 0, message.checkpointHeight.high >>> 0).toNumber(true) : message.checkpointHeight;
|
|
77815
77851
|
return object;
|
|
77816
77852
|
};
|
|
77817
77853
|
|
|
@@ -75578,7 +75578,8 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranc
|
|
|
75578
75578
|
proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.toObject = function(includeInstance, msg) {
|
|
75579
75579
|
var f, obj = {
|
|
75580
75580
|
key: msg.getKey_asB64(),
|
|
75581
|
-
depth: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
75581
|
+
depth: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
75582
|
+
checkpointHeight: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
75582
75583
|
};
|
|
75583
75584
|
|
|
75584
75585
|
if (includeInstance) {
|
|
@@ -75623,6 +75624,10 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranc
|
|
|
75623
75624
|
var value = /** @type {number} */ (reader.readUint32());
|
|
75624
75625
|
msg.setDepth(value);
|
|
75625
75626
|
break;
|
|
75627
|
+
case 3:
|
|
75628
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
75629
|
+
msg.setCheckpointHeight(value);
|
|
75630
|
+
break;
|
|
75626
75631
|
default:
|
|
75627
75632
|
reader.skipField();
|
|
75628
75633
|
break;
|
|
@@ -75666,6 +75671,13 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranc
|
|
|
75666
75671
|
f
|
|
75667
75672
|
);
|
|
75668
75673
|
}
|
|
75674
|
+
f = message.getCheckpointHeight();
|
|
75675
|
+
if (f !== 0) {
|
|
75676
|
+
writer.writeUint64(
|
|
75677
|
+
3,
|
|
75678
|
+
f
|
|
75679
|
+
);
|
|
75680
|
+
}
|
|
75669
75681
|
};
|
|
75670
75682
|
|
|
75671
75683
|
|
|
@@ -75729,6 +75741,24 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranc
|
|
|
75729
75741
|
};
|
|
75730
75742
|
|
|
75731
75743
|
|
|
75744
|
+
/**
|
|
75745
|
+
* optional uint64 checkpoint_height = 3;
|
|
75746
|
+
* @return {number}
|
|
75747
|
+
*/
|
|
75748
|
+
proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.getCheckpointHeight = function() {
|
|
75749
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
75750
|
+
};
|
|
75751
|
+
|
|
75752
|
+
|
|
75753
|
+
/**
|
|
75754
|
+
* @param {number} value
|
|
75755
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0} returns this
|
|
75756
|
+
*/
|
|
75757
|
+
proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.setCheckpointHeight = function(value) {
|
|
75758
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
75759
|
+
};
|
|
75760
|
+
|
|
75761
|
+
|
|
75732
75762
|
/**
|
|
75733
75763
|
* optional GetAddressesBranchStateRequestV0 v0 = 1;
|
|
75734
75764
|
* @return {?proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0}
|
|
@@ -9955,6 +9955,9 @@ export namespace GetAddressesBranchStateRequest {
|
|
|
9955
9955
|
getDepth(): number;
|
|
9956
9956
|
setDepth(value: number): void;
|
|
9957
9957
|
|
|
9958
|
+
getCheckpointHeight(): number;
|
|
9959
|
+
setCheckpointHeight(value: number): void;
|
|
9960
|
+
|
|
9958
9961
|
serializeBinary(): Uint8Array;
|
|
9959
9962
|
toObject(includeInstance?: boolean): GetAddressesBranchStateRequestV0.AsObject;
|
|
9960
9963
|
static toObject(includeInstance: boolean, msg: GetAddressesBranchStateRequestV0): GetAddressesBranchStateRequestV0.AsObject;
|
|
@@ -9969,6 +9972,7 @@ export namespace GetAddressesBranchStateRequest {
|
|
|
9969
9972
|
export type AsObject = {
|
|
9970
9973
|
key: Uint8Array | string,
|
|
9971
9974
|
depth: number,
|
|
9975
|
+
checkpointHeight: number,
|
|
9972
9976
|
}
|
|
9973
9977
|
}
|
|
9974
9978
|
|
|
@@ -75578,7 +75578,8 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranc
|
|
|
75578
75578
|
proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.toObject = function(includeInstance, msg) {
|
|
75579
75579
|
var f, obj = {
|
|
75580
75580
|
key: msg.getKey_asB64(),
|
|
75581
|
-
depth: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
75581
|
+
depth: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
75582
|
+
checkpointHeight: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
75582
75583
|
};
|
|
75583
75584
|
|
|
75584
75585
|
if (includeInstance) {
|
|
@@ -75623,6 +75624,10 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranc
|
|
|
75623
75624
|
var value = /** @type {number} */ (reader.readUint32());
|
|
75624
75625
|
msg.setDepth(value);
|
|
75625
75626
|
break;
|
|
75627
|
+
case 3:
|
|
75628
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
75629
|
+
msg.setCheckpointHeight(value);
|
|
75630
|
+
break;
|
|
75626
75631
|
default:
|
|
75627
75632
|
reader.skipField();
|
|
75628
75633
|
break;
|
|
@@ -75666,6 +75671,13 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranc
|
|
|
75666
75671
|
f
|
|
75667
75672
|
);
|
|
75668
75673
|
}
|
|
75674
|
+
f = message.getCheckpointHeight();
|
|
75675
|
+
if (f !== 0) {
|
|
75676
|
+
writer.writeUint64(
|
|
75677
|
+
3,
|
|
75678
|
+
f
|
|
75679
|
+
);
|
|
75680
|
+
}
|
|
75669
75681
|
};
|
|
75670
75682
|
|
|
75671
75683
|
|
|
@@ -75729,6 +75741,24 @@ proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranc
|
|
|
75729
75741
|
};
|
|
75730
75742
|
|
|
75731
75743
|
|
|
75744
|
+
/**
|
|
75745
|
+
* optional uint64 checkpoint_height = 3;
|
|
75746
|
+
* @return {number}
|
|
75747
|
+
*/
|
|
75748
|
+
proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.getCheckpointHeight = function() {
|
|
75749
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
75750
|
+
};
|
|
75751
|
+
|
|
75752
|
+
|
|
75753
|
+
/**
|
|
75754
|
+
* @param {number} value
|
|
75755
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0} returns this
|
|
75756
|
+
*/
|
|
75757
|
+
proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0.prototype.setCheckpointHeight = function(value) {
|
|
75758
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
75759
|
+
};
|
|
75760
|
+
|
|
75761
|
+
|
|
75732
75762
|
/**
|
|
75733
75763
|
* optional GetAddressesBranchStateRequestV0 v0 = 1;
|
|
75734
75764
|
* @return {?proto.org.dash.platform.dapi.v0.GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dashevo/dapi-grpc",
|
|
3
|
-
"version": "3.0.0-dev.
|
|
3
|
+
"version": "3.0.0-dev.7",
|
|
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": "3.0.0-dev.
|
|
48
|
+
"@dashevo/grpc-common": "3.0.0-dev.7",
|
|
49
49
|
"@dashevo/protobufjs": "6.10.5",
|
|
50
50
|
"@grpc/grpc-js": "1.4.4",
|
|
51
51
|
"@improbable-eng/grpc-web": "^0.15.0",
|
|
@@ -2020,6 +2020,7 @@ message GetAddressesBranchStateRequest {
|
|
|
2020
2020
|
message GetAddressesBranchStateRequestV0 {
|
|
2021
2021
|
bytes key = 1;
|
|
2022
2022
|
uint32 depth = 2;
|
|
2023
|
+
uint64 checkpoint_height = 3; // Block height from trunk response metadata for consistency
|
|
2023
2024
|
}
|
|
2024
2025
|
oneof version { GetAddressesBranchStateRequestV0 v0 = 1; }
|
|
2025
2026
|
}
|
|
@@ -5761,6 +5761,9 @@ pub mod get_addresses_branch_state_request {
|
|
|
5761
5761
|
pub key: ::prost::alloc::vec::Vec<u8>,
|
|
5762
5762
|
#[prost(uint32, tag = "2")]
|
|
5763
5763
|
pub depth: u32,
|
|
5764
|
+
/// Block height from trunk response metadata for consistency
|
|
5765
|
+
#[prost(uint64, tag = "3")]
|
|
5766
|
+
pub checkpoint_height: u64,
|
|
5764
5767
|
}
|
|
5765
5768
|
#[cfg_attr(feature = "serde", derive(::serde::Serialize, ::serde::Deserialize))]
|
|
5766
5769
|
#[cfg_attr(feature = "serde", serde(rename_all = "snake_case"))]
|
|
@@ -5761,6 +5761,9 @@ pub mod get_addresses_branch_state_request {
|
|
|
5761
5761
|
pub key: ::prost::alloc::vec::Vec<u8>,
|
|
5762
5762
|
#[prost(uint32, tag = "2")]
|
|
5763
5763
|
pub depth: u32,
|
|
5764
|
+
/// Block height from trunk response metadata for consistency
|
|
5765
|
+
#[prost(uint64, tag = "3")]
|
|
5766
|
+
pub checkpoint_height: u64,
|
|
5764
5767
|
}
|
|
5765
5768
|
#[cfg_attr(feature = "serde", derive(::serde::Serialize, ::serde::Deserialize))]
|
|
5766
5769
|
#[cfg_attr(feature = "serde", serde(rename_all = "snake_case"))]
|
|
@@ -6120,6 +6120,9 @@ pub mod get_addresses_branch_state_request {
|
|
|
6120
6120
|
pub key: ::prost::alloc::vec::Vec<u8>,
|
|
6121
6121
|
#[prost(uint32, tag = "2")]
|
|
6122
6122
|
pub depth: u32,
|
|
6123
|
+
/// Block height from trunk response metadata for consistency
|
|
6124
|
+
#[prost(uint64, tag = "3")]
|
|
6125
|
+
pub checkpoint_height: u64,
|
|
6123
6126
|
}
|
|
6124
6127
|
#[cfg_attr(feature = "serde", derive(::serde::Serialize, ::serde::Deserialize))]
|
|
6125
6128
|
#[cfg_attr(feature = "serde", serde(rename_all = "snake_case"))]
|
|
@@ -6120,6 +6120,9 @@ pub mod get_addresses_branch_state_request {
|
|
|
6120
6120
|
pub key: ::prost::alloc::vec::Vec<u8>,
|
|
6121
6121
|
#[prost(uint32, tag = "2")]
|
|
6122
6122
|
pub depth: u32,
|
|
6123
|
+
/// Block height from trunk response metadata for consistency
|
|
6124
|
+
#[prost(uint64, tag = "3")]
|
|
6125
|
+
pub checkpoint_height: u64,
|
|
6123
6126
|
}
|
|
6124
6127
|
#[cfg_attr(feature = "serde", derive(::serde::Serialize, ::serde::Deserialize))]
|
|
6125
6128
|
#[cfg_attr(feature = "serde", serde(rename_all = "snake_case"))]
|