@dashevo/dapi-grpc 0.25.11 → 0.25.13

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.
@@ -582,68 +582,68 @@ $root.org = (function() {
582
582
  */
583
583
 
584
584
  /**
585
- * Callback as used by {@link org.dash.platform.dapi.v0.Platform#getVersionUpgradeState}.
585
+ * Callback as used by {@link org.dash.platform.dapi.v0.Platform#getProtocolVersionUpgradeState}.
586
586
  * @memberof org.dash.platform.dapi.v0.Platform
587
- * @typedef getVersionUpgradeStateCallback
587
+ * @typedef getProtocolVersionUpgradeStateCallback
588
588
  * @type {function}
589
589
  * @param {Error|null} error Error, if any
590
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse} [response] GetVersionUpgradeStateResponse
590
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse} [response] GetProtocolVersionUpgradeStateResponse
591
591
  */
592
592
 
593
593
  /**
594
- * Calls getVersionUpgradeState.
595
- * @function getVersionUpgradeState
594
+ * Calls getProtocolVersionUpgradeState.
595
+ * @function getProtocolVersionUpgradeState
596
596
  * @memberof org.dash.platform.dapi.v0.Platform
597
597
  * @instance
598
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeStateRequest} request GetVersionUpgradeStateRequest message or plain object
599
- * @param {org.dash.platform.dapi.v0.Platform.getVersionUpgradeStateCallback} callback Node-style callback called with the error, if any, and GetVersionUpgradeStateResponse
598
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeStateRequest} request GetProtocolVersionUpgradeStateRequest message or plain object
599
+ * @param {org.dash.platform.dapi.v0.Platform.getProtocolVersionUpgradeStateCallback} callback Node-style callback called with the error, if any, and GetProtocolVersionUpgradeStateResponse
600
600
  * @returns {undefined}
601
601
  * @variation 1
602
602
  */
603
- Object.defineProperty(Platform.prototype.getVersionUpgradeState = function getVersionUpgradeState(request, callback) {
604
- return this.rpcCall(getVersionUpgradeState, $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest, $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse, request, callback);
605
- }, "name", { value: "getVersionUpgradeState" });
603
+ Object.defineProperty(Platform.prototype.getProtocolVersionUpgradeState = function getProtocolVersionUpgradeState(request, callback) {
604
+ return this.rpcCall(getProtocolVersionUpgradeState, $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest, $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse, request, callback);
605
+ }, "name", { value: "getProtocolVersionUpgradeState" });
606
606
 
607
607
  /**
608
- * Calls getVersionUpgradeState.
609
- * @function getVersionUpgradeState
608
+ * Calls getProtocolVersionUpgradeState.
609
+ * @function getProtocolVersionUpgradeState
610
610
  * @memberof org.dash.platform.dapi.v0.Platform
611
611
  * @instance
612
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeStateRequest} request GetVersionUpgradeStateRequest message or plain object
613
- * @returns {Promise<org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse>} Promise
612
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeStateRequest} request GetProtocolVersionUpgradeStateRequest message or plain object
613
+ * @returns {Promise<org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse>} Promise
614
614
  * @variation 2
615
615
  */
616
616
 
617
617
  /**
618
- * Callback as used by {@link org.dash.platform.dapi.v0.Platform#getVersionUpgradeVoteStatus}.
618
+ * Callback as used by {@link org.dash.platform.dapi.v0.Platform#getProtocolVersionUpgradeVoteStatus}.
619
619
  * @memberof org.dash.platform.dapi.v0.Platform
620
- * @typedef getVersionUpgradeVoteStatusCallback
620
+ * @typedef getProtocolVersionUpgradeVoteStatusCallback
621
621
  * @type {function}
622
622
  * @param {Error|null} error Error, if any
623
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse} [response] GetVersionUpgradeVoteStatusResponse
623
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse} [response] GetProtocolVersionUpgradeVoteStatusResponse
624
624
  */
625
625
 
626
626
  /**
627
- * Calls getVersionUpgradeVoteStatus.
628
- * @function getVersionUpgradeVoteStatus
627
+ * Calls getProtocolVersionUpgradeVoteStatus.
628
+ * @function getProtocolVersionUpgradeVoteStatus
629
629
  * @memberof org.dash.platform.dapi.v0.Platform
630
630
  * @instance
631
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeVoteStatusRequest} request GetVersionUpgradeVoteStatusRequest message or plain object
632
- * @param {org.dash.platform.dapi.v0.Platform.getVersionUpgradeVoteStatusCallback} callback Node-style callback called with the error, if any, and GetVersionUpgradeVoteStatusResponse
631
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeVoteStatusRequest} request GetProtocolVersionUpgradeVoteStatusRequest message or plain object
632
+ * @param {org.dash.platform.dapi.v0.Platform.getProtocolVersionUpgradeVoteStatusCallback} callback Node-style callback called with the error, if any, and GetProtocolVersionUpgradeVoteStatusResponse
633
633
  * @returns {undefined}
634
634
  * @variation 1
635
635
  */
636
- Object.defineProperty(Platform.prototype.getVersionUpgradeVoteStatus = function getVersionUpgradeVoteStatus(request, callback) {
637
- return this.rpcCall(getVersionUpgradeVoteStatus, $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest, $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse, request, callback);
638
- }, "name", { value: "getVersionUpgradeVoteStatus" });
636
+ Object.defineProperty(Platform.prototype.getProtocolVersionUpgradeVoteStatus = function getProtocolVersionUpgradeVoteStatus(request, callback) {
637
+ return this.rpcCall(getProtocolVersionUpgradeVoteStatus, $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest, $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse, request, callback);
638
+ }, "name", { value: "getProtocolVersionUpgradeVoteStatus" });
639
639
 
640
640
  /**
641
- * Calls getVersionUpgradeVoteStatus.
642
- * @function getVersionUpgradeVoteStatus
641
+ * Calls getProtocolVersionUpgradeVoteStatus.
642
+ * @function getProtocolVersionUpgradeVoteStatus
643
643
  * @memberof org.dash.platform.dapi.v0.Platform
644
644
  * @instance
645
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeVoteStatusRequest} request GetVersionUpgradeVoteStatusRequest message or plain object
646
- * @returns {Promise<org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse>} Promise
645
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeVoteStatusRequest} request GetProtocolVersionUpgradeVoteStatusRequest message or plain object
646
+ * @returns {Promise<org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse>} Promise
647
647
  * @variation 2
648
648
  */
649
649
 
@@ -19978,24 +19978,24 @@ $root.org = (function() {
19978
19978
  return GetConsensusParamsResponse;
19979
19979
  })();
19980
19980
 
19981
- v0.GetVersionUpgradeStateRequest = (function() {
19981
+ v0.GetProtocolVersionUpgradeStateRequest = (function() {
19982
19982
 
19983
19983
  /**
19984
- * Properties of a GetVersionUpgradeStateRequest.
19984
+ * Properties of a GetProtocolVersionUpgradeStateRequest.
19985
19985
  * @memberof org.dash.platform.dapi.v0
19986
- * @interface IGetVersionUpgradeStateRequest
19987
- * @property {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.IGetVersionUpgradeStateRequestV0|null} [v0] GetVersionUpgradeStateRequest v0
19986
+ * @interface IGetProtocolVersionUpgradeStateRequest
19987
+ * @property {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.IGetProtocolVersionUpgradeStateRequestV0|null} [v0] GetProtocolVersionUpgradeStateRequest v0
19988
19988
  */
19989
19989
 
19990
19990
  /**
19991
- * Constructs a new GetVersionUpgradeStateRequest.
19991
+ * Constructs a new GetProtocolVersionUpgradeStateRequest.
19992
19992
  * @memberof org.dash.platform.dapi.v0
19993
- * @classdesc Represents a GetVersionUpgradeStateRequest.
19994
- * @implements IGetVersionUpgradeStateRequest
19993
+ * @classdesc Represents a GetProtocolVersionUpgradeStateRequest.
19994
+ * @implements IGetProtocolVersionUpgradeStateRequest
19995
19995
  * @constructor
19996
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeStateRequest=} [properties] Properties to set
19996
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeStateRequest=} [properties] Properties to set
19997
19997
  */
19998
- function GetVersionUpgradeStateRequest(properties) {
19998
+ function GetProtocolVersionUpgradeStateRequest(properties) {
19999
19999
  if (properties)
20000
20000
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
20001
20001
  if (properties[keys[i]] != null)
@@ -20003,89 +20003,89 @@ $root.org = (function() {
20003
20003
  }
20004
20004
 
20005
20005
  /**
20006
- * GetVersionUpgradeStateRequest v0.
20007
- * @member {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.IGetVersionUpgradeStateRequestV0|null|undefined} v0
20008
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20006
+ * GetProtocolVersionUpgradeStateRequest v0.
20007
+ * @member {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.IGetProtocolVersionUpgradeStateRequestV0|null|undefined} v0
20008
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20009
20009
  * @instance
20010
20010
  */
20011
- GetVersionUpgradeStateRequest.prototype.v0 = null;
20011
+ GetProtocolVersionUpgradeStateRequest.prototype.v0 = null;
20012
20012
 
20013
20013
  // OneOf field names bound to virtual getters and setters
20014
20014
  var $oneOfFields;
20015
20015
 
20016
20016
  /**
20017
- * GetVersionUpgradeStateRequest version.
20017
+ * GetProtocolVersionUpgradeStateRequest version.
20018
20018
  * @member {"v0"|undefined} version
20019
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20019
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20020
20020
  * @instance
20021
20021
  */
20022
- Object.defineProperty(GetVersionUpgradeStateRequest.prototype, "version", {
20022
+ Object.defineProperty(GetProtocolVersionUpgradeStateRequest.prototype, "version", {
20023
20023
  get: $util.oneOfGetter($oneOfFields = ["v0"]),
20024
20024
  set: $util.oneOfSetter($oneOfFields)
20025
20025
  });
20026
20026
 
20027
20027
  /**
20028
- * Creates a new GetVersionUpgradeStateRequest instance using the specified properties.
20028
+ * Creates a new GetProtocolVersionUpgradeStateRequest instance using the specified properties.
20029
20029
  * @function create
20030
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20030
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20031
20031
  * @static
20032
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeStateRequest=} [properties] Properties to set
20033
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest} GetVersionUpgradeStateRequest instance
20032
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeStateRequest=} [properties] Properties to set
20033
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest} GetProtocolVersionUpgradeStateRequest instance
20034
20034
  */
20035
- GetVersionUpgradeStateRequest.create = function create(properties) {
20036
- return new GetVersionUpgradeStateRequest(properties);
20035
+ GetProtocolVersionUpgradeStateRequest.create = function create(properties) {
20036
+ return new GetProtocolVersionUpgradeStateRequest(properties);
20037
20037
  };
20038
20038
 
20039
20039
  /**
20040
- * Encodes the specified GetVersionUpgradeStateRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.verify|verify} messages.
20040
+ * Encodes the specified GetProtocolVersionUpgradeStateRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.verify|verify} messages.
20041
20041
  * @function encode
20042
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20042
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20043
20043
  * @static
20044
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeStateRequest} message GetVersionUpgradeStateRequest message or plain object to encode
20044
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeStateRequest} message GetProtocolVersionUpgradeStateRequest message or plain object to encode
20045
20045
  * @param {$protobuf.Writer} [writer] Writer to encode to
20046
20046
  * @returns {$protobuf.Writer} Writer
20047
20047
  */
20048
- GetVersionUpgradeStateRequest.encode = function encode(message, writer) {
20048
+ GetProtocolVersionUpgradeStateRequest.encode = function encode(message, writer) {
20049
20049
  if (!writer)
20050
20050
  writer = $Writer.create();
20051
20051
  if (message.v0 != null && Object.hasOwnProperty.call(message, "v0"))
20052
- $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
20052
+ $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
20053
20053
  return writer;
20054
20054
  };
20055
20055
 
20056
20056
  /**
20057
- * Encodes the specified GetVersionUpgradeStateRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.verify|verify} messages.
20057
+ * Encodes the specified GetProtocolVersionUpgradeStateRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.verify|verify} messages.
20058
20058
  * @function encodeDelimited
20059
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20059
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20060
20060
  * @static
20061
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeStateRequest} message GetVersionUpgradeStateRequest message or plain object to encode
20061
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeStateRequest} message GetProtocolVersionUpgradeStateRequest message or plain object to encode
20062
20062
  * @param {$protobuf.Writer} [writer] Writer to encode to
20063
20063
  * @returns {$protobuf.Writer} Writer
20064
20064
  */
20065
- GetVersionUpgradeStateRequest.encodeDelimited = function encodeDelimited(message, writer) {
20065
+ GetProtocolVersionUpgradeStateRequest.encodeDelimited = function encodeDelimited(message, writer) {
20066
20066
  return this.encode(message, writer).ldelim();
20067
20067
  };
20068
20068
 
20069
20069
  /**
20070
- * Decodes a GetVersionUpgradeStateRequest message from the specified reader or buffer.
20070
+ * Decodes a GetProtocolVersionUpgradeStateRequest message from the specified reader or buffer.
20071
20071
  * @function decode
20072
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20072
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20073
20073
  * @static
20074
20074
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20075
20075
  * @param {number} [length] Message length if known beforehand
20076
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest} GetVersionUpgradeStateRequest
20076
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest} GetProtocolVersionUpgradeStateRequest
20077
20077
  * @throws {Error} If the payload is not a reader or valid buffer
20078
20078
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20079
20079
  */
20080
- GetVersionUpgradeStateRequest.decode = function decode(reader, length) {
20080
+ GetProtocolVersionUpgradeStateRequest.decode = function decode(reader, length) {
20081
20081
  if (!(reader instanceof $Reader))
20082
20082
  reader = $Reader.create(reader);
20083
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest();
20083
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest();
20084
20084
  while (reader.pos < end) {
20085
20085
  var tag = reader.uint32();
20086
20086
  switch (tag >>> 3) {
20087
20087
  case 1:
20088
- message.v0 = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0.decode(reader, reader.uint32());
20088
+ message.v0 = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0.decode(reader, reader.uint32());
20089
20089
  break;
20090
20090
  default:
20091
20091
  reader.skipType(tag & 7);
@@ -20096,37 +20096,37 @@ $root.org = (function() {
20096
20096
  };
20097
20097
 
20098
20098
  /**
20099
- * Decodes a GetVersionUpgradeStateRequest message from the specified reader or buffer, length delimited.
20099
+ * Decodes a GetProtocolVersionUpgradeStateRequest message from the specified reader or buffer, length delimited.
20100
20100
  * @function decodeDelimited
20101
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20101
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20102
20102
  * @static
20103
20103
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20104
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest} GetVersionUpgradeStateRequest
20104
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest} GetProtocolVersionUpgradeStateRequest
20105
20105
  * @throws {Error} If the payload is not a reader or valid buffer
20106
20106
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20107
20107
  */
20108
- GetVersionUpgradeStateRequest.decodeDelimited = function decodeDelimited(reader) {
20108
+ GetProtocolVersionUpgradeStateRequest.decodeDelimited = function decodeDelimited(reader) {
20109
20109
  if (!(reader instanceof $Reader))
20110
20110
  reader = new $Reader(reader);
20111
20111
  return this.decode(reader, reader.uint32());
20112
20112
  };
20113
20113
 
20114
20114
  /**
20115
- * Verifies a GetVersionUpgradeStateRequest message.
20115
+ * Verifies a GetProtocolVersionUpgradeStateRequest message.
20116
20116
  * @function verify
20117
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20117
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20118
20118
  * @static
20119
20119
  * @param {Object.<string,*>} message Plain object to verify
20120
20120
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
20121
20121
  */
20122
- GetVersionUpgradeStateRequest.verify = function verify(message) {
20122
+ GetProtocolVersionUpgradeStateRequest.verify = function verify(message) {
20123
20123
  if (typeof message !== "object" || message === null)
20124
20124
  return "object expected";
20125
20125
  var properties = {};
20126
20126
  if (message.v0 != null && message.hasOwnProperty("v0")) {
20127
20127
  properties.version = 1;
20128
20128
  {
20129
- var error = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0.verify(message.v0);
20129
+ var error = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0.verify(message.v0);
20130
20130
  if (error)
20131
20131
  return "v0." + error;
20132
20132
  }
@@ -20135,40 +20135,40 @@ $root.org = (function() {
20135
20135
  };
20136
20136
 
20137
20137
  /**
20138
- * Creates a GetVersionUpgradeStateRequest message from a plain object. Also converts values to their respective internal types.
20138
+ * Creates a GetProtocolVersionUpgradeStateRequest message from a plain object. Also converts values to their respective internal types.
20139
20139
  * @function fromObject
20140
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20140
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20141
20141
  * @static
20142
20142
  * @param {Object.<string,*>} object Plain object
20143
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest} GetVersionUpgradeStateRequest
20143
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest} GetProtocolVersionUpgradeStateRequest
20144
20144
  */
20145
- GetVersionUpgradeStateRequest.fromObject = function fromObject(object) {
20146
- if (object instanceof $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest)
20145
+ GetProtocolVersionUpgradeStateRequest.fromObject = function fromObject(object) {
20146
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest)
20147
20147
  return object;
20148
- var message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest();
20148
+ var message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest();
20149
20149
  if (object.v0 != null) {
20150
20150
  if (typeof object.v0 !== "object")
20151
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.v0: object expected");
20152
- message.v0 = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0.fromObject(object.v0);
20151
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.v0: object expected");
20152
+ message.v0 = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0.fromObject(object.v0);
20153
20153
  }
20154
20154
  return message;
20155
20155
  };
20156
20156
 
20157
20157
  /**
20158
- * Creates a plain object from a GetVersionUpgradeStateRequest message. Also converts values to other types if specified.
20158
+ * Creates a plain object from a GetProtocolVersionUpgradeStateRequest message. Also converts values to other types if specified.
20159
20159
  * @function toObject
20160
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20160
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20161
20161
  * @static
20162
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest} message GetVersionUpgradeStateRequest
20162
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest} message GetProtocolVersionUpgradeStateRequest
20163
20163
  * @param {$protobuf.IConversionOptions} [options] Conversion options
20164
20164
  * @returns {Object.<string,*>} Plain object
20165
20165
  */
20166
- GetVersionUpgradeStateRequest.toObject = function toObject(message, options) {
20166
+ GetProtocolVersionUpgradeStateRequest.toObject = function toObject(message, options) {
20167
20167
  if (!options)
20168
20168
  options = {};
20169
20169
  var object = {};
20170
20170
  if (message.v0 != null && message.hasOwnProperty("v0")) {
20171
- object.v0 = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0.toObject(message.v0, options);
20171
+ object.v0 = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0.toObject(message.v0, options);
20172
20172
  if (options.oneofs)
20173
20173
  object.version = "v0";
20174
20174
  }
@@ -20176,34 +20176,34 @@ $root.org = (function() {
20176
20176
  };
20177
20177
 
20178
20178
  /**
20179
- * Converts this GetVersionUpgradeStateRequest to JSON.
20179
+ * Converts this GetProtocolVersionUpgradeStateRequest to JSON.
20180
20180
  * @function toJSON
20181
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20181
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20182
20182
  * @instance
20183
20183
  * @returns {Object.<string,*>} JSON object
20184
20184
  */
20185
- GetVersionUpgradeStateRequest.prototype.toJSON = function toJSON() {
20185
+ GetProtocolVersionUpgradeStateRequest.prototype.toJSON = function toJSON() {
20186
20186
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20187
20187
  };
20188
20188
 
20189
- GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0 = (function() {
20189
+ GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0 = (function() {
20190
20190
 
20191
20191
  /**
20192
- * Properties of a GetVersionUpgradeStateRequestV0.
20193
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20194
- * @interface IGetVersionUpgradeStateRequestV0
20195
- * @property {boolean|null} [prove] GetVersionUpgradeStateRequestV0 prove
20192
+ * Properties of a GetProtocolVersionUpgradeStateRequestV0.
20193
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20194
+ * @interface IGetProtocolVersionUpgradeStateRequestV0
20195
+ * @property {boolean|null} [prove] GetProtocolVersionUpgradeStateRequestV0 prove
20196
20196
  */
20197
20197
 
20198
20198
  /**
20199
- * Constructs a new GetVersionUpgradeStateRequestV0.
20200
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest
20201
- * @classdesc Represents a GetVersionUpgradeStateRequestV0.
20202
- * @implements IGetVersionUpgradeStateRequestV0
20199
+ * Constructs a new GetProtocolVersionUpgradeStateRequestV0.
20200
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest
20201
+ * @classdesc Represents a GetProtocolVersionUpgradeStateRequestV0.
20202
+ * @implements IGetProtocolVersionUpgradeStateRequestV0
20203
20203
  * @constructor
20204
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.IGetVersionUpgradeStateRequestV0=} [properties] Properties to set
20204
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.IGetProtocolVersionUpgradeStateRequestV0=} [properties] Properties to set
20205
20205
  */
20206
- function GetVersionUpgradeStateRequestV0(properties) {
20206
+ function GetProtocolVersionUpgradeStateRequestV0(properties) {
20207
20207
  if (properties)
20208
20208
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
20209
20209
  if (properties[keys[i]] != null)
@@ -20211,35 +20211,35 @@ $root.org = (function() {
20211
20211
  }
20212
20212
 
20213
20213
  /**
20214
- * GetVersionUpgradeStateRequestV0 prove.
20214
+ * GetProtocolVersionUpgradeStateRequestV0 prove.
20215
20215
  * @member {boolean} prove
20216
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0
20216
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0
20217
20217
  * @instance
20218
20218
  */
20219
- GetVersionUpgradeStateRequestV0.prototype.prove = false;
20219
+ GetProtocolVersionUpgradeStateRequestV0.prototype.prove = false;
20220
20220
 
20221
20221
  /**
20222
- * Creates a new GetVersionUpgradeStateRequestV0 instance using the specified properties.
20222
+ * Creates a new GetProtocolVersionUpgradeStateRequestV0 instance using the specified properties.
20223
20223
  * @function create
20224
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0
20224
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0
20225
20225
  * @static
20226
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.IGetVersionUpgradeStateRequestV0=} [properties] Properties to set
20227
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0} GetVersionUpgradeStateRequestV0 instance
20226
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.IGetProtocolVersionUpgradeStateRequestV0=} [properties] Properties to set
20227
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0} GetProtocolVersionUpgradeStateRequestV0 instance
20228
20228
  */
20229
- GetVersionUpgradeStateRequestV0.create = function create(properties) {
20230
- return new GetVersionUpgradeStateRequestV0(properties);
20229
+ GetProtocolVersionUpgradeStateRequestV0.create = function create(properties) {
20230
+ return new GetProtocolVersionUpgradeStateRequestV0(properties);
20231
20231
  };
20232
20232
 
20233
20233
  /**
20234
- * Encodes the specified GetVersionUpgradeStateRequestV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0.verify|verify} messages.
20234
+ * Encodes the specified GetProtocolVersionUpgradeStateRequestV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0.verify|verify} messages.
20235
20235
  * @function encode
20236
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0
20236
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0
20237
20237
  * @static
20238
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.IGetVersionUpgradeStateRequestV0} message GetVersionUpgradeStateRequestV0 message or plain object to encode
20238
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.IGetProtocolVersionUpgradeStateRequestV0} message GetProtocolVersionUpgradeStateRequestV0 message or plain object to encode
20239
20239
  * @param {$protobuf.Writer} [writer] Writer to encode to
20240
20240
  * @returns {$protobuf.Writer} Writer
20241
20241
  */
20242
- GetVersionUpgradeStateRequestV0.encode = function encode(message, writer) {
20242
+ GetProtocolVersionUpgradeStateRequestV0.encode = function encode(message, writer) {
20243
20243
  if (!writer)
20244
20244
  writer = $Writer.create();
20245
20245
  if (message.prove != null && Object.hasOwnProperty.call(message, "prove"))
@@ -20248,33 +20248,33 @@ $root.org = (function() {
20248
20248
  };
20249
20249
 
20250
20250
  /**
20251
- * Encodes the specified GetVersionUpgradeStateRequestV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0.verify|verify} messages.
20251
+ * Encodes the specified GetProtocolVersionUpgradeStateRequestV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0.verify|verify} messages.
20252
20252
  * @function encodeDelimited
20253
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0
20253
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0
20254
20254
  * @static
20255
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.IGetVersionUpgradeStateRequestV0} message GetVersionUpgradeStateRequestV0 message or plain object to encode
20255
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.IGetProtocolVersionUpgradeStateRequestV0} message GetProtocolVersionUpgradeStateRequestV0 message or plain object to encode
20256
20256
  * @param {$protobuf.Writer} [writer] Writer to encode to
20257
20257
  * @returns {$protobuf.Writer} Writer
20258
20258
  */
20259
- GetVersionUpgradeStateRequestV0.encodeDelimited = function encodeDelimited(message, writer) {
20259
+ GetProtocolVersionUpgradeStateRequestV0.encodeDelimited = function encodeDelimited(message, writer) {
20260
20260
  return this.encode(message, writer).ldelim();
20261
20261
  };
20262
20262
 
20263
20263
  /**
20264
- * Decodes a GetVersionUpgradeStateRequestV0 message from the specified reader or buffer.
20264
+ * Decodes a GetProtocolVersionUpgradeStateRequestV0 message from the specified reader or buffer.
20265
20265
  * @function decode
20266
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0
20266
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0
20267
20267
  * @static
20268
20268
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20269
20269
  * @param {number} [length] Message length if known beforehand
20270
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0} GetVersionUpgradeStateRequestV0
20270
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0} GetProtocolVersionUpgradeStateRequestV0
20271
20271
  * @throws {Error} If the payload is not a reader or valid buffer
20272
20272
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20273
20273
  */
20274
- GetVersionUpgradeStateRequestV0.decode = function decode(reader, length) {
20274
+ GetProtocolVersionUpgradeStateRequestV0.decode = function decode(reader, length) {
20275
20275
  if (!(reader instanceof $Reader))
20276
20276
  reader = $Reader.create(reader);
20277
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0();
20277
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0();
20278
20278
  while (reader.pos < end) {
20279
20279
  var tag = reader.uint32();
20280
20280
  switch (tag >>> 3) {
@@ -20290,30 +20290,30 @@ $root.org = (function() {
20290
20290
  };
20291
20291
 
20292
20292
  /**
20293
- * Decodes a GetVersionUpgradeStateRequestV0 message from the specified reader or buffer, length delimited.
20293
+ * Decodes a GetProtocolVersionUpgradeStateRequestV0 message from the specified reader or buffer, length delimited.
20294
20294
  * @function decodeDelimited
20295
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0
20295
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0
20296
20296
  * @static
20297
20297
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20298
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0} GetVersionUpgradeStateRequestV0
20298
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0} GetProtocolVersionUpgradeStateRequestV0
20299
20299
  * @throws {Error} If the payload is not a reader or valid buffer
20300
20300
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20301
20301
  */
20302
- GetVersionUpgradeStateRequestV0.decodeDelimited = function decodeDelimited(reader) {
20302
+ GetProtocolVersionUpgradeStateRequestV0.decodeDelimited = function decodeDelimited(reader) {
20303
20303
  if (!(reader instanceof $Reader))
20304
20304
  reader = new $Reader(reader);
20305
20305
  return this.decode(reader, reader.uint32());
20306
20306
  };
20307
20307
 
20308
20308
  /**
20309
- * Verifies a GetVersionUpgradeStateRequestV0 message.
20309
+ * Verifies a GetProtocolVersionUpgradeStateRequestV0 message.
20310
20310
  * @function verify
20311
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0
20311
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0
20312
20312
  * @static
20313
20313
  * @param {Object.<string,*>} message Plain object to verify
20314
20314
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
20315
20315
  */
20316
- GetVersionUpgradeStateRequestV0.verify = function verify(message) {
20316
+ GetProtocolVersionUpgradeStateRequestV0.verify = function verify(message) {
20317
20317
  if (typeof message !== "object" || message === null)
20318
20318
  return "object expected";
20319
20319
  if (message.prove != null && message.hasOwnProperty("prove"))
@@ -20323,32 +20323,32 @@ $root.org = (function() {
20323
20323
  };
20324
20324
 
20325
20325
  /**
20326
- * Creates a GetVersionUpgradeStateRequestV0 message from a plain object. Also converts values to their respective internal types.
20326
+ * Creates a GetProtocolVersionUpgradeStateRequestV0 message from a plain object. Also converts values to their respective internal types.
20327
20327
  * @function fromObject
20328
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0
20328
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0
20329
20329
  * @static
20330
20330
  * @param {Object.<string,*>} object Plain object
20331
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0} GetVersionUpgradeStateRequestV0
20331
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0} GetProtocolVersionUpgradeStateRequestV0
20332
20332
  */
20333
- GetVersionUpgradeStateRequestV0.fromObject = function fromObject(object) {
20334
- if (object instanceof $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0)
20333
+ GetProtocolVersionUpgradeStateRequestV0.fromObject = function fromObject(object) {
20334
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0)
20335
20335
  return object;
20336
- var message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0();
20336
+ var message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0();
20337
20337
  if (object.prove != null)
20338
20338
  message.prove = Boolean(object.prove);
20339
20339
  return message;
20340
20340
  };
20341
20341
 
20342
20342
  /**
20343
- * Creates a plain object from a GetVersionUpgradeStateRequestV0 message. Also converts values to other types if specified.
20343
+ * Creates a plain object from a GetProtocolVersionUpgradeStateRequestV0 message. Also converts values to other types if specified.
20344
20344
  * @function toObject
20345
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0
20345
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0
20346
20346
  * @static
20347
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0} message GetVersionUpgradeStateRequestV0
20347
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0} message GetProtocolVersionUpgradeStateRequestV0
20348
20348
  * @param {$protobuf.IConversionOptions} [options] Conversion options
20349
20349
  * @returns {Object.<string,*>} Plain object
20350
20350
  */
20351
- GetVersionUpgradeStateRequestV0.toObject = function toObject(message, options) {
20351
+ GetProtocolVersionUpgradeStateRequestV0.toObject = function toObject(message, options) {
20352
20352
  if (!options)
20353
20353
  options = {};
20354
20354
  var object = {};
@@ -20360,40 +20360,40 @@ $root.org = (function() {
20360
20360
  };
20361
20361
 
20362
20362
  /**
20363
- * Converts this GetVersionUpgradeStateRequestV0 to JSON.
20363
+ * Converts this GetProtocolVersionUpgradeStateRequestV0 to JSON.
20364
20364
  * @function toJSON
20365
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateRequest.GetVersionUpgradeStateRequestV0
20365
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0
20366
20366
  * @instance
20367
20367
  * @returns {Object.<string,*>} JSON object
20368
20368
  */
20369
- GetVersionUpgradeStateRequestV0.prototype.toJSON = function toJSON() {
20369
+ GetProtocolVersionUpgradeStateRequestV0.prototype.toJSON = function toJSON() {
20370
20370
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20371
20371
  };
20372
20372
 
20373
- return GetVersionUpgradeStateRequestV0;
20373
+ return GetProtocolVersionUpgradeStateRequestV0;
20374
20374
  })();
20375
20375
 
20376
- return GetVersionUpgradeStateRequest;
20376
+ return GetProtocolVersionUpgradeStateRequest;
20377
20377
  })();
20378
20378
 
20379
- v0.GetVersionUpgradeStateResponse = (function() {
20379
+ v0.GetProtocolVersionUpgradeStateResponse = (function() {
20380
20380
 
20381
20381
  /**
20382
- * Properties of a GetVersionUpgradeStateResponse.
20382
+ * Properties of a GetProtocolVersionUpgradeStateResponse.
20383
20383
  * @memberof org.dash.platform.dapi.v0
20384
- * @interface IGetVersionUpgradeStateResponse
20385
- * @property {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.IGetVersionUpgradeStateResponseV0|null} [v0] GetVersionUpgradeStateResponse v0
20384
+ * @interface IGetProtocolVersionUpgradeStateResponse
20385
+ * @property {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.IGetProtocolVersionUpgradeStateResponseV0|null} [v0] GetProtocolVersionUpgradeStateResponse v0
20386
20386
  */
20387
20387
 
20388
20388
  /**
20389
- * Constructs a new GetVersionUpgradeStateResponse.
20389
+ * Constructs a new GetProtocolVersionUpgradeStateResponse.
20390
20390
  * @memberof org.dash.platform.dapi.v0
20391
- * @classdesc Represents a GetVersionUpgradeStateResponse.
20392
- * @implements IGetVersionUpgradeStateResponse
20391
+ * @classdesc Represents a GetProtocolVersionUpgradeStateResponse.
20392
+ * @implements IGetProtocolVersionUpgradeStateResponse
20393
20393
  * @constructor
20394
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeStateResponse=} [properties] Properties to set
20394
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeStateResponse=} [properties] Properties to set
20395
20395
  */
20396
- function GetVersionUpgradeStateResponse(properties) {
20396
+ function GetProtocolVersionUpgradeStateResponse(properties) {
20397
20397
  if (properties)
20398
20398
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
20399
20399
  if (properties[keys[i]] != null)
@@ -20401,89 +20401,89 @@ $root.org = (function() {
20401
20401
  }
20402
20402
 
20403
20403
  /**
20404
- * GetVersionUpgradeStateResponse v0.
20405
- * @member {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.IGetVersionUpgradeStateResponseV0|null|undefined} v0
20406
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20404
+ * GetProtocolVersionUpgradeStateResponse v0.
20405
+ * @member {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.IGetProtocolVersionUpgradeStateResponseV0|null|undefined} v0
20406
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20407
20407
  * @instance
20408
20408
  */
20409
- GetVersionUpgradeStateResponse.prototype.v0 = null;
20409
+ GetProtocolVersionUpgradeStateResponse.prototype.v0 = null;
20410
20410
 
20411
20411
  // OneOf field names bound to virtual getters and setters
20412
20412
  var $oneOfFields;
20413
20413
 
20414
20414
  /**
20415
- * GetVersionUpgradeStateResponse version.
20415
+ * GetProtocolVersionUpgradeStateResponse version.
20416
20416
  * @member {"v0"|undefined} version
20417
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20417
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20418
20418
  * @instance
20419
20419
  */
20420
- Object.defineProperty(GetVersionUpgradeStateResponse.prototype, "version", {
20420
+ Object.defineProperty(GetProtocolVersionUpgradeStateResponse.prototype, "version", {
20421
20421
  get: $util.oneOfGetter($oneOfFields = ["v0"]),
20422
20422
  set: $util.oneOfSetter($oneOfFields)
20423
20423
  });
20424
20424
 
20425
20425
  /**
20426
- * Creates a new GetVersionUpgradeStateResponse instance using the specified properties.
20426
+ * Creates a new GetProtocolVersionUpgradeStateResponse instance using the specified properties.
20427
20427
  * @function create
20428
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20428
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20429
20429
  * @static
20430
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeStateResponse=} [properties] Properties to set
20431
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse} GetVersionUpgradeStateResponse instance
20430
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeStateResponse=} [properties] Properties to set
20431
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse} GetProtocolVersionUpgradeStateResponse instance
20432
20432
  */
20433
- GetVersionUpgradeStateResponse.create = function create(properties) {
20434
- return new GetVersionUpgradeStateResponse(properties);
20433
+ GetProtocolVersionUpgradeStateResponse.create = function create(properties) {
20434
+ return new GetProtocolVersionUpgradeStateResponse(properties);
20435
20435
  };
20436
20436
 
20437
20437
  /**
20438
- * Encodes the specified GetVersionUpgradeStateResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.verify|verify} messages.
20438
+ * Encodes the specified GetProtocolVersionUpgradeStateResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.verify|verify} messages.
20439
20439
  * @function encode
20440
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20440
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20441
20441
  * @static
20442
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeStateResponse} message GetVersionUpgradeStateResponse message or plain object to encode
20442
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeStateResponse} message GetProtocolVersionUpgradeStateResponse message or plain object to encode
20443
20443
  * @param {$protobuf.Writer} [writer] Writer to encode to
20444
20444
  * @returns {$protobuf.Writer} Writer
20445
20445
  */
20446
- GetVersionUpgradeStateResponse.encode = function encode(message, writer) {
20446
+ GetProtocolVersionUpgradeStateResponse.encode = function encode(message, writer) {
20447
20447
  if (!writer)
20448
20448
  writer = $Writer.create();
20449
20449
  if (message.v0 != null && Object.hasOwnProperty.call(message, "v0"))
20450
- $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
20450
+ $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
20451
20451
  return writer;
20452
20452
  };
20453
20453
 
20454
20454
  /**
20455
- * Encodes the specified GetVersionUpgradeStateResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.verify|verify} messages.
20455
+ * Encodes the specified GetProtocolVersionUpgradeStateResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.verify|verify} messages.
20456
20456
  * @function encodeDelimited
20457
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20457
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20458
20458
  * @static
20459
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeStateResponse} message GetVersionUpgradeStateResponse message or plain object to encode
20459
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeStateResponse} message GetProtocolVersionUpgradeStateResponse message or plain object to encode
20460
20460
  * @param {$protobuf.Writer} [writer] Writer to encode to
20461
20461
  * @returns {$protobuf.Writer} Writer
20462
20462
  */
20463
- GetVersionUpgradeStateResponse.encodeDelimited = function encodeDelimited(message, writer) {
20463
+ GetProtocolVersionUpgradeStateResponse.encodeDelimited = function encodeDelimited(message, writer) {
20464
20464
  return this.encode(message, writer).ldelim();
20465
20465
  };
20466
20466
 
20467
20467
  /**
20468
- * Decodes a GetVersionUpgradeStateResponse message from the specified reader or buffer.
20468
+ * Decodes a GetProtocolVersionUpgradeStateResponse message from the specified reader or buffer.
20469
20469
  * @function decode
20470
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20470
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20471
20471
  * @static
20472
20472
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20473
20473
  * @param {number} [length] Message length if known beforehand
20474
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse} GetVersionUpgradeStateResponse
20474
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse} GetProtocolVersionUpgradeStateResponse
20475
20475
  * @throws {Error} If the payload is not a reader or valid buffer
20476
20476
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20477
20477
  */
20478
- GetVersionUpgradeStateResponse.decode = function decode(reader, length) {
20478
+ GetProtocolVersionUpgradeStateResponse.decode = function decode(reader, length) {
20479
20479
  if (!(reader instanceof $Reader))
20480
20480
  reader = $Reader.create(reader);
20481
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse();
20481
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse();
20482
20482
  while (reader.pos < end) {
20483
20483
  var tag = reader.uint32();
20484
20484
  switch (tag >>> 3) {
20485
20485
  case 1:
20486
- message.v0 = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.decode(reader, reader.uint32());
20486
+ message.v0 = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.decode(reader, reader.uint32());
20487
20487
  break;
20488
20488
  default:
20489
20489
  reader.skipType(tag & 7);
@@ -20494,37 +20494,37 @@ $root.org = (function() {
20494
20494
  };
20495
20495
 
20496
20496
  /**
20497
- * Decodes a GetVersionUpgradeStateResponse message from the specified reader or buffer, length delimited.
20497
+ * Decodes a GetProtocolVersionUpgradeStateResponse message from the specified reader or buffer, length delimited.
20498
20498
  * @function decodeDelimited
20499
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20499
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20500
20500
  * @static
20501
20501
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20502
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse} GetVersionUpgradeStateResponse
20502
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse} GetProtocolVersionUpgradeStateResponse
20503
20503
  * @throws {Error} If the payload is not a reader or valid buffer
20504
20504
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20505
20505
  */
20506
- GetVersionUpgradeStateResponse.decodeDelimited = function decodeDelimited(reader) {
20506
+ GetProtocolVersionUpgradeStateResponse.decodeDelimited = function decodeDelimited(reader) {
20507
20507
  if (!(reader instanceof $Reader))
20508
20508
  reader = new $Reader(reader);
20509
20509
  return this.decode(reader, reader.uint32());
20510
20510
  };
20511
20511
 
20512
20512
  /**
20513
- * Verifies a GetVersionUpgradeStateResponse message.
20513
+ * Verifies a GetProtocolVersionUpgradeStateResponse message.
20514
20514
  * @function verify
20515
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20515
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20516
20516
  * @static
20517
20517
  * @param {Object.<string,*>} message Plain object to verify
20518
20518
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
20519
20519
  */
20520
- GetVersionUpgradeStateResponse.verify = function verify(message) {
20520
+ GetProtocolVersionUpgradeStateResponse.verify = function verify(message) {
20521
20521
  if (typeof message !== "object" || message === null)
20522
20522
  return "object expected";
20523
20523
  var properties = {};
20524
20524
  if (message.v0 != null && message.hasOwnProperty("v0")) {
20525
20525
  properties.version = 1;
20526
20526
  {
20527
- var error = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.verify(message.v0);
20527
+ var error = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.verify(message.v0);
20528
20528
  if (error)
20529
20529
  return "v0." + error;
20530
20530
  }
@@ -20533,40 +20533,40 @@ $root.org = (function() {
20533
20533
  };
20534
20534
 
20535
20535
  /**
20536
- * Creates a GetVersionUpgradeStateResponse message from a plain object. Also converts values to their respective internal types.
20536
+ * Creates a GetProtocolVersionUpgradeStateResponse message from a plain object. Also converts values to their respective internal types.
20537
20537
  * @function fromObject
20538
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20538
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20539
20539
  * @static
20540
20540
  * @param {Object.<string,*>} object Plain object
20541
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse} GetVersionUpgradeStateResponse
20541
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse} GetProtocolVersionUpgradeStateResponse
20542
20542
  */
20543
- GetVersionUpgradeStateResponse.fromObject = function fromObject(object) {
20544
- if (object instanceof $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse)
20543
+ GetProtocolVersionUpgradeStateResponse.fromObject = function fromObject(object) {
20544
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse)
20545
20545
  return object;
20546
- var message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse();
20546
+ var message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse();
20547
20547
  if (object.v0 != null) {
20548
20548
  if (typeof object.v0 !== "object")
20549
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.v0: object expected");
20550
- message.v0 = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.fromObject(object.v0);
20549
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.v0: object expected");
20550
+ message.v0 = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.fromObject(object.v0);
20551
20551
  }
20552
20552
  return message;
20553
20553
  };
20554
20554
 
20555
20555
  /**
20556
- * Creates a plain object from a GetVersionUpgradeStateResponse message. Also converts values to other types if specified.
20556
+ * Creates a plain object from a GetProtocolVersionUpgradeStateResponse message. Also converts values to other types if specified.
20557
20557
  * @function toObject
20558
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20558
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20559
20559
  * @static
20560
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse} message GetVersionUpgradeStateResponse
20560
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse} message GetProtocolVersionUpgradeStateResponse
20561
20561
  * @param {$protobuf.IConversionOptions} [options] Conversion options
20562
20562
  * @returns {Object.<string,*>} Plain object
20563
20563
  */
20564
- GetVersionUpgradeStateResponse.toObject = function toObject(message, options) {
20564
+ GetProtocolVersionUpgradeStateResponse.toObject = function toObject(message, options) {
20565
20565
  if (!options)
20566
20566
  options = {};
20567
20567
  var object = {};
20568
20568
  if (message.v0 != null && message.hasOwnProperty("v0")) {
20569
- object.v0 = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.toObject(message.v0, options);
20569
+ object.v0 = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.toObject(message.v0, options);
20570
20570
  if (options.oneofs)
20571
20571
  object.version = "v0";
20572
20572
  }
@@ -20574,36 +20574,36 @@ $root.org = (function() {
20574
20574
  };
20575
20575
 
20576
20576
  /**
20577
- * Converts this GetVersionUpgradeStateResponse to JSON.
20577
+ * Converts this GetProtocolVersionUpgradeStateResponse to JSON.
20578
20578
  * @function toJSON
20579
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20579
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20580
20580
  * @instance
20581
20581
  * @returns {Object.<string,*>} JSON object
20582
20582
  */
20583
- GetVersionUpgradeStateResponse.prototype.toJSON = function toJSON() {
20583
+ GetProtocolVersionUpgradeStateResponse.prototype.toJSON = function toJSON() {
20584
20584
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20585
20585
  };
20586
20586
 
20587
- GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0 = (function() {
20587
+ GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0 = (function() {
20588
20588
 
20589
20589
  /**
20590
- * Properties of a GetVersionUpgradeStateResponseV0.
20591
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20592
- * @interface IGetVersionUpgradeStateResponseV0
20593
- * @property {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.IVersions|null} [versions] GetVersionUpgradeStateResponseV0 versions
20594
- * @property {org.dash.platform.dapi.v0.IProof|null} [proof] GetVersionUpgradeStateResponseV0 proof
20595
- * @property {org.dash.platform.dapi.v0.IResponseMetadata|null} [metadata] GetVersionUpgradeStateResponseV0 metadata
20590
+ * Properties of a GetProtocolVersionUpgradeStateResponseV0.
20591
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20592
+ * @interface IGetProtocolVersionUpgradeStateResponseV0
20593
+ * @property {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.IVersions|null} [versions] GetProtocolVersionUpgradeStateResponseV0 versions
20594
+ * @property {org.dash.platform.dapi.v0.IProof|null} [proof] GetProtocolVersionUpgradeStateResponseV0 proof
20595
+ * @property {org.dash.platform.dapi.v0.IResponseMetadata|null} [metadata] GetProtocolVersionUpgradeStateResponseV0 metadata
20596
20596
  */
20597
20597
 
20598
20598
  /**
20599
- * Constructs a new GetVersionUpgradeStateResponseV0.
20600
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse
20601
- * @classdesc Represents a GetVersionUpgradeStateResponseV0.
20602
- * @implements IGetVersionUpgradeStateResponseV0
20599
+ * Constructs a new GetProtocolVersionUpgradeStateResponseV0.
20600
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse
20601
+ * @classdesc Represents a GetProtocolVersionUpgradeStateResponseV0.
20602
+ * @implements IGetProtocolVersionUpgradeStateResponseV0
20603
20603
  * @constructor
20604
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.IGetVersionUpgradeStateResponseV0=} [properties] Properties to set
20604
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.IGetProtocolVersionUpgradeStateResponseV0=} [properties] Properties to set
20605
20605
  */
20606
- function GetVersionUpgradeStateResponseV0(properties) {
20606
+ function GetProtocolVersionUpgradeStateResponseV0(properties) {
20607
20607
  if (properties)
20608
20608
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
20609
20609
  if (properties[keys[i]] != null)
@@ -20611,69 +20611,69 @@ $root.org = (function() {
20611
20611
  }
20612
20612
 
20613
20613
  /**
20614
- * GetVersionUpgradeStateResponseV0 versions.
20615
- * @member {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.IVersions|null|undefined} versions
20616
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20614
+ * GetProtocolVersionUpgradeStateResponseV0 versions.
20615
+ * @member {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.IVersions|null|undefined} versions
20616
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20617
20617
  * @instance
20618
20618
  */
20619
- GetVersionUpgradeStateResponseV0.prototype.versions = null;
20619
+ GetProtocolVersionUpgradeStateResponseV0.prototype.versions = null;
20620
20620
 
20621
20621
  /**
20622
- * GetVersionUpgradeStateResponseV0 proof.
20622
+ * GetProtocolVersionUpgradeStateResponseV0 proof.
20623
20623
  * @member {org.dash.platform.dapi.v0.IProof|null|undefined} proof
20624
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20624
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20625
20625
  * @instance
20626
20626
  */
20627
- GetVersionUpgradeStateResponseV0.prototype.proof = null;
20627
+ GetProtocolVersionUpgradeStateResponseV0.prototype.proof = null;
20628
20628
 
20629
20629
  /**
20630
- * GetVersionUpgradeStateResponseV0 metadata.
20630
+ * GetProtocolVersionUpgradeStateResponseV0 metadata.
20631
20631
  * @member {org.dash.platform.dapi.v0.IResponseMetadata|null|undefined} metadata
20632
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20632
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20633
20633
  * @instance
20634
20634
  */
20635
- GetVersionUpgradeStateResponseV0.prototype.metadata = null;
20635
+ GetProtocolVersionUpgradeStateResponseV0.prototype.metadata = null;
20636
20636
 
20637
20637
  // OneOf field names bound to virtual getters and setters
20638
20638
  var $oneOfFields;
20639
20639
 
20640
20640
  /**
20641
- * GetVersionUpgradeStateResponseV0 result.
20641
+ * GetProtocolVersionUpgradeStateResponseV0 result.
20642
20642
  * @member {"versions"|"proof"|undefined} result
20643
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20643
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20644
20644
  * @instance
20645
20645
  */
20646
- Object.defineProperty(GetVersionUpgradeStateResponseV0.prototype, "result", {
20646
+ Object.defineProperty(GetProtocolVersionUpgradeStateResponseV0.prototype, "result", {
20647
20647
  get: $util.oneOfGetter($oneOfFields = ["versions", "proof"]),
20648
20648
  set: $util.oneOfSetter($oneOfFields)
20649
20649
  });
20650
20650
 
20651
20651
  /**
20652
- * Creates a new GetVersionUpgradeStateResponseV0 instance using the specified properties.
20652
+ * Creates a new GetProtocolVersionUpgradeStateResponseV0 instance using the specified properties.
20653
20653
  * @function create
20654
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20654
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20655
20655
  * @static
20656
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.IGetVersionUpgradeStateResponseV0=} [properties] Properties to set
20657
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0} GetVersionUpgradeStateResponseV0 instance
20656
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.IGetProtocolVersionUpgradeStateResponseV0=} [properties] Properties to set
20657
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0} GetProtocolVersionUpgradeStateResponseV0 instance
20658
20658
  */
20659
- GetVersionUpgradeStateResponseV0.create = function create(properties) {
20660
- return new GetVersionUpgradeStateResponseV0(properties);
20659
+ GetProtocolVersionUpgradeStateResponseV0.create = function create(properties) {
20660
+ return new GetProtocolVersionUpgradeStateResponseV0(properties);
20661
20661
  };
20662
20662
 
20663
20663
  /**
20664
- * Encodes the specified GetVersionUpgradeStateResponseV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.verify|verify} messages.
20664
+ * Encodes the specified GetProtocolVersionUpgradeStateResponseV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.verify|verify} messages.
20665
20665
  * @function encode
20666
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20666
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20667
20667
  * @static
20668
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.IGetVersionUpgradeStateResponseV0} message GetVersionUpgradeStateResponseV0 message or plain object to encode
20668
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.IGetProtocolVersionUpgradeStateResponseV0} message GetProtocolVersionUpgradeStateResponseV0 message or plain object to encode
20669
20669
  * @param {$protobuf.Writer} [writer] Writer to encode to
20670
20670
  * @returns {$protobuf.Writer} Writer
20671
20671
  */
20672
- GetVersionUpgradeStateResponseV0.encode = function encode(message, writer) {
20672
+ GetProtocolVersionUpgradeStateResponseV0.encode = function encode(message, writer) {
20673
20673
  if (!writer)
20674
20674
  writer = $Writer.create();
20675
20675
  if (message.versions != null && Object.hasOwnProperty.call(message, "versions"))
20676
- $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions.encode(message.versions, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
20676
+ $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions.encode(message.versions, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
20677
20677
  if (message.proof != null && Object.hasOwnProperty.call(message, "proof"))
20678
20678
  $root.org.dash.platform.dapi.v0.Proof.encode(message.proof, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
20679
20679
  if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata"))
@@ -20682,38 +20682,38 @@ $root.org = (function() {
20682
20682
  };
20683
20683
 
20684
20684
  /**
20685
- * Encodes the specified GetVersionUpgradeStateResponseV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.verify|verify} messages.
20685
+ * Encodes the specified GetProtocolVersionUpgradeStateResponseV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.verify|verify} messages.
20686
20686
  * @function encodeDelimited
20687
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20687
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20688
20688
  * @static
20689
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.IGetVersionUpgradeStateResponseV0} message GetVersionUpgradeStateResponseV0 message or plain object to encode
20689
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.IGetProtocolVersionUpgradeStateResponseV0} message GetProtocolVersionUpgradeStateResponseV0 message or plain object to encode
20690
20690
  * @param {$protobuf.Writer} [writer] Writer to encode to
20691
20691
  * @returns {$protobuf.Writer} Writer
20692
20692
  */
20693
- GetVersionUpgradeStateResponseV0.encodeDelimited = function encodeDelimited(message, writer) {
20693
+ GetProtocolVersionUpgradeStateResponseV0.encodeDelimited = function encodeDelimited(message, writer) {
20694
20694
  return this.encode(message, writer).ldelim();
20695
20695
  };
20696
20696
 
20697
20697
  /**
20698
- * Decodes a GetVersionUpgradeStateResponseV0 message from the specified reader or buffer.
20698
+ * Decodes a GetProtocolVersionUpgradeStateResponseV0 message from the specified reader or buffer.
20699
20699
  * @function decode
20700
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20700
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20701
20701
  * @static
20702
20702
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20703
20703
  * @param {number} [length] Message length if known beforehand
20704
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0} GetVersionUpgradeStateResponseV0
20704
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0} GetProtocolVersionUpgradeStateResponseV0
20705
20705
  * @throws {Error} If the payload is not a reader or valid buffer
20706
20706
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20707
20707
  */
20708
- GetVersionUpgradeStateResponseV0.decode = function decode(reader, length) {
20708
+ GetProtocolVersionUpgradeStateResponseV0.decode = function decode(reader, length) {
20709
20709
  if (!(reader instanceof $Reader))
20710
20710
  reader = $Reader.create(reader);
20711
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0();
20711
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0();
20712
20712
  while (reader.pos < end) {
20713
20713
  var tag = reader.uint32();
20714
20714
  switch (tag >>> 3) {
20715
20715
  case 1:
20716
- message.versions = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions.decode(reader, reader.uint32());
20716
+ message.versions = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions.decode(reader, reader.uint32());
20717
20717
  break;
20718
20718
  case 2:
20719
20719
  message.proof = $root.org.dash.platform.dapi.v0.Proof.decode(reader, reader.uint32());
@@ -20730,37 +20730,37 @@ $root.org = (function() {
20730
20730
  };
20731
20731
 
20732
20732
  /**
20733
- * Decodes a GetVersionUpgradeStateResponseV0 message from the specified reader or buffer, length delimited.
20733
+ * Decodes a GetProtocolVersionUpgradeStateResponseV0 message from the specified reader or buffer, length delimited.
20734
20734
  * @function decodeDelimited
20735
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20735
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20736
20736
  * @static
20737
20737
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20738
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0} GetVersionUpgradeStateResponseV0
20738
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0} GetProtocolVersionUpgradeStateResponseV0
20739
20739
  * @throws {Error} If the payload is not a reader or valid buffer
20740
20740
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20741
20741
  */
20742
- GetVersionUpgradeStateResponseV0.decodeDelimited = function decodeDelimited(reader) {
20742
+ GetProtocolVersionUpgradeStateResponseV0.decodeDelimited = function decodeDelimited(reader) {
20743
20743
  if (!(reader instanceof $Reader))
20744
20744
  reader = new $Reader(reader);
20745
20745
  return this.decode(reader, reader.uint32());
20746
20746
  };
20747
20747
 
20748
20748
  /**
20749
- * Verifies a GetVersionUpgradeStateResponseV0 message.
20749
+ * Verifies a GetProtocolVersionUpgradeStateResponseV0 message.
20750
20750
  * @function verify
20751
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20751
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20752
20752
  * @static
20753
20753
  * @param {Object.<string,*>} message Plain object to verify
20754
20754
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
20755
20755
  */
20756
- GetVersionUpgradeStateResponseV0.verify = function verify(message) {
20756
+ GetProtocolVersionUpgradeStateResponseV0.verify = function verify(message) {
20757
20757
  if (typeof message !== "object" || message === null)
20758
20758
  return "object expected";
20759
20759
  var properties = {};
20760
20760
  if (message.versions != null && message.hasOwnProperty("versions")) {
20761
20761
  properties.result = 1;
20762
20762
  {
20763
- var error = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions.verify(message.versions);
20763
+ var error = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions.verify(message.versions);
20764
20764
  if (error)
20765
20765
  return "versions." + error;
20766
20766
  }
@@ -20784,52 +20784,52 @@ $root.org = (function() {
20784
20784
  };
20785
20785
 
20786
20786
  /**
20787
- * Creates a GetVersionUpgradeStateResponseV0 message from a plain object. Also converts values to their respective internal types.
20787
+ * Creates a GetProtocolVersionUpgradeStateResponseV0 message from a plain object. Also converts values to their respective internal types.
20788
20788
  * @function fromObject
20789
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20789
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20790
20790
  * @static
20791
20791
  * @param {Object.<string,*>} object Plain object
20792
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0} GetVersionUpgradeStateResponseV0
20792
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0} GetProtocolVersionUpgradeStateResponseV0
20793
20793
  */
20794
- GetVersionUpgradeStateResponseV0.fromObject = function fromObject(object) {
20795
- if (object instanceof $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0)
20794
+ GetProtocolVersionUpgradeStateResponseV0.fromObject = function fromObject(object) {
20795
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0)
20796
20796
  return object;
20797
- var message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0();
20797
+ var message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0();
20798
20798
  if (object.versions != null) {
20799
20799
  if (typeof object.versions !== "object")
20800
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.versions: object expected");
20801
- message.versions = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions.fromObject(object.versions);
20800
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.versions: object expected");
20801
+ message.versions = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions.fromObject(object.versions);
20802
20802
  }
20803
20803
  if (object.proof != null) {
20804
20804
  if (typeof object.proof !== "object")
20805
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.proof: object expected");
20805
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.proof: object expected");
20806
20806
  message.proof = $root.org.dash.platform.dapi.v0.Proof.fromObject(object.proof);
20807
20807
  }
20808
20808
  if (object.metadata != null) {
20809
20809
  if (typeof object.metadata !== "object")
20810
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.metadata: object expected");
20810
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.metadata: object expected");
20811
20811
  message.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.fromObject(object.metadata);
20812
20812
  }
20813
20813
  return message;
20814
20814
  };
20815
20815
 
20816
20816
  /**
20817
- * Creates a plain object from a GetVersionUpgradeStateResponseV0 message. Also converts values to other types if specified.
20817
+ * Creates a plain object from a GetProtocolVersionUpgradeStateResponseV0 message. Also converts values to other types if specified.
20818
20818
  * @function toObject
20819
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20819
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20820
20820
  * @static
20821
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0} message GetVersionUpgradeStateResponseV0
20821
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0} message GetProtocolVersionUpgradeStateResponseV0
20822
20822
  * @param {$protobuf.IConversionOptions} [options] Conversion options
20823
20823
  * @returns {Object.<string,*>} Plain object
20824
20824
  */
20825
- GetVersionUpgradeStateResponseV0.toObject = function toObject(message, options) {
20825
+ GetProtocolVersionUpgradeStateResponseV0.toObject = function toObject(message, options) {
20826
20826
  if (!options)
20827
20827
  options = {};
20828
20828
  var object = {};
20829
20829
  if (options.defaults)
20830
20830
  object.metadata = null;
20831
20831
  if (message.versions != null && message.hasOwnProperty("versions")) {
20832
- object.versions = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions.toObject(message.versions, options);
20832
+ object.versions = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions.toObject(message.versions, options);
20833
20833
  if (options.oneofs)
20834
20834
  object.result = "versions";
20835
20835
  }
@@ -20844,32 +20844,32 @@ $root.org = (function() {
20844
20844
  };
20845
20845
 
20846
20846
  /**
20847
- * Converts this GetVersionUpgradeStateResponseV0 to JSON.
20847
+ * Converts this GetProtocolVersionUpgradeStateResponseV0 to JSON.
20848
20848
  * @function toJSON
20849
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20849
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20850
20850
  * @instance
20851
20851
  * @returns {Object.<string,*>} JSON object
20852
20852
  */
20853
- GetVersionUpgradeStateResponseV0.prototype.toJSON = function toJSON() {
20853
+ GetProtocolVersionUpgradeStateResponseV0.prototype.toJSON = function toJSON() {
20854
20854
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
20855
20855
  };
20856
20856
 
20857
- GetVersionUpgradeStateResponseV0.Versions = (function() {
20857
+ GetProtocolVersionUpgradeStateResponseV0.Versions = (function() {
20858
20858
 
20859
20859
  /**
20860
20860
  * Properties of a Versions.
20861
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20861
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20862
20862
  * @interface IVersions
20863
- * @property {Array.<org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.IVersionEntry>|null} [versions] Versions versions
20863
+ * @property {Array.<org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.IVersionEntry>|null} [versions] Versions versions
20864
20864
  */
20865
20865
 
20866
20866
  /**
20867
20867
  * Constructs a new Versions.
20868
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
20868
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
20869
20869
  * @classdesc Represents a Versions.
20870
20870
  * @implements IVersions
20871
20871
  * @constructor
20872
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.IVersions=} [properties] Properties to set
20872
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.IVersions=} [properties] Properties to set
20873
20873
  */
20874
20874
  function Versions(properties) {
20875
20875
  this.versions = [];
@@ -20881,8 +20881,8 @@ $root.org = (function() {
20881
20881
 
20882
20882
  /**
20883
20883
  * Versions versions.
20884
- * @member {Array.<org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.IVersionEntry>} versions
20885
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions
20884
+ * @member {Array.<org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.IVersionEntry>} versions
20885
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions
20886
20886
  * @instance
20887
20887
  */
20888
20888
  Versions.prototype.versions = $util.emptyArray;
@@ -20890,21 +20890,21 @@ $root.org = (function() {
20890
20890
  /**
20891
20891
  * Creates a new Versions instance using the specified properties.
20892
20892
  * @function create
20893
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions
20893
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions
20894
20894
  * @static
20895
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.IVersions=} [properties] Properties to set
20896
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions} Versions instance
20895
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.IVersions=} [properties] Properties to set
20896
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions} Versions instance
20897
20897
  */
20898
20898
  Versions.create = function create(properties) {
20899
20899
  return new Versions(properties);
20900
20900
  };
20901
20901
 
20902
20902
  /**
20903
- * Encodes the specified Versions message. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions.verify|verify} messages.
20903
+ * Encodes the specified Versions message. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions.verify|verify} messages.
20904
20904
  * @function encode
20905
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions
20905
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions
20906
20906
  * @static
20907
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.IVersions} message Versions message or plain object to encode
20907
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.IVersions} message Versions message or plain object to encode
20908
20908
  * @param {$protobuf.Writer} [writer] Writer to encode to
20909
20909
  * @returns {$protobuf.Writer} Writer
20910
20910
  */
@@ -20913,16 +20913,16 @@ $root.org = (function() {
20913
20913
  writer = $Writer.create();
20914
20914
  if (message.versions != null && message.versions.length)
20915
20915
  for (var i = 0; i < message.versions.length; ++i)
20916
- $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry.encode(message.versions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
20916
+ $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry.encode(message.versions[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
20917
20917
  return writer;
20918
20918
  };
20919
20919
 
20920
20920
  /**
20921
- * Encodes the specified Versions message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions.verify|verify} messages.
20921
+ * Encodes the specified Versions message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions.verify|verify} messages.
20922
20922
  * @function encodeDelimited
20923
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions
20923
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions
20924
20924
  * @static
20925
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.IVersions} message Versions message or plain object to encode
20925
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.IVersions} message Versions message or plain object to encode
20926
20926
  * @param {$protobuf.Writer} [writer] Writer to encode to
20927
20927
  * @returns {$protobuf.Writer} Writer
20928
20928
  */
@@ -20933,25 +20933,25 @@ $root.org = (function() {
20933
20933
  /**
20934
20934
  * Decodes a Versions message from the specified reader or buffer.
20935
20935
  * @function decode
20936
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions
20936
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions
20937
20937
  * @static
20938
20938
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20939
20939
  * @param {number} [length] Message length if known beforehand
20940
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions} Versions
20940
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions} Versions
20941
20941
  * @throws {Error} If the payload is not a reader or valid buffer
20942
20942
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20943
20943
  */
20944
20944
  Versions.decode = function decode(reader, length) {
20945
20945
  if (!(reader instanceof $Reader))
20946
20946
  reader = $Reader.create(reader);
20947
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions();
20947
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions();
20948
20948
  while (reader.pos < end) {
20949
20949
  var tag = reader.uint32();
20950
20950
  switch (tag >>> 3) {
20951
20951
  case 1:
20952
20952
  if (!(message.versions && message.versions.length))
20953
20953
  message.versions = [];
20954
- message.versions.push($root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry.decode(reader, reader.uint32()));
20954
+ message.versions.push($root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry.decode(reader, reader.uint32()));
20955
20955
  break;
20956
20956
  default:
20957
20957
  reader.skipType(tag & 7);
@@ -20964,10 +20964,10 @@ $root.org = (function() {
20964
20964
  /**
20965
20965
  * Decodes a Versions message from the specified reader or buffer, length delimited.
20966
20966
  * @function decodeDelimited
20967
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions
20967
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions
20968
20968
  * @static
20969
20969
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20970
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions} Versions
20970
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions} Versions
20971
20971
  * @throws {Error} If the payload is not a reader or valid buffer
20972
20972
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20973
20973
  */
@@ -20980,7 +20980,7 @@ $root.org = (function() {
20980
20980
  /**
20981
20981
  * Verifies a Versions message.
20982
20982
  * @function verify
20983
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions
20983
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions
20984
20984
  * @static
20985
20985
  * @param {Object.<string,*>} message Plain object to verify
20986
20986
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
@@ -20992,7 +20992,7 @@ $root.org = (function() {
20992
20992
  if (!Array.isArray(message.versions))
20993
20993
  return "versions: array expected";
20994
20994
  for (var i = 0; i < message.versions.length; ++i) {
20995
- var error = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry.verify(message.versions[i]);
20995
+ var error = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry.verify(message.versions[i]);
20996
20996
  if (error)
20997
20997
  return "versions." + error;
20998
20998
  }
@@ -21003,23 +21003,23 @@ $root.org = (function() {
21003
21003
  /**
21004
21004
  * Creates a Versions message from a plain object. Also converts values to their respective internal types.
21005
21005
  * @function fromObject
21006
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions
21006
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions
21007
21007
  * @static
21008
21008
  * @param {Object.<string,*>} object Plain object
21009
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions} Versions
21009
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions} Versions
21010
21010
  */
21011
21011
  Versions.fromObject = function fromObject(object) {
21012
- if (object instanceof $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions)
21012
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions)
21013
21013
  return object;
21014
- var message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions();
21014
+ var message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions();
21015
21015
  if (object.versions) {
21016
21016
  if (!Array.isArray(object.versions))
21017
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions.versions: array expected");
21017
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions.versions: array expected");
21018
21018
  message.versions = [];
21019
21019
  for (var i = 0; i < object.versions.length; ++i) {
21020
21020
  if (typeof object.versions[i] !== "object")
21021
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions.versions: object expected");
21022
- message.versions[i] = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry.fromObject(object.versions[i]);
21021
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions.versions: object expected");
21022
+ message.versions[i] = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry.fromObject(object.versions[i]);
21023
21023
  }
21024
21024
  }
21025
21025
  return message;
@@ -21028,9 +21028,9 @@ $root.org = (function() {
21028
21028
  /**
21029
21029
  * Creates a plain object from a Versions message. Also converts values to other types if specified.
21030
21030
  * @function toObject
21031
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions
21031
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions
21032
21032
  * @static
21033
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions} message Versions
21033
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions} message Versions
21034
21034
  * @param {$protobuf.IConversionOptions} [options] Conversion options
21035
21035
  * @returns {Object.<string,*>} Plain object
21036
21036
  */
@@ -21043,7 +21043,7 @@ $root.org = (function() {
21043
21043
  if (message.versions && message.versions.length) {
21044
21044
  object.versions = [];
21045
21045
  for (var j = 0; j < message.versions.length; ++j)
21046
- object.versions[j] = $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry.toObject(message.versions[j], options);
21046
+ object.versions[j] = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry.toObject(message.versions[j], options);
21047
21047
  }
21048
21048
  return object;
21049
21049
  };
@@ -21051,7 +21051,7 @@ $root.org = (function() {
21051
21051
  /**
21052
21052
  * Converts this Versions to JSON.
21053
21053
  * @function toJSON
21054
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.Versions
21054
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions
21055
21055
  * @instance
21056
21056
  * @returns {Object.<string,*>} JSON object
21057
21057
  */
@@ -21062,11 +21062,11 @@ $root.org = (function() {
21062
21062
  return Versions;
21063
21063
  })();
21064
21064
 
21065
- GetVersionUpgradeStateResponseV0.VersionEntry = (function() {
21065
+ GetProtocolVersionUpgradeStateResponseV0.VersionEntry = (function() {
21066
21066
 
21067
21067
  /**
21068
21068
  * Properties of a VersionEntry.
21069
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
21069
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
21070
21070
  * @interface IVersionEntry
21071
21071
  * @property {number|null} [versionNumber] VersionEntry versionNumber
21072
21072
  * @property {number|null} [voteCount] VersionEntry voteCount
@@ -21074,11 +21074,11 @@ $root.org = (function() {
21074
21074
 
21075
21075
  /**
21076
21076
  * Constructs a new VersionEntry.
21077
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0
21077
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
21078
21078
  * @classdesc Represents a VersionEntry.
21079
21079
  * @implements IVersionEntry
21080
21080
  * @constructor
21081
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.IVersionEntry=} [properties] Properties to set
21081
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.IVersionEntry=} [properties] Properties to set
21082
21082
  */
21083
21083
  function VersionEntry(properties) {
21084
21084
  if (properties)
@@ -21090,7 +21090,7 @@ $root.org = (function() {
21090
21090
  /**
21091
21091
  * VersionEntry versionNumber.
21092
21092
  * @member {number} versionNumber
21093
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry
21093
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
21094
21094
  * @instance
21095
21095
  */
21096
21096
  VersionEntry.prototype.versionNumber = 0;
@@ -21098,7 +21098,7 @@ $root.org = (function() {
21098
21098
  /**
21099
21099
  * VersionEntry voteCount.
21100
21100
  * @member {number} voteCount
21101
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry
21101
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
21102
21102
  * @instance
21103
21103
  */
21104
21104
  VersionEntry.prototype.voteCount = 0;
@@ -21106,21 +21106,21 @@ $root.org = (function() {
21106
21106
  /**
21107
21107
  * Creates a new VersionEntry instance using the specified properties.
21108
21108
  * @function create
21109
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry
21109
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
21110
21110
  * @static
21111
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.IVersionEntry=} [properties] Properties to set
21112
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry} VersionEntry instance
21111
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.IVersionEntry=} [properties] Properties to set
21112
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry} VersionEntry instance
21113
21113
  */
21114
21114
  VersionEntry.create = function create(properties) {
21115
21115
  return new VersionEntry(properties);
21116
21116
  };
21117
21117
 
21118
21118
  /**
21119
- * Encodes the specified VersionEntry message. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry.verify|verify} messages.
21119
+ * Encodes the specified VersionEntry message. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry.verify|verify} messages.
21120
21120
  * @function encode
21121
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry
21121
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
21122
21122
  * @static
21123
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.IVersionEntry} message VersionEntry message or plain object to encode
21123
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.IVersionEntry} message VersionEntry message or plain object to encode
21124
21124
  * @param {$protobuf.Writer} [writer] Writer to encode to
21125
21125
  * @returns {$protobuf.Writer} Writer
21126
21126
  */
@@ -21135,11 +21135,11 @@ $root.org = (function() {
21135
21135
  };
21136
21136
 
21137
21137
  /**
21138
- * Encodes the specified VersionEntry message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry.verify|verify} messages.
21138
+ * Encodes the specified VersionEntry message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry.verify|verify} messages.
21139
21139
  * @function encodeDelimited
21140
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry
21140
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
21141
21141
  * @static
21142
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.IVersionEntry} message VersionEntry message or plain object to encode
21142
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.IVersionEntry} message VersionEntry message or plain object to encode
21143
21143
  * @param {$protobuf.Writer} [writer] Writer to encode to
21144
21144
  * @returns {$protobuf.Writer} Writer
21145
21145
  */
@@ -21150,18 +21150,18 @@ $root.org = (function() {
21150
21150
  /**
21151
21151
  * Decodes a VersionEntry message from the specified reader or buffer.
21152
21152
  * @function decode
21153
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry
21153
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
21154
21154
  * @static
21155
21155
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21156
21156
  * @param {number} [length] Message length if known beforehand
21157
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry} VersionEntry
21157
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry} VersionEntry
21158
21158
  * @throws {Error} If the payload is not a reader or valid buffer
21159
21159
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
21160
21160
  */
21161
21161
  VersionEntry.decode = function decode(reader, length) {
21162
21162
  if (!(reader instanceof $Reader))
21163
21163
  reader = $Reader.create(reader);
21164
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry();
21164
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry();
21165
21165
  while (reader.pos < end) {
21166
21166
  var tag = reader.uint32();
21167
21167
  switch (tag >>> 3) {
@@ -21182,10 +21182,10 @@ $root.org = (function() {
21182
21182
  /**
21183
21183
  * Decodes a VersionEntry message from the specified reader or buffer, length delimited.
21184
21184
  * @function decodeDelimited
21185
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry
21185
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
21186
21186
  * @static
21187
21187
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21188
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry} VersionEntry
21188
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry} VersionEntry
21189
21189
  * @throws {Error} If the payload is not a reader or valid buffer
21190
21190
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
21191
21191
  */
@@ -21198,7 +21198,7 @@ $root.org = (function() {
21198
21198
  /**
21199
21199
  * Verifies a VersionEntry message.
21200
21200
  * @function verify
21201
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry
21201
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
21202
21202
  * @static
21203
21203
  * @param {Object.<string,*>} message Plain object to verify
21204
21204
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
@@ -21218,15 +21218,15 @@ $root.org = (function() {
21218
21218
  /**
21219
21219
  * Creates a VersionEntry message from a plain object. Also converts values to their respective internal types.
21220
21220
  * @function fromObject
21221
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry
21221
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
21222
21222
  * @static
21223
21223
  * @param {Object.<string,*>} object Plain object
21224
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry} VersionEntry
21224
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry} VersionEntry
21225
21225
  */
21226
21226
  VersionEntry.fromObject = function fromObject(object) {
21227
- if (object instanceof $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry)
21227
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry)
21228
21228
  return object;
21229
- var message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry();
21229
+ var message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry();
21230
21230
  if (object.versionNumber != null)
21231
21231
  message.versionNumber = object.versionNumber >>> 0;
21232
21232
  if (object.voteCount != null)
@@ -21237,9 +21237,9 @@ $root.org = (function() {
21237
21237
  /**
21238
21238
  * Creates a plain object from a VersionEntry message. Also converts values to other types if specified.
21239
21239
  * @function toObject
21240
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry
21240
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
21241
21241
  * @static
21242
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry} message VersionEntry
21242
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry} message VersionEntry
21243
21243
  * @param {$protobuf.IConversionOptions} [options] Conversion options
21244
21244
  * @returns {Object.<string,*>} Plain object
21245
21245
  */
@@ -21261,7 +21261,7 @@ $root.org = (function() {
21261
21261
  /**
21262
21262
  * Converts this VersionEntry to JSON.
21263
21263
  * @function toJSON
21264
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeStateResponse.GetVersionUpgradeStateResponseV0.VersionEntry
21264
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
21265
21265
  * @instance
21266
21266
  * @returns {Object.<string,*>} JSON object
21267
21267
  */
@@ -21272,30 +21272,30 @@ $root.org = (function() {
21272
21272
  return VersionEntry;
21273
21273
  })();
21274
21274
 
21275
- return GetVersionUpgradeStateResponseV0;
21275
+ return GetProtocolVersionUpgradeStateResponseV0;
21276
21276
  })();
21277
21277
 
21278
- return GetVersionUpgradeStateResponse;
21278
+ return GetProtocolVersionUpgradeStateResponse;
21279
21279
  })();
21280
21280
 
21281
- v0.GetVersionUpgradeVoteStatusRequest = (function() {
21281
+ v0.GetProtocolVersionUpgradeVoteStatusRequest = (function() {
21282
21282
 
21283
21283
  /**
21284
- * Properties of a GetVersionUpgradeVoteStatusRequest.
21284
+ * Properties of a GetProtocolVersionUpgradeVoteStatusRequest.
21285
21285
  * @memberof org.dash.platform.dapi.v0
21286
- * @interface IGetVersionUpgradeVoteStatusRequest
21287
- * @property {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.IGetVersionUpgradeVoteStatusRequestV0|null} [v0] GetVersionUpgradeVoteStatusRequest v0
21286
+ * @interface IGetProtocolVersionUpgradeVoteStatusRequest
21287
+ * @property {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.IGetProtocolVersionUpgradeVoteStatusRequestV0|null} [v0] GetProtocolVersionUpgradeVoteStatusRequest v0
21288
21288
  */
21289
21289
 
21290
21290
  /**
21291
- * Constructs a new GetVersionUpgradeVoteStatusRequest.
21291
+ * Constructs a new GetProtocolVersionUpgradeVoteStatusRequest.
21292
21292
  * @memberof org.dash.platform.dapi.v0
21293
- * @classdesc Represents a GetVersionUpgradeVoteStatusRequest.
21294
- * @implements IGetVersionUpgradeVoteStatusRequest
21293
+ * @classdesc Represents a GetProtocolVersionUpgradeVoteStatusRequest.
21294
+ * @implements IGetProtocolVersionUpgradeVoteStatusRequest
21295
21295
  * @constructor
21296
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeVoteStatusRequest=} [properties] Properties to set
21296
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeVoteStatusRequest=} [properties] Properties to set
21297
21297
  */
21298
- function GetVersionUpgradeVoteStatusRequest(properties) {
21298
+ function GetProtocolVersionUpgradeVoteStatusRequest(properties) {
21299
21299
  if (properties)
21300
21300
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
21301
21301
  if (properties[keys[i]] != null)
@@ -21303,89 +21303,89 @@ $root.org = (function() {
21303
21303
  }
21304
21304
 
21305
21305
  /**
21306
- * GetVersionUpgradeVoteStatusRequest v0.
21307
- * @member {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.IGetVersionUpgradeVoteStatusRequestV0|null|undefined} v0
21308
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21306
+ * GetProtocolVersionUpgradeVoteStatusRequest v0.
21307
+ * @member {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.IGetProtocolVersionUpgradeVoteStatusRequestV0|null|undefined} v0
21308
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21309
21309
  * @instance
21310
21310
  */
21311
- GetVersionUpgradeVoteStatusRequest.prototype.v0 = null;
21311
+ GetProtocolVersionUpgradeVoteStatusRequest.prototype.v0 = null;
21312
21312
 
21313
21313
  // OneOf field names bound to virtual getters and setters
21314
21314
  var $oneOfFields;
21315
21315
 
21316
21316
  /**
21317
- * GetVersionUpgradeVoteStatusRequest version.
21317
+ * GetProtocolVersionUpgradeVoteStatusRequest version.
21318
21318
  * @member {"v0"|undefined} version
21319
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21319
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21320
21320
  * @instance
21321
21321
  */
21322
- Object.defineProperty(GetVersionUpgradeVoteStatusRequest.prototype, "version", {
21322
+ Object.defineProperty(GetProtocolVersionUpgradeVoteStatusRequest.prototype, "version", {
21323
21323
  get: $util.oneOfGetter($oneOfFields = ["v0"]),
21324
21324
  set: $util.oneOfSetter($oneOfFields)
21325
21325
  });
21326
21326
 
21327
21327
  /**
21328
- * Creates a new GetVersionUpgradeVoteStatusRequest instance using the specified properties.
21328
+ * Creates a new GetProtocolVersionUpgradeVoteStatusRequest instance using the specified properties.
21329
21329
  * @function create
21330
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21330
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21331
21331
  * @static
21332
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeVoteStatusRequest=} [properties] Properties to set
21333
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest} GetVersionUpgradeVoteStatusRequest instance
21332
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeVoteStatusRequest=} [properties] Properties to set
21333
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest} GetProtocolVersionUpgradeVoteStatusRequest instance
21334
21334
  */
21335
- GetVersionUpgradeVoteStatusRequest.create = function create(properties) {
21336
- return new GetVersionUpgradeVoteStatusRequest(properties);
21335
+ GetProtocolVersionUpgradeVoteStatusRequest.create = function create(properties) {
21336
+ return new GetProtocolVersionUpgradeVoteStatusRequest(properties);
21337
21337
  };
21338
21338
 
21339
21339
  /**
21340
- * Encodes the specified GetVersionUpgradeVoteStatusRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.verify|verify} messages.
21340
+ * Encodes the specified GetProtocolVersionUpgradeVoteStatusRequest message. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.verify|verify} messages.
21341
21341
  * @function encode
21342
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21342
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21343
21343
  * @static
21344
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeVoteStatusRequest} message GetVersionUpgradeVoteStatusRequest message or plain object to encode
21344
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeVoteStatusRequest} message GetProtocolVersionUpgradeVoteStatusRequest message or plain object to encode
21345
21345
  * @param {$protobuf.Writer} [writer] Writer to encode to
21346
21346
  * @returns {$protobuf.Writer} Writer
21347
21347
  */
21348
- GetVersionUpgradeVoteStatusRequest.encode = function encode(message, writer) {
21348
+ GetProtocolVersionUpgradeVoteStatusRequest.encode = function encode(message, writer) {
21349
21349
  if (!writer)
21350
21350
  writer = $Writer.create();
21351
21351
  if (message.v0 != null && Object.hasOwnProperty.call(message, "v0"))
21352
- $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
21352
+ $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
21353
21353
  return writer;
21354
21354
  };
21355
21355
 
21356
21356
  /**
21357
- * Encodes the specified GetVersionUpgradeVoteStatusRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.verify|verify} messages.
21357
+ * Encodes the specified GetProtocolVersionUpgradeVoteStatusRequest message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.verify|verify} messages.
21358
21358
  * @function encodeDelimited
21359
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21359
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21360
21360
  * @static
21361
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeVoteStatusRequest} message GetVersionUpgradeVoteStatusRequest message or plain object to encode
21361
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeVoteStatusRequest} message GetProtocolVersionUpgradeVoteStatusRequest message or plain object to encode
21362
21362
  * @param {$protobuf.Writer} [writer] Writer to encode to
21363
21363
  * @returns {$protobuf.Writer} Writer
21364
21364
  */
21365
- GetVersionUpgradeVoteStatusRequest.encodeDelimited = function encodeDelimited(message, writer) {
21365
+ GetProtocolVersionUpgradeVoteStatusRequest.encodeDelimited = function encodeDelimited(message, writer) {
21366
21366
  return this.encode(message, writer).ldelim();
21367
21367
  };
21368
21368
 
21369
21369
  /**
21370
- * Decodes a GetVersionUpgradeVoteStatusRequest message from the specified reader or buffer.
21370
+ * Decodes a GetProtocolVersionUpgradeVoteStatusRequest message from the specified reader or buffer.
21371
21371
  * @function decode
21372
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21372
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21373
21373
  * @static
21374
21374
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21375
21375
  * @param {number} [length] Message length if known beforehand
21376
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest} GetVersionUpgradeVoteStatusRequest
21376
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest} GetProtocolVersionUpgradeVoteStatusRequest
21377
21377
  * @throws {Error} If the payload is not a reader or valid buffer
21378
21378
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
21379
21379
  */
21380
- GetVersionUpgradeVoteStatusRequest.decode = function decode(reader, length) {
21380
+ GetProtocolVersionUpgradeVoteStatusRequest.decode = function decode(reader, length) {
21381
21381
  if (!(reader instanceof $Reader))
21382
21382
  reader = $Reader.create(reader);
21383
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest();
21383
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest();
21384
21384
  while (reader.pos < end) {
21385
21385
  var tag = reader.uint32();
21386
21386
  switch (tag >>> 3) {
21387
21387
  case 1:
21388
- message.v0 = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0.decode(reader, reader.uint32());
21388
+ message.v0 = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0.decode(reader, reader.uint32());
21389
21389
  break;
21390
21390
  default:
21391
21391
  reader.skipType(tag & 7);
@@ -21396,37 +21396,37 @@ $root.org = (function() {
21396
21396
  };
21397
21397
 
21398
21398
  /**
21399
- * Decodes a GetVersionUpgradeVoteStatusRequest message from the specified reader or buffer, length delimited.
21399
+ * Decodes a GetProtocolVersionUpgradeVoteStatusRequest message from the specified reader or buffer, length delimited.
21400
21400
  * @function decodeDelimited
21401
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21401
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21402
21402
  * @static
21403
21403
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21404
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest} GetVersionUpgradeVoteStatusRequest
21404
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest} GetProtocolVersionUpgradeVoteStatusRequest
21405
21405
  * @throws {Error} If the payload is not a reader or valid buffer
21406
21406
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
21407
21407
  */
21408
- GetVersionUpgradeVoteStatusRequest.decodeDelimited = function decodeDelimited(reader) {
21408
+ GetProtocolVersionUpgradeVoteStatusRequest.decodeDelimited = function decodeDelimited(reader) {
21409
21409
  if (!(reader instanceof $Reader))
21410
21410
  reader = new $Reader(reader);
21411
21411
  return this.decode(reader, reader.uint32());
21412
21412
  };
21413
21413
 
21414
21414
  /**
21415
- * Verifies a GetVersionUpgradeVoteStatusRequest message.
21415
+ * Verifies a GetProtocolVersionUpgradeVoteStatusRequest message.
21416
21416
  * @function verify
21417
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21417
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21418
21418
  * @static
21419
21419
  * @param {Object.<string,*>} message Plain object to verify
21420
21420
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
21421
21421
  */
21422
- GetVersionUpgradeVoteStatusRequest.verify = function verify(message) {
21422
+ GetProtocolVersionUpgradeVoteStatusRequest.verify = function verify(message) {
21423
21423
  if (typeof message !== "object" || message === null)
21424
21424
  return "object expected";
21425
21425
  var properties = {};
21426
21426
  if (message.v0 != null && message.hasOwnProperty("v0")) {
21427
21427
  properties.version = 1;
21428
21428
  {
21429
- var error = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0.verify(message.v0);
21429
+ var error = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0.verify(message.v0);
21430
21430
  if (error)
21431
21431
  return "v0." + error;
21432
21432
  }
@@ -21435,40 +21435,40 @@ $root.org = (function() {
21435
21435
  };
21436
21436
 
21437
21437
  /**
21438
- * Creates a GetVersionUpgradeVoteStatusRequest message from a plain object. Also converts values to their respective internal types.
21438
+ * Creates a GetProtocolVersionUpgradeVoteStatusRequest message from a plain object. Also converts values to their respective internal types.
21439
21439
  * @function fromObject
21440
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21440
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21441
21441
  * @static
21442
21442
  * @param {Object.<string,*>} object Plain object
21443
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest} GetVersionUpgradeVoteStatusRequest
21443
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest} GetProtocolVersionUpgradeVoteStatusRequest
21444
21444
  */
21445
- GetVersionUpgradeVoteStatusRequest.fromObject = function fromObject(object) {
21446
- if (object instanceof $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest)
21445
+ GetProtocolVersionUpgradeVoteStatusRequest.fromObject = function fromObject(object) {
21446
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest)
21447
21447
  return object;
21448
- var message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest();
21448
+ var message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest();
21449
21449
  if (object.v0 != null) {
21450
21450
  if (typeof object.v0 !== "object")
21451
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.v0: object expected");
21452
- message.v0 = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0.fromObject(object.v0);
21451
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.v0: object expected");
21452
+ message.v0 = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0.fromObject(object.v0);
21453
21453
  }
21454
21454
  return message;
21455
21455
  };
21456
21456
 
21457
21457
  /**
21458
- * Creates a plain object from a GetVersionUpgradeVoteStatusRequest message. Also converts values to other types if specified.
21458
+ * Creates a plain object from a GetProtocolVersionUpgradeVoteStatusRequest message. Also converts values to other types if specified.
21459
21459
  * @function toObject
21460
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21460
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21461
21461
  * @static
21462
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest} message GetVersionUpgradeVoteStatusRequest
21462
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest} message GetProtocolVersionUpgradeVoteStatusRequest
21463
21463
  * @param {$protobuf.IConversionOptions} [options] Conversion options
21464
21464
  * @returns {Object.<string,*>} Plain object
21465
21465
  */
21466
- GetVersionUpgradeVoteStatusRequest.toObject = function toObject(message, options) {
21466
+ GetProtocolVersionUpgradeVoteStatusRequest.toObject = function toObject(message, options) {
21467
21467
  if (!options)
21468
21468
  options = {};
21469
21469
  var object = {};
21470
21470
  if (message.v0 != null && message.hasOwnProperty("v0")) {
21471
- object.v0 = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0.toObject(message.v0, options);
21471
+ object.v0 = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0.toObject(message.v0, options);
21472
21472
  if (options.oneofs)
21473
21473
  object.version = "v0";
21474
21474
  }
@@ -21476,36 +21476,36 @@ $root.org = (function() {
21476
21476
  };
21477
21477
 
21478
21478
  /**
21479
- * Converts this GetVersionUpgradeVoteStatusRequest to JSON.
21479
+ * Converts this GetProtocolVersionUpgradeVoteStatusRequest to JSON.
21480
21480
  * @function toJSON
21481
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21481
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21482
21482
  * @instance
21483
21483
  * @returns {Object.<string,*>} JSON object
21484
21484
  */
21485
- GetVersionUpgradeVoteStatusRequest.prototype.toJSON = function toJSON() {
21485
+ GetProtocolVersionUpgradeVoteStatusRequest.prototype.toJSON = function toJSON() {
21486
21486
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
21487
21487
  };
21488
21488
 
21489
- GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0 = (function() {
21489
+ GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0 = (function() {
21490
21490
 
21491
21491
  /**
21492
- * Properties of a GetVersionUpgradeVoteStatusRequestV0.
21493
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21494
- * @interface IGetVersionUpgradeVoteStatusRequestV0
21495
- * @property {Uint8Array|null} [startProTxHash] GetVersionUpgradeVoteStatusRequestV0 startProTxHash
21496
- * @property {number|null} [count] GetVersionUpgradeVoteStatusRequestV0 count
21497
- * @property {boolean|null} [prove] GetVersionUpgradeVoteStatusRequestV0 prove
21492
+ * Properties of a GetProtocolVersionUpgradeVoteStatusRequestV0.
21493
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21494
+ * @interface IGetProtocolVersionUpgradeVoteStatusRequestV0
21495
+ * @property {Uint8Array|null} [startProTxHash] GetProtocolVersionUpgradeVoteStatusRequestV0 startProTxHash
21496
+ * @property {number|null} [count] GetProtocolVersionUpgradeVoteStatusRequestV0 count
21497
+ * @property {boolean|null} [prove] GetProtocolVersionUpgradeVoteStatusRequestV0 prove
21498
21498
  */
21499
21499
 
21500
21500
  /**
21501
- * Constructs a new GetVersionUpgradeVoteStatusRequestV0.
21502
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest
21503
- * @classdesc Represents a GetVersionUpgradeVoteStatusRequestV0.
21504
- * @implements IGetVersionUpgradeVoteStatusRequestV0
21501
+ * Constructs a new GetProtocolVersionUpgradeVoteStatusRequestV0.
21502
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest
21503
+ * @classdesc Represents a GetProtocolVersionUpgradeVoteStatusRequestV0.
21504
+ * @implements IGetProtocolVersionUpgradeVoteStatusRequestV0
21505
21505
  * @constructor
21506
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.IGetVersionUpgradeVoteStatusRequestV0=} [properties] Properties to set
21506
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.IGetProtocolVersionUpgradeVoteStatusRequestV0=} [properties] Properties to set
21507
21507
  */
21508
- function GetVersionUpgradeVoteStatusRequestV0(properties) {
21508
+ function GetProtocolVersionUpgradeVoteStatusRequestV0(properties) {
21509
21509
  if (properties)
21510
21510
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
21511
21511
  if (properties[keys[i]] != null)
@@ -21513,51 +21513,51 @@ $root.org = (function() {
21513
21513
  }
21514
21514
 
21515
21515
  /**
21516
- * GetVersionUpgradeVoteStatusRequestV0 startProTxHash.
21516
+ * GetProtocolVersionUpgradeVoteStatusRequestV0 startProTxHash.
21517
21517
  * @member {Uint8Array} startProTxHash
21518
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0
21518
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
21519
21519
  * @instance
21520
21520
  */
21521
- GetVersionUpgradeVoteStatusRequestV0.prototype.startProTxHash = $util.newBuffer([]);
21521
+ GetProtocolVersionUpgradeVoteStatusRequestV0.prototype.startProTxHash = $util.newBuffer([]);
21522
21522
 
21523
21523
  /**
21524
- * GetVersionUpgradeVoteStatusRequestV0 count.
21524
+ * GetProtocolVersionUpgradeVoteStatusRequestV0 count.
21525
21525
  * @member {number} count
21526
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0
21526
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
21527
21527
  * @instance
21528
21528
  */
21529
- GetVersionUpgradeVoteStatusRequestV0.prototype.count = 0;
21529
+ GetProtocolVersionUpgradeVoteStatusRequestV0.prototype.count = 0;
21530
21530
 
21531
21531
  /**
21532
- * GetVersionUpgradeVoteStatusRequestV0 prove.
21532
+ * GetProtocolVersionUpgradeVoteStatusRequestV0 prove.
21533
21533
  * @member {boolean} prove
21534
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0
21534
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
21535
21535
  * @instance
21536
21536
  */
21537
- GetVersionUpgradeVoteStatusRequestV0.prototype.prove = false;
21537
+ GetProtocolVersionUpgradeVoteStatusRequestV0.prototype.prove = false;
21538
21538
 
21539
21539
  /**
21540
- * Creates a new GetVersionUpgradeVoteStatusRequestV0 instance using the specified properties.
21540
+ * Creates a new GetProtocolVersionUpgradeVoteStatusRequestV0 instance using the specified properties.
21541
21541
  * @function create
21542
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0
21542
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
21543
21543
  * @static
21544
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.IGetVersionUpgradeVoteStatusRequestV0=} [properties] Properties to set
21545
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0} GetVersionUpgradeVoteStatusRequestV0 instance
21544
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.IGetProtocolVersionUpgradeVoteStatusRequestV0=} [properties] Properties to set
21545
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0} GetProtocolVersionUpgradeVoteStatusRequestV0 instance
21546
21546
  */
21547
- GetVersionUpgradeVoteStatusRequestV0.create = function create(properties) {
21548
- return new GetVersionUpgradeVoteStatusRequestV0(properties);
21547
+ GetProtocolVersionUpgradeVoteStatusRequestV0.create = function create(properties) {
21548
+ return new GetProtocolVersionUpgradeVoteStatusRequestV0(properties);
21549
21549
  };
21550
21550
 
21551
21551
  /**
21552
- * Encodes the specified GetVersionUpgradeVoteStatusRequestV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0.verify|verify} messages.
21552
+ * Encodes the specified GetProtocolVersionUpgradeVoteStatusRequestV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0.verify|verify} messages.
21553
21553
  * @function encode
21554
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0
21554
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
21555
21555
  * @static
21556
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.IGetVersionUpgradeVoteStatusRequestV0} message GetVersionUpgradeVoteStatusRequestV0 message or plain object to encode
21556
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.IGetProtocolVersionUpgradeVoteStatusRequestV0} message GetProtocolVersionUpgradeVoteStatusRequestV0 message or plain object to encode
21557
21557
  * @param {$protobuf.Writer} [writer] Writer to encode to
21558
21558
  * @returns {$protobuf.Writer} Writer
21559
21559
  */
21560
- GetVersionUpgradeVoteStatusRequestV0.encode = function encode(message, writer) {
21560
+ GetProtocolVersionUpgradeVoteStatusRequestV0.encode = function encode(message, writer) {
21561
21561
  if (!writer)
21562
21562
  writer = $Writer.create();
21563
21563
  if (message.startProTxHash != null && Object.hasOwnProperty.call(message, "startProTxHash"))
@@ -21570,33 +21570,33 @@ $root.org = (function() {
21570
21570
  };
21571
21571
 
21572
21572
  /**
21573
- * Encodes the specified GetVersionUpgradeVoteStatusRequestV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0.verify|verify} messages.
21573
+ * Encodes the specified GetProtocolVersionUpgradeVoteStatusRequestV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0.verify|verify} messages.
21574
21574
  * @function encodeDelimited
21575
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0
21575
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
21576
21576
  * @static
21577
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.IGetVersionUpgradeVoteStatusRequestV0} message GetVersionUpgradeVoteStatusRequestV0 message or plain object to encode
21577
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.IGetProtocolVersionUpgradeVoteStatusRequestV0} message GetProtocolVersionUpgradeVoteStatusRequestV0 message or plain object to encode
21578
21578
  * @param {$protobuf.Writer} [writer] Writer to encode to
21579
21579
  * @returns {$protobuf.Writer} Writer
21580
21580
  */
21581
- GetVersionUpgradeVoteStatusRequestV0.encodeDelimited = function encodeDelimited(message, writer) {
21581
+ GetProtocolVersionUpgradeVoteStatusRequestV0.encodeDelimited = function encodeDelimited(message, writer) {
21582
21582
  return this.encode(message, writer).ldelim();
21583
21583
  };
21584
21584
 
21585
21585
  /**
21586
- * Decodes a GetVersionUpgradeVoteStatusRequestV0 message from the specified reader or buffer.
21586
+ * Decodes a GetProtocolVersionUpgradeVoteStatusRequestV0 message from the specified reader or buffer.
21587
21587
  * @function decode
21588
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0
21588
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
21589
21589
  * @static
21590
21590
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21591
21591
  * @param {number} [length] Message length if known beforehand
21592
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0} GetVersionUpgradeVoteStatusRequestV0
21592
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0} GetProtocolVersionUpgradeVoteStatusRequestV0
21593
21593
  * @throws {Error} If the payload is not a reader or valid buffer
21594
21594
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
21595
21595
  */
21596
- GetVersionUpgradeVoteStatusRequestV0.decode = function decode(reader, length) {
21596
+ GetProtocolVersionUpgradeVoteStatusRequestV0.decode = function decode(reader, length) {
21597
21597
  if (!(reader instanceof $Reader))
21598
21598
  reader = $Reader.create(reader);
21599
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0();
21599
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0();
21600
21600
  while (reader.pos < end) {
21601
21601
  var tag = reader.uint32();
21602
21602
  switch (tag >>> 3) {
@@ -21618,30 +21618,30 @@ $root.org = (function() {
21618
21618
  };
21619
21619
 
21620
21620
  /**
21621
- * Decodes a GetVersionUpgradeVoteStatusRequestV0 message from the specified reader or buffer, length delimited.
21621
+ * Decodes a GetProtocolVersionUpgradeVoteStatusRequestV0 message from the specified reader or buffer, length delimited.
21622
21622
  * @function decodeDelimited
21623
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0
21623
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
21624
21624
  * @static
21625
21625
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21626
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0} GetVersionUpgradeVoteStatusRequestV0
21626
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0} GetProtocolVersionUpgradeVoteStatusRequestV0
21627
21627
  * @throws {Error} If the payload is not a reader or valid buffer
21628
21628
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
21629
21629
  */
21630
- GetVersionUpgradeVoteStatusRequestV0.decodeDelimited = function decodeDelimited(reader) {
21630
+ GetProtocolVersionUpgradeVoteStatusRequestV0.decodeDelimited = function decodeDelimited(reader) {
21631
21631
  if (!(reader instanceof $Reader))
21632
21632
  reader = new $Reader(reader);
21633
21633
  return this.decode(reader, reader.uint32());
21634
21634
  };
21635
21635
 
21636
21636
  /**
21637
- * Verifies a GetVersionUpgradeVoteStatusRequestV0 message.
21637
+ * Verifies a GetProtocolVersionUpgradeVoteStatusRequestV0 message.
21638
21638
  * @function verify
21639
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0
21639
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
21640
21640
  * @static
21641
21641
  * @param {Object.<string,*>} message Plain object to verify
21642
21642
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
21643
21643
  */
21644
- GetVersionUpgradeVoteStatusRequestV0.verify = function verify(message) {
21644
+ GetProtocolVersionUpgradeVoteStatusRequestV0.verify = function verify(message) {
21645
21645
  if (typeof message !== "object" || message === null)
21646
21646
  return "object expected";
21647
21647
  if (message.startProTxHash != null && message.hasOwnProperty("startProTxHash"))
@@ -21657,17 +21657,17 @@ $root.org = (function() {
21657
21657
  };
21658
21658
 
21659
21659
  /**
21660
- * Creates a GetVersionUpgradeVoteStatusRequestV0 message from a plain object. Also converts values to their respective internal types.
21660
+ * Creates a GetProtocolVersionUpgradeVoteStatusRequestV0 message from a plain object. Also converts values to their respective internal types.
21661
21661
  * @function fromObject
21662
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0
21662
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
21663
21663
  * @static
21664
21664
  * @param {Object.<string,*>} object Plain object
21665
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0} GetVersionUpgradeVoteStatusRequestV0
21665
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0} GetProtocolVersionUpgradeVoteStatusRequestV0
21666
21666
  */
21667
- GetVersionUpgradeVoteStatusRequestV0.fromObject = function fromObject(object) {
21668
- if (object instanceof $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0)
21667
+ GetProtocolVersionUpgradeVoteStatusRequestV0.fromObject = function fromObject(object) {
21668
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0)
21669
21669
  return object;
21670
- var message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0();
21670
+ var message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0();
21671
21671
  if (object.startProTxHash != null)
21672
21672
  if (typeof object.startProTxHash === "string")
21673
21673
  $util.base64.decode(object.startProTxHash, message.startProTxHash = $util.newBuffer($util.base64.length(object.startProTxHash)), 0);
@@ -21681,15 +21681,15 @@ $root.org = (function() {
21681
21681
  };
21682
21682
 
21683
21683
  /**
21684
- * Creates a plain object from a GetVersionUpgradeVoteStatusRequestV0 message. Also converts values to other types if specified.
21684
+ * Creates a plain object from a GetProtocolVersionUpgradeVoteStatusRequestV0 message. Also converts values to other types if specified.
21685
21685
  * @function toObject
21686
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0
21686
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
21687
21687
  * @static
21688
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0} message GetVersionUpgradeVoteStatusRequestV0
21688
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0} message GetProtocolVersionUpgradeVoteStatusRequestV0
21689
21689
  * @param {$protobuf.IConversionOptions} [options] Conversion options
21690
21690
  * @returns {Object.<string,*>} Plain object
21691
21691
  */
21692
- GetVersionUpgradeVoteStatusRequestV0.toObject = function toObject(message, options) {
21692
+ GetProtocolVersionUpgradeVoteStatusRequestV0.toObject = function toObject(message, options) {
21693
21693
  if (!options)
21694
21694
  options = {};
21695
21695
  var object = {};
@@ -21714,40 +21714,40 @@ $root.org = (function() {
21714
21714
  };
21715
21715
 
21716
21716
  /**
21717
- * Converts this GetVersionUpgradeVoteStatusRequestV0 to JSON.
21717
+ * Converts this GetProtocolVersionUpgradeVoteStatusRequestV0 to JSON.
21718
21718
  * @function toJSON
21719
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusRequest.GetVersionUpgradeVoteStatusRequestV0
21719
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
21720
21720
  * @instance
21721
21721
  * @returns {Object.<string,*>} JSON object
21722
21722
  */
21723
- GetVersionUpgradeVoteStatusRequestV0.prototype.toJSON = function toJSON() {
21723
+ GetProtocolVersionUpgradeVoteStatusRequestV0.prototype.toJSON = function toJSON() {
21724
21724
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
21725
21725
  };
21726
21726
 
21727
- return GetVersionUpgradeVoteStatusRequestV0;
21727
+ return GetProtocolVersionUpgradeVoteStatusRequestV0;
21728
21728
  })();
21729
21729
 
21730
- return GetVersionUpgradeVoteStatusRequest;
21730
+ return GetProtocolVersionUpgradeVoteStatusRequest;
21731
21731
  })();
21732
21732
 
21733
- v0.GetVersionUpgradeVoteStatusResponse = (function() {
21733
+ v0.GetProtocolVersionUpgradeVoteStatusResponse = (function() {
21734
21734
 
21735
21735
  /**
21736
- * Properties of a GetVersionUpgradeVoteStatusResponse.
21736
+ * Properties of a GetProtocolVersionUpgradeVoteStatusResponse.
21737
21737
  * @memberof org.dash.platform.dapi.v0
21738
- * @interface IGetVersionUpgradeVoteStatusResponse
21739
- * @property {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.IGetVersionUpgradeVoteStatusResponseV0|null} [v0] GetVersionUpgradeVoteStatusResponse v0
21738
+ * @interface IGetProtocolVersionUpgradeVoteStatusResponse
21739
+ * @property {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.IGetProtocolVersionUpgradeVoteStatusResponseV0|null} [v0] GetProtocolVersionUpgradeVoteStatusResponse v0
21740
21740
  */
21741
21741
 
21742
21742
  /**
21743
- * Constructs a new GetVersionUpgradeVoteStatusResponse.
21743
+ * Constructs a new GetProtocolVersionUpgradeVoteStatusResponse.
21744
21744
  * @memberof org.dash.platform.dapi.v0
21745
- * @classdesc Represents a GetVersionUpgradeVoteStatusResponse.
21746
- * @implements IGetVersionUpgradeVoteStatusResponse
21745
+ * @classdesc Represents a GetProtocolVersionUpgradeVoteStatusResponse.
21746
+ * @implements IGetProtocolVersionUpgradeVoteStatusResponse
21747
21747
  * @constructor
21748
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeVoteStatusResponse=} [properties] Properties to set
21748
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeVoteStatusResponse=} [properties] Properties to set
21749
21749
  */
21750
- function GetVersionUpgradeVoteStatusResponse(properties) {
21750
+ function GetProtocolVersionUpgradeVoteStatusResponse(properties) {
21751
21751
  if (properties)
21752
21752
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
21753
21753
  if (properties[keys[i]] != null)
@@ -21755,89 +21755,89 @@ $root.org = (function() {
21755
21755
  }
21756
21756
 
21757
21757
  /**
21758
- * GetVersionUpgradeVoteStatusResponse v0.
21759
- * @member {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.IGetVersionUpgradeVoteStatusResponseV0|null|undefined} v0
21760
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21758
+ * GetProtocolVersionUpgradeVoteStatusResponse v0.
21759
+ * @member {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.IGetProtocolVersionUpgradeVoteStatusResponseV0|null|undefined} v0
21760
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21761
21761
  * @instance
21762
21762
  */
21763
- GetVersionUpgradeVoteStatusResponse.prototype.v0 = null;
21763
+ GetProtocolVersionUpgradeVoteStatusResponse.prototype.v0 = null;
21764
21764
 
21765
21765
  // OneOf field names bound to virtual getters and setters
21766
21766
  var $oneOfFields;
21767
21767
 
21768
21768
  /**
21769
- * GetVersionUpgradeVoteStatusResponse version.
21769
+ * GetProtocolVersionUpgradeVoteStatusResponse version.
21770
21770
  * @member {"v0"|undefined} version
21771
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21771
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21772
21772
  * @instance
21773
21773
  */
21774
- Object.defineProperty(GetVersionUpgradeVoteStatusResponse.prototype, "version", {
21774
+ Object.defineProperty(GetProtocolVersionUpgradeVoteStatusResponse.prototype, "version", {
21775
21775
  get: $util.oneOfGetter($oneOfFields = ["v0"]),
21776
21776
  set: $util.oneOfSetter($oneOfFields)
21777
21777
  });
21778
21778
 
21779
21779
  /**
21780
- * Creates a new GetVersionUpgradeVoteStatusResponse instance using the specified properties.
21780
+ * Creates a new GetProtocolVersionUpgradeVoteStatusResponse instance using the specified properties.
21781
21781
  * @function create
21782
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21782
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21783
21783
  * @static
21784
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeVoteStatusResponse=} [properties] Properties to set
21785
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse} GetVersionUpgradeVoteStatusResponse instance
21784
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeVoteStatusResponse=} [properties] Properties to set
21785
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse} GetProtocolVersionUpgradeVoteStatusResponse instance
21786
21786
  */
21787
- GetVersionUpgradeVoteStatusResponse.create = function create(properties) {
21788
- return new GetVersionUpgradeVoteStatusResponse(properties);
21787
+ GetProtocolVersionUpgradeVoteStatusResponse.create = function create(properties) {
21788
+ return new GetProtocolVersionUpgradeVoteStatusResponse(properties);
21789
21789
  };
21790
21790
 
21791
21791
  /**
21792
- * Encodes the specified GetVersionUpgradeVoteStatusResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.verify|verify} messages.
21792
+ * Encodes the specified GetProtocolVersionUpgradeVoteStatusResponse message. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.verify|verify} messages.
21793
21793
  * @function encode
21794
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21794
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21795
21795
  * @static
21796
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeVoteStatusResponse} message GetVersionUpgradeVoteStatusResponse message or plain object to encode
21796
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeVoteStatusResponse} message GetProtocolVersionUpgradeVoteStatusResponse message or plain object to encode
21797
21797
  * @param {$protobuf.Writer} [writer] Writer to encode to
21798
21798
  * @returns {$protobuf.Writer} Writer
21799
21799
  */
21800
- GetVersionUpgradeVoteStatusResponse.encode = function encode(message, writer) {
21800
+ GetProtocolVersionUpgradeVoteStatusResponse.encode = function encode(message, writer) {
21801
21801
  if (!writer)
21802
21802
  writer = $Writer.create();
21803
21803
  if (message.v0 != null && Object.hasOwnProperty.call(message, "v0"))
21804
- $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
21804
+ $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.encode(message.v0, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
21805
21805
  return writer;
21806
21806
  };
21807
21807
 
21808
21808
  /**
21809
- * Encodes the specified GetVersionUpgradeVoteStatusResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.verify|verify} messages.
21809
+ * Encodes the specified GetProtocolVersionUpgradeVoteStatusResponse message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.verify|verify} messages.
21810
21810
  * @function encodeDelimited
21811
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21811
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21812
21812
  * @static
21813
- * @param {org.dash.platform.dapi.v0.IGetVersionUpgradeVoteStatusResponse} message GetVersionUpgradeVoteStatusResponse message or plain object to encode
21813
+ * @param {org.dash.platform.dapi.v0.IGetProtocolVersionUpgradeVoteStatusResponse} message GetProtocolVersionUpgradeVoteStatusResponse message or plain object to encode
21814
21814
  * @param {$protobuf.Writer} [writer] Writer to encode to
21815
21815
  * @returns {$protobuf.Writer} Writer
21816
21816
  */
21817
- GetVersionUpgradeVoteStatusResponse.encodeDelimited = function encodeDelimited(message, writer) {
21817
+ GetProtocolVersionUpgradeVoteStatusResponse.encodeDelimited = function encodeDelimited(message, writer) {
21818
21818
  return this.encode(message, writer).ldelim();
21819
21819
  };
21820
21820
 
21821
21821
  /**
21822
- * Decodes a GetVersionUpgradeVoteStatusResponse message from the specified reader or buffer.
21822
+ * Decodes a GetProtocolVersionUpgradeVoteStatusResponse message from the specified reader or buffer.
21823
21823
  * @function decode
21824
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21824
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21825
21825
  * @static
21826
21826
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21827
21827
  * @param {number} [length] Message length if known beforehand
21828
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse} GetVersionUpgradeVoteStatusResponse
21828
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse} GetProtocolVersionUpgradeVoteStatusResponse
21829
21829
  * @throws {Error} If the payload is not a reader or valid buffer
21830
21830
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
21831
21831
  */
21832
- GetVersionUpgradeVoteStatusResponse.decode = function decode(reader, length) {
21832
+ GetProtocolVersionUpgradeVoteStatusResponse.decode = function decode(reader, length) {
21833
21833
  if (!(reader instanceof $Reader))
21834
21834
  reader = $Reader.create(reader);
21835
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse();
21835
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse();
21836
21836
  while (reader.pos < end) {
21837
21837
  var tag = reader.uint32();
21838
21838
  switch (tag >>> 3) {
21839
21839
  case 1:
21840
- message.v0 = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.decode(reader, reader.uint32());
21840
+ message.v0 = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.decode(reader, reader.uint32());
21841
21841
  break;
21842
21842
  default:
21843
21843
  reader.skipType(tag & 7);
@@ -21848,37 +21848,37 @@ $root.org = (function() {
21848
21848
  };
21849
21849
 
21850
21850
  /**
21851
- * Decodes a GetVersionUpgradeVoteStatusResponse message from the specified reader or buffer, length delimited.
21851
+ * Decodes a GetProtocolVersionUpgradeVoteStatusResponse message from the specified reader or buffer, length delimited.
21852
21852
  * @function decodeDelimited
21853
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21853
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21854
21854
  * @static
21855
21855
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21856
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse} GetVersionUpgradeVoteStatusResponse
21856
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse} GetProtocolVersionUpgradeVoteStatusResponse
21857
21857
  * @throws {Error} If the payload is not a reader or valid buffer
21858
21858
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
21859
21859
  */
21860
- GetVersionUpgradeVoteStatusResponse.decodeDelimited = function decodeDelimited(reader) {
21860
+ GetProtocolVersionUpgradeVoteStatusResponse.decodeDelimited = function decodeDelimited(reader) {
21861
21861
  if (!(reader instanceof $Reader))
21862
21862
  reader = new $Reader(reader);
21863
21863
  return this.decode(reader, reader.uint32());
21864
21864
  };
21865
21865
 
21866
21866
  /**
21867
- * Verifies a GetVersionUpgradeVoteStatusResponse message.
21867
+ * Verifies a GetProtocolVersionUpgradeVoteStatusResponse message.
21868
21868
  * @function verify
21869
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21869
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21870
21870
  * @static
21871
21871
  * @param {Object.<string,*>} message Plain object to verify
21872
21872
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
21873
21873
  */
21874
- GetVersionUpgradeVoteStatusResponse.verify = function verify(message) {
21874
+ GetProtocolVersionUpgradeVoteStatusResponse.verify = function verify(message) {
21875
21875
  if (typeof message !== "object" || message === null)
21876
21876
  return "object expected";
21877
21877
  var properties = {};
21878
21878
  if (message.v0 != null && message.hasOwnProperty("v0")) {
21879
21879
  properties.version = 1;
21880
21880
  {
21881
- var error = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.verify(message.v0);
21881
+ var error = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.verify(message.v0);
21882
21882
  if (error)
21883
21883
  return "v0." + error;
21884
21884
  }
@@ -21887,40 +21887,40 @@ $root.org = (function() {
21887
21887
  };
21888
21888
 
21889
21889
  /**
21890
- * Creates a GetVersionUpgradeVoteStatusResponse message from a plain object. Also converts values to their respective internal types.
21890
+ * Creates a GetProtocolVersionUpgradeVoteStatusResponse message from a plain object. Also converts values to their respective internal types.
21891
21891
  * @function fromObject
21892
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21892
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21893
21893
  * @static
21894
21894
  * @param {Object.<string,*>} object Plain object
21895
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse} GetVersionUpgradeVoteStatusResponse
21895
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse} GetProtocolVersionUpgradeVoteStatusResponse
21896
21896
  */
21897
- GetVersionUpgradeVoteStatusResponse.fromObject = function fromObject(object) {
21898
- if (object instanceof $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse)
21897
+ GetProtocolVersionUpgradeVoteStatusResponse.fromObject = function fromObject(object) {
21898
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse)
21899
21899
  return object;
21900
- var message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse();
21900
+ var message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse();
21901
21901
  if (object.v0 != null) {
21902
21902
  if (typeof object.v0 !== "object")
21903
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.v0: object expected");
21904
- message.v0 = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.fromObject(object.v0);
21903
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.v0: object expected");
21904
+ message.v0 = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.fromObject(object.v0);
21905
21905
  }
21906
21906
  return message;
21907
21907
  };
21908
21908
 
21909
21909
  /**
21910
- * Creates a plain object from a GetVersionUpgradeVoteStatusResponse message. Also converts values to other types if specified.
21910
+ * Creates a plain object from a GetProtocolVersionUpgradeVoteStatusResponse message. Also converts values to other types if specified.
21911
21911
  * @function toObject
21912
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21912
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21913
21913
  * @static
21914
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse} message GetVersionUpgradeVoteStatusResponse
21914
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse} message GetProtocolVersionUpgradeVoteStatusResponse
21915
21915
  * @param {$protobuf.IConversionOptions} [options] Conversion options
21916
21916
  * @returns {Object.<string,*>} Plain object
21917
21917
  */
21918
- GetVersionUpgradeVoteStatusResponse.toObject = function toObject(message, options) {
21918
+ GetProtocolVersionUpgradeVoteStatusResponse.toObject = function toObject(message, options) {
21919
21919
  if (!options)
21920
21920
  options = {};
21921
21921
  var object = {};
21922
21922
  if (message.v0 != null && message.hasOwnProperty("v0")) {
21923
- object.v0 = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.toObject(message.v0, options);
21923
+ object.v0 = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.toObject(message.v0, options);
21924
21924
  if (options.oneofs)
21925
21925
  object.version = "v0";
21926
21926
  }
@@ -21928,36 +21928,36 @@ $root.org = (function() {
21928
21928
  };
21929
21929
 
21930
21930
  /**
21931
- * Converts this GetVersionUpgradeVoteStatusResponse to JSON.
21931
+ * Converts this GetProtocolVersionUpgradeVoteStatusResponse to JSON.
21932
21932
  * @function toJSON
21933
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21933
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21934
21934
  * @instance
21935
21935
  * @returns {Object.<string,*>} JSON object
21936
21936
  */
21937
- GetVersionUpgradeVoteStatusResponse.prototype.toJSON = function toJSON() {
21937
+ GetProtocolVersionUpgradeVoteStatusResponse.prototype.toJSON = function toJSON() {
21938
21938
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
21939
21939
  };
21940
21940
 
21941
- GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0 = (function() {
21941
+ GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0 = (function() {
21942
21942
 
21943
21943
  /**
21944
- * Properties of a GetVersionUpgradeVoteStatusResponseV0.
21945
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21946
- * @interface IGetVersionUpgradeVoteStatusResponseV0
21947
- * @property {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.IVersionSignals|null} [versions] GetVersionUpgradeVoteStatusResponseV0 versions
21948
- * @property {org.dash.platform.dapi.v0.IProof|null} [proof] GetVersionUpgradeVoteStatusResponseV0 proof
21949
- * @property {org.dash.platform.dapi.v0.IResponseMetadata|null} [metadata] GetVersionUpgradeVoteStatusResponseV0 metadata
21944
+ * Properties of a GetProtocolVersionUpgradeVoteStatusResponseV0.
21945
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21946
+ * @interface IGetProtocolVersionUpgradeVoteStatusResponseV0
21947
+ * @property {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.IVersionSignals|null} [versions] GetProtocolVersionUpgradeVoteStatusResponseV0 versions
21948
+ * @property {org.dash.platform.dapi.v0.IProof|null} [proof] GetProtocolVersionUpgradeVoteStatusResponseV0 proof
21949
+ * @property {org.dash.platform.dapi.v0.IResponseMetadata|null} [metadata] GetProtocolVersionUpgradeVoteStatusResponseV0 metadata
21950
21950
  */
21951
21951
 
21952
21952
  /**
21953
- * Constructs a new GetVersionUpgradeVoteStatusResponseV0.
21954
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse
21955
- * @classdesc Represents a GetVersionUpgradeVoteStatusResponseV0.
21956
- * @implements IGetVersionUpgradeVoteStatusResponseV0
21953
+ * Constructs a new GetProtocolVersionUpgradeVoteStatusResponseV0.
21954
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse
21955
+ * @classdesc Represents a GetProtocolVersionUpgradeVoteStatusResponseV0.
21956
+ * @implements IGetProtocolVersionUpgradeVoteStatusResponseV0
21957
21957
  * @constructor
21958
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.IGetVersionUpgradeVoteStatusResponseV0=} [properties] Properties to set
21958
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.IGetProtocolVersionUpgradeVoteStatusResponseV0=} [properties] Properties to set
21959
21959
  */
21960
- function GetVersionUpgradeVoteStatusResponseV0(properties) {
21960
+ function GetProtocolVersionUpgradeVoteStatusResponseV0(properties) {
21961
21961
  if (properties)
21962
21962
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
21963
21963
  if (properties[keys[i]] != null)
@@ -21965,69 +21965,69 @@ $root.org = (function() {
21965
21965
  }
21966
21966
 
21967
21967
  /**
21968
- * GetVersionUpgradeVoteStatusResponseV0 versions.
21969
- * @member {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.IVersionSignals|null|undefined} versions
21970
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
21968
+ * GetProtocolVersionUpgradeVoteStatusResponseV0 versions.
21969
+ * @member {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.IVersionSignals|null|undefined} versions
21970
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
21971
21971
  * @instance
21972
21972
  */
21973
- GetVersionUpgradeVoteStatusResponseV0.prototype.versions = null;
21973
+ GetProtocolVersionUpgradeVoteStatusResponseV0.prototype.versions = null;
21974
21974
 
21975
21975
  /**
21976
- * GetVersionUpgradeVoteStatusResponseV0 proof.
21976
+ * GetProtocolVersionUpgradeVoteStatusResponseV0 proof.
21977
21977
  * @member {org.dash.platform.dapi.v0.IProof|null|undefined} proof
21978
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
21978
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
21979
21979
  * @instance
21980
21980
  */
21981
- GetVersionUpgradeVoteStatusResponseV0.prototype.proof = null;
21981
+ GetProtocolVersionUpgradeVoteStatusResponseV0.prototype.proof = null;
21982
21982
 
21983
21983
  /**
21984
- * GetVersionUpgradeVoteStatusResponseV0 metadata.
21984
+ * GetProtocolVersionUpgradeVoteStatusResponseV0 metadata.
21985
21985
  * @member {org.dash.platform.dapi.v0.IResponseMetadata|null|undefined} metadata
21986
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
21986
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
21987
21987
  * @instance
21988
21988
  */
21989
- GetVersionUpgradeVoteStatusResponseV0.prototype.metadata = null;
21989
+ GetProtocolVersionUpgradeVoteStatusResponseV0.prototype.metadata = null;
21990
21990
 
21991
21991
  // OneOf field names bound to virtual getters and setters
21992
21992
  var $oneOfFields;
21993
21993
 
21994
21994
  /**
21995
- * GetVersionUpgradeVoteStatusResponseV0 result.
21995
+ * GetProtocolVersionUpgradeVoteStatusResponseV0 result.
21996
21996
  * @member {"versions"|"proof"|undefined} result
21997
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
21997
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
21998
21998
  * @instance
21999
21999
  */
22000
- Object.defineProperty(GetVersionUpgradeVoteStatusResponseV0.prototype, "result", {
22000
+ Object.defineProperty(GetProtocolVersionUpgradeVoteStatusResponseV0.prototype, "result", {
22001
22001
  get: $util.oneOfGetter($oneOfFields = ["versions", "proof"]),
22002
22002
  set: $util.oneOfSetter($oneOfFields)
22003
22003
  });
22004
22004
 
22005
22005
  /**
22006
- * Creates a new GetVersionUpgradeVoteStatusResponseV0 instance using the specified properties.
22006
+ * Creates a new GetProtocolVersionUpgradeVoteStatusResponseV0 instance using the specified properties.
22007
22007
  * @function create
22008
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22008
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22009
22009
  * @static
22010
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.IGetVersionUpgradeVoteStatusResponseV0=} [properties] Properties to set
22011
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0} GetVersionUpgradeVoteStatusResponseV0 instance
22010
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.IGetProtocolVersionUpgradeVoteStatusResponseV0=} [properties] Properties to set
22011
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0} GetProtocolVersionUpgradeVoteStatusResponseV0 instance
22012
22012
  */
22013
- GetVersionUpgradeVoteStatusResponseV0.create = function create(properties) {
22014
- return new GetVersionUpgradeVoteStatusResponseV0(properties);
22013
+ GetProtocolVersionUpgradeVoteStatusResponseV0.create = function create(properties) {
22014
+ return new GetProtocolVersionUpgradeVoteStatusResponseV0(properties);
22015
22015
  };
22016
22016
 
22017
22017
  /**
22018
- * Encodes the specified GetVersionUpgradeVoteStatusResponseV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.verify|verify} messages.
22018
+ * Encodes the specified GetProtocolVersionUpgradeVoteStatusResponseV0 message. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.verify|verify} messages.
22019
22019
  * @function encode
22020
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22020
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22021
22021
  * @static
22022
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.IGetVersionUpgradeVoteStatusResponseV0} message GetVersionUpgradeVoteStatusResponseV0 message or plain object to encode
22022
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.IGetProtocolVersionUpgradeVoteStatusResponseV0} message GetProtocolVersionUpgradeVoteStatusResponseV0 message or plain object to encode
22023
22023
  * @param {$protobuf.Writer} [writer] Writer to encode to
22024
22024
  * @returns {$protobuf.Writer} Writer
22025
22025
  */
22026
- GetVersionUpgradeVoteStatusResponseV0.encode = function encode(message, writer) {
22026
+ GetProtocolVersionUpgradeVoteStatusResponseV0.encode = function encode(message, writer) {
22027
22027
  if (!writer)
22028
22028
  writer = $Writer.create();
22029
22029
  if (message.versions != null && Object.hasOwnProperty.call(message, "versions"))
22030
- $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals.encode(message.versions, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
22030
+ $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals.encode(message.versions, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
22031
22031
  if (message.proof != null && Object.hasOwnProperty.call(message, "proof"))
22032
22032
  $root.org.dash.platform.dapi.v0.Proof.encode(message.proof, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
22033
22033
  if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata"))
@@ -22036,38 +22036,38 @@ $root.org = (function() {
22036
22036
  };
22037
22037
 
22038
22038
  /**
22039
- * Encodes the specified GetVersionUpgradeVoteStatusResponseV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.verify|verify} messages.
22039
+ * Encodes the specified GetProtocolVersionUpgradeVoteStatusResponseV0 message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.verify|verify} messages.
22040
22040
  * @function encodeDelimited
22041
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22041
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22042
22042
  * @static
22043
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.IGetVersionUpgradeVoteStatusResponseV0} message GetVersionUpgradeVoteStatusResponseV0 message or plain object to encode
22043
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.IGetProtocolVersionUpgradeVoteStatusResponseV0} message GetProtocolVersionUpgradeVoteStatusResponseV0 message or plain object to encode
22044
22044
  * @param {$protobuf.Writer} [writer] Writer to encode to
22045
22045
  * @returns {$protobuf.Writer} Writer
22046
22046
  */
22047
- GetVersionUpgradeVoteStatusResponseV0.encodeDelimited = function encodeDelimited(message, writer) {
22047
+ GetProtocolVersionUpgradeVoteStatusResponseV0.encodeDelimited = function encodeDelimited(message, writer) {
22048
22048
  return this.encode(message, writer).ldelim();
22049
22049
  };
22050
22050
 
22051
22051
  /**
22052
- * Decodes a GetVersionUpgradeVoteStatusResponseV0 message from the specified reader or buffer.
22052
+ * Decodes a GetProtocolVersionUpgradeVoteStatusResponseV0 message from the specified reader or buffer.
22053
22053
  * @function decode
22054
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22054
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22055
22055
  * @static
22056
22056
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
22057
22057
  * @param {number} [length] Message length if known beforehand
22058
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0} GetVersionUpgradeVoteStatusResponseV0
22058
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0} GetProtocolVersionUpgradeVoteStatusResponseV0
22059
22059
  * @throws {Error} If the payload is not a reader or valid buffer
22060
22060
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
22061
22061
  */
22062
- GetVersionUpgradeVoteStatusResponseV0.decode = function decode(reader, length) {
22062
+ GetProtocolVersionUpgradeVoteStatusResponseV0.decode = function decode(reader, length) {
22063
22063
  if (!(reader instanceof $Reader))
22064
22064
  reader = $Reader.create(reader);
22065
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0();
22065
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0();
22066
22066
  while (reader.pos < end) {
22067
22067
  var tag = reader.uint32();
22068
22068
  switch (tag >>> 3) {
22069
22069
  case 1:
22070
- message.versions = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals.decode(reader, reader.uint32());
22070
+ message.versions = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals.decode(reader, reader.uint32());
22071
22071
  break;
22072
22072
  case 2:
22073
22073
  message.proof = $root.org.dash.platform.dapi.v0.Proof.decode(reader, reader.uint32());
@@ -22084,37 +22084,37 @@ $root.org = (function() {
22084
22084
  };
22085
22085
 
22086
22086
  /**
22087
- * Decodes a GetVersionUpgradeVoteStatusResponseV0 message from the specified reader or buffer, length delimited.
22087
+ * Decodes a GetProtocolVersionUpgradeVoteStatusResponseV0 message from the specified reader or buffer, length delimited.
22088
22088
  * @function decodeDelimited
22089
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22089
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22090
22090
  * @static
22091
22091
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
22092
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0} GetVersionUpgradeVoteStatusResponseV0
22092
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0} GetProtocolVersionUpgradeVoteStatusResponseV0
22093
22093
  * @throws {Error} If the payload is not a reader or valid buffer
22094
22094
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
22095
22095
  */
22096
- GetVersionUpgradeVoteStatusResponseV0.decodeDelimited = function decodeDelimited(reader) {
22096
+ GetProtocolVersionUpgradeVoteStatusResponseV0.decodeDelimited = function decodeDelimited(reader) {
22097
22097
  if (!(reader instanceof $Reader))
22098
22098
  reader = new $Reader(reader);
22099
22099
  return this.decode(reader, reader.uint32());
22100
22100
  };
22101
22101
 
22102
22102
  /**
22103
- * Verifies a GetVersionUpgradeVoteStatusResponseV0 message.
22103
+ * Verifies a GetProtocolVersionUpgradeVoteStatusResponseV0 message.
22104
22104
  * @function verify
22105
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22105
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22106
22106
  * @static
22107
22107
  * @param {Object.<string,*>} message Plain object to verify
22108
22108
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
22109
22109
  */
22110
- GetVersionUpgradeVoteStatusResponseV0.verify = function verify(message) {
22110
+ GetProtocolVersionUpgradeVoteStatusResponseV0.verify = function verify(message) {
22111
22111
  if (typeof message !== "object" || message === null)
22112
22112
  return "object expected";
22113
22113
  var properties = {};
22114
22114
  if (message.versions != null && message.hasOwnProperty("versions")) {
22115
22115
  properties.result = 1;
22116
22116
  {
22117
- var error = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals.verify(message.versions);
22117
+ var error = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals.verify(message.versions);
22118
22118
  if (error)
22119
22119
  return "versions." + error;
22120
22120
  }
@@ -22138,52 +22138,52 @@ $root.org = (function() {
22138
22138
  };
22139
22139
 
22140
22140
  /**
22141
- * Creates a GetVersionUpgradeVoteStatusResponseV0 message from a plain object. Also converts values to their respective internal types.
22141
+ * Creates a GetProtocolVersionUpgradeVoteStatusResponseV0 message from a plain object. Also converts values to their respective internal types.
22142
22142
  * @function fromObject
22143
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22143
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22144
22144
  * @static
22145
22145
  * @param {Object.<string,*>} object Plain object
22146
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0} GetVersionUpgradeVoteStatusResponseV0
22146
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0} GetProtocolVersionUpgradeVoteStatusResponseV0
22147
22147
  */
22148
- GetVersionUpgradeVoteStatusResponseV0.fromObject = function fromObject(object) {
22149
- if (object instanceof $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0)
22148
+ GetProtocolVersionUpgradeVoteStatusResponseV0.fromObject = function fromObject(object) {
22149
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0)
22150
22150
  return object;
22151
- var message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0();
22151
+ var message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0();
22152
22152
  if (object.versions != null) {
22153
22153
  if (typeof object.versions !== "object")
22154
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.versions: object expected");
22155
- message.versions = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals.fromObject(object.versions);
22154
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.versions: object expected");
22155
+ message.versions = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals.fromObject(object.versions);
22156
22156
  }
22157
22157
  if (object.proof != null) {
22158
22158
  if (typeof object.proof !== "object")
22159
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.proof: object expected");
22159
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.proof: object expected");
22160
22160
  message.proof = $root.org.dash.platform.dapi.v0.Proof.fromObject(object.proof);
22161
22161
  }
22162
22162
  if (object.metadata != null) {
22163
22163
  if (typeof object.metadata !== "object")
22164
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.metadata: object expected");
22164
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.metadata: object expected");
22165
22165
  message.metadata = $root.org.dash.platform.dapi.v0.ResponseMetadata.fromObject(object.metadata);
22166
22166
  }
22167
22167
  return message;
22168
22168
  };
22169
22169
 
22170
22170
  /**
22171
- * Creates a plain object from a GetVersionUpgradeVoteStatusResponseV0 message. Also converts values to other types if specified.
22171
+ * Creates a plain object from a GetProtocolVersionUpgradeVoteStatusResponseV0 message. Also converts values to other types if specified.
22172
22172
  * @function toObject
22173
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22173
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22174
22174
  * @static
22175
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0} message GetVersionUpgradeVoteStatusResponseV0
22175
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0} message GetProtocolVersionUpgradeVoteStatusResponseV0
22176
22176
  * @param {$protobuf.IConversionOptions} [options] Conversion options
22177
22177
  * @returns {Object.<string,*>} Plain object
22178
22178
  */
22179
- GetVersionUpgradeVoteStatusResponseV0.toObject = function toObject(message, options) {
22179
+ GetProtocolVersionUpgradeVoteStatusResponseV0.toObject = function toObject(message, options) {
22180
22180
  if (!options)
22181
22181
  options = {};
22182
22182
  var object = {};
22183
22183
  if (options.defaults)
22184
22184
  object.metadata = null;
22185
22185
  if (message.versions != null && message.hasOwnProperty("versions")) {
22186
- object.versions = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals.toObject(message.versions, options);
22186
+ object.versions = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals.toObject(message.versions, options);
22187
22187
  if (options.oneofs)
22188
22188
  object.result = "versions";
22189
22189
  }
@@ -22198,32 +22198,32 @@ $root.org = (function() {
22198
22198
  };
22199
22199
 
22200
22200
  /**
22201
- * Converts this GetVersionUpgradeVoteStatusResponseV0 to JSON.
22201
+ * Converts this GetProtocolVersionUpgradeVoteStatusResponseV0 to JSON.
22202
22202
  * @function toJSON
22203
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22203
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22204
22204
  * @instance
22205
22205
  * @returns {Object.<string,*>} JSON object
22206
22206
  */
22207
- GetVersionUpgradeVoteStatusResponseV0.prototype.toJSON = function toJSON() {
22207
+ GetProtocolVersionUpgradeVoteStatusResponseV0.prototype.toJSON = function toJSON() {
22208
22208
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
22209
22209
  };
22210
22210
 
22211
- GetVersionUpgradeVoteStatusResponseV0.VersionSignals = (function() {
22211
+ GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals = (function() {
22212
22212
 
22213
22213
  /**
22214
22214
  * Properties of a VersionSignals.
22215
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22215
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22216
22216
  * @interface IVersionSignals
22217
- * @property {Array.<org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.IVersionSignal>|null} [versionSignals] VersionSignals versionSignals
22217
+ * @property {Array.<org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.IVersionSignal>|null} [versionSignals] VersionSignals versionSignals
22218
22218
  */
22219
22219
 
22220
22220
  /**
22221
22221
  * Constructs a new VersionSignals.
22222
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22222
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22223
22223
  * @classdesc Represents a VersionSignals.
22224
22224
  * @implements IVersionSignals
22225
22225
  * @constructor
22226
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.IVersionSignals=} [properties] Properties to set
22226
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.IVersionSignals=} [properties] Properties to set
22227
22227
  */
22228
22228
  function VersionSignals(properties) {
22229
22229
  this.versionSignals = [];
@@ -22235,8 +22235,8 @@ $root.org = (function() {
22235
22235
 
22236
22236
  /**
22237
22237
  * VersionSignals versionSignals.
22238
- * @member {Array.<org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.IVersionSignal>} versionSignals
22239
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals
22238
+ * @member {Array.<org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.IVersionSignal>} versionSignals
22239
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals
22240
22240
  * @instance
22241
22241
  */
22242
22242
  VersionSignals.prototype.versionSignals = $util.emptyArray;
@@ -22244,21 +22244,21 @@ $root.org = (function() {
22244
22244
  /**
22245
22245
  * Creates a new VersionSignals instance using the specified properties.
22246
22246
  * @function create
22247
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals
22247
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals
22248
22248
  * @static
22249
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.IVersionSignals=} [properties] Properties to set
22250
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals} VersionSignals instance
22249
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.IVersionSignals=} [properties] Properties to set
22250
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals} VersionSignals instance
22251
22251
  */
22252
22252
  VersionSignals.create = function create(properties) {
22253
22253
  return new VersionSignals(properties);
22254
22254
  };
22255
22255
 
22256
22256
  /**
22257
- * Encodes the specified VersionSignals message. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals.verify|verify} messages.
22257
+ * Encodes the specified VersionSignals message. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals.verify|verify} messages.
22258
22258
  * @function encode
22259
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals
22259
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals
22260
22260
  * @static
22261
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.IVersionSignals} message VersionSignals message or plain object to encode
22261
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.IVersionSignals} message VersionSignals message or plain object to encode
22262
22262
  * @param {$protobuf.Writer} [writer] Writer to encode to
22263
22263
  * @returns {$protobuf.Writer} Writer
22264
22264
  */
@@ -22267,16 +22267,16 @@ $root.org = (function() {
22267
22267
  writer = $Writer.create();
22268
22268
  if (message.versionSignals != null && message.versionSignals.length)
22269
22269
  for (var i = 0; i < message.versionSignals.length; ++i)
22270
- $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal.encode(message.versionSignals[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
22270
+ $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal.encode(message.versionSignals[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
22271
22271
  return writer;
22272
22272
  };
22273
22273
 
22274
22274
  /**
22275
- * Encodes the specified VersionSignals message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals.verify|verify} messages.
22275
+ * Encodes the specified VersionSignals message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals.verify|verify} messages.
22276
22276
  * @function encodeDelimited
22277
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals
22277
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals
22278
22278
  * @static
22279
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.IVersionSignals} message VersionSignals message or plain object to encode
22279
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.IVersionSignals} message VersionSignals message or plain object to encode
22280
22280
  * @param {$protobuf.Writer} [writer] Writer to encode to
22281
22281
  * @returns {$protobuf.Writer} Writer
22282
22282
  */
@@ -22287,25 +22287,25 @@ $root.org = (function() {
22287
22287
  /**
22288
22288
  * Decodes a VersionSignals message from the specified reader or buffer.
22289
22289
  * @function decode
22290
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals
22290
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals
22291
22291
  * @static
22292
22292
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
22293
22293
  * @param {number} [length] Message length if known beforehand
22294
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals} VersionSignals
22294
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals} VersionSignals
22295
22295
  * @throws {Error} If the payload is not a reader or valid buffer
22296
22296
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
22297
22297
  */
22298
22298
  VersionSignals.decode = function decode(reader, length) {
22299
22299
  if (!(reader instanceof $Reader))
22300
22300
  reader = $Reader.create(reader);
22301
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals();
22301
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals();
22302
22302
  while (reader.pos < end) {
22303
22303
  var tag = reader.uint32();
22304
22304
  switch (tag >>> 3) {
22305
22305
  case 1:
22306
22306
  if (!(message.versionSignals && message.versionSignals.length))
22307
22307
  message.versionSignals = [];
22308
- message.versionSignals.push($root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal.decode(reader, reader.uint32()));
22308
+ message.versionSignals.push($root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal.decode(reader, reader.uint32()));
22309
22309
  break;
22310
22310
  default:
22311
22311
  reader.skipType(tag & 7);
@@ -22318,10 +22318,10 @@ $root.org = (function() {
22318
22318
  /**
22319
22319
  * Decodes a VersionSignals message from the specified reader or buffer, length delimited.
22320
22320
  * @function decodeDelimited
22321
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals
22321
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals
22322
22322
  * @static
22323
22323
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
22324
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals} VersionSignals
22324
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals} VersionSignals
22325
22325
  * @throws {Error} If the payload is not a reader or valid buffer
22326
22326
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
22327
22327
  */
@@ -22334,7 +22334,7 @@ $root.org = (function() {
22334
22334
  /**
22335
22335
  * Verifies a VersionSignals message.
22336
22336
  * @function verify
22337
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals
22337
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals
22338
22338
  * @static
22339
22339
  * @param {Object.<string,*>} message Plain object to verify
22340
22340
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
@@ -22346,7 +22346,7 @@ $root.org = (function() {
22346
22346
  if (!Array.isArray(message.versionSignals))
22347
22347
  return "versionSignals: array expected";
22348
22348
  for (var i = 0; i < message.versionSignals.length; ++i) {
22349
- var error = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal.verify(message.versionSignals[i]);
22349
+ var error = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal.verify(message.versionSignals[i]);
22350
22350
  if (error)
22351
22351
  return "versionSignals." + error;
22352
22352
  }
@@ -22357,23 +22357,23 @@ $root.org = (function() {
22357
22357
  /**
22358
22358
  * Creates a VersionSignals message from a plain object. Also converts values to their respective internal types.
22359
22359
  * @function fromObject
22360
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals
22360
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals
22361
22361
  * @static
22362
22362
  * @param {Object.<string,*>} object Plain object
22363
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals} VersionSignals
22363
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals} VersionSignals
22364
22364
  */
22365
22365
  VersionSignals.fromObject = function fromObject(object) {
22366
- if (object instanceof $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals)
22366
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals)
22367
22367
  return object;
22368
- var message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals();
22368
+ var message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals();
22369
22369
  if (object.versionSignals) {
22370
22370
  if (!Array.isArray(object.versionSignals))
22371
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals.versionSignals: array expected");
22371
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals.versionSignals: array expected");
22372
22372
  message.versionSignals = [];
22373
22373
  for (var i = 0; i < object.versionSignals.length; ++i) {
22374
22374
  if (typeof object.versionSignals[i] !== "object")
22375
- throw TypeError(".org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals.versionSignals: object expected");
22376
- message.versionSignals[i] = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal.fromObject(object.versionSignals[i]);
22375
+ throw TypeError(".org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals.versionSignals: object expected");
22376
+ message.versionSignals[i] = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal.fromObject(object.versionSignals[i]);
22377
22377
  }
22378
22378
  }
22379
22379
  return message;
@@ -22382,9 +22382,9 @@ $root.org = (function() {
22382
22382
  /**
22383
22383
  * Creates a plain object from a VersionSignals message. Also converts values to other types if specified.
22384
22384
  * @function toObject
22385
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals
22385
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals
22386
22386
  * @static
22387
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals} message VersionSignals
22387
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals} message VersionSignals
22388
22388
  * @param {$protobuf.IConversionOptions} [options] Conversion options
22389
22389
  * @returns {Object.<string,*>} Plain object
22390
22390
  */
@@ -22397,7 +22397,7 @@ $root.org = (function() {
22397
22397
  if (message.versionSignals && message.versionSignals.length) {
22398
22398
  object.versionSignals = [];
22399
22399
  for (var j = 0; j < message.versionSignals.length; ++j)
22400
- object.versionSignals[j] = $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal.toObject(message.versionSignals[j], options);
22400
+ object.versionSignals[j] = $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal.toObject(message.versionSignals[j], options);
22401
22401
  }
22402
22402
  return object;
22403
22403
  };
@@ -22405,7 +22405,7 @@ $root.org = (function() {
22405
22405
  /**
22406
22406
  * Converts this VersionSignals to JSON.
22407
22407
  * @function toJSON
22408
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignals
22408
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals
22409
22409
  * @instance
22410
22410
  * @returns {Object.<string,*>} JSON object
22411
22411
  */
@@ -22416,11 +22416,11 @@ $root.org = (function() {
22416
22416
  return VersionSignals;
22417
22417
  })();
22418
22418
 
22419
- GetVersionUpgradeVoteStatusResponseV0.VersionSignal = (function() {
22419
+ GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal = (function() {
22420
22420
 
22421
22421
  /**
22422
22422
  * Properties of a VersionSignal.
22423
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22423
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22424
22424
  * @interface IVersionSignal
22425
22425
  * @property {Uint8Array|null} [proTxHash] VersionSignal proTxHash
22426
22426
  * @property {number|null} [version] VersionSignal version
@@ -22428,11 +22428,11 @@ $root.org = (function() {
22428
22428
 
22429
22429
  /**
22430
22430
  * Constructs a new VersionSignal.
22431
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0
22431
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
22432
22432
  * @classdesc Represents a VersionSignal.
22433
22433
  * @implements IVersionSignal
22434
22434
  * @constructor
22435
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.IVersionSignal=} [properties] Properties to set
22435
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.IVersionSignal=} [properties] Properties to set
22436
22436
  */
22437
22437
  function VersionSignal(properties) {
22438
22438
  if (properties)
@@ -22444,7 +22444,7 @@ $root.org = (function() {
22444
22444
  /**
22445
22445
  * VersionSignal proTxHash.
22446
22446
  * @member {Uint8Array} proTxHash
22447
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal
22447
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
22448
22448
  * @instance
22449
22449
  */
22450
22450
  VersionSignal.prototype.proTxHash = $util.newBuffer([]);
@@ -22452,7 +22452,7 @@ $root.org = (function() {
22452
22452
  /**
22453
22453
  * VersionSignal version.
22454
22454
  * @member {number} version
22455
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal
22455
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
22456
22456
  * @instance
22457
22457
  */
22458
22458
  VersionSignal.prototype.version = 0;
@@ -22460,21 +22460,21 @@ $root.org = (function() {
22460
22460
  /**
22461
22461
  * Creates a new VersionSignal instance using the specified properties.
22462
22462
  * @function create
22463
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal
22463
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
22464
22464
  * @static
22465
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.IVersionSignal=} [properties] Properties to set
22466
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal} VersionSignal instance
22465
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.IVersionSignal=} [properties] Properties to set
22466
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal} VersionSignal instance
22467
22467
  */
22468
22468
  VersionSignal.create = function create(properties) {
22469
22469
  return new VersionSignal(properties);
22470
22470
  };
22471
22471
 
22472
22472
  /**
22473
- * Encodes the specified VersionSignal message. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal.verify|verify} messages.
22473
+ * Encodes the specified VersionSignal message. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal.verify|verify} messages.
22474
22474
  * @function encode
22475
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal
22475
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
22476
22476
  * @static
22477
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.IVersionSignal} message VersionSignal message or plain object to encode
22477
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.IVersionSignal} message VersionSignal message or plain object to encode
22478
22478
  * @param {$protobuf.Writer} [writer] Writer to encode to
22479
22479
  * @returns {$protobuf.Writer} Writer
22480
22480
  */
@@ -22489,11 +22489,11 @@ $root.org = (function() {
22489
22489
  };
22490
22490
 
22491
22491
  /**
22492
- * Encodes the specified VersionSignal message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal.verify|verify} messages.
22492
+ * Encodes the specified VersionSignal message, length delimited. Does not implicitly {@link org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal.verify|verify} messages.
22493
22493
  * @function encodeDelimited
22494
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal
22494
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
22495
22495
  * @static
22496
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.IVersionSignal} message VersionSignal message or plain object to encode
22496
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.IVersionSignal} message VersionSignal message or plain object to encode
22497
22497
  * @param {$protobuf.Writer} [writer] Writer to encode to
22498
22498
  * @returns {$protobuf.Writer} Writer
22499
22499
  */
@@ -22504,18 +22504,18 @@ $root.org = (function() {
22504
22504
  /**
22505
22505
  * Decodes a VersionSignal message from the specified reader or buffer.
22506
22506
  * @function decode
22507
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal
22507
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
22508
22508
  * @static
22509
22509
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
22510
22510
  * @param {number} [length] Message length if known beforehand
22511
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal} VersionSignal
22511
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal} VersionSignal
22512
22512
  * @throws {Error} If the payload is not a reader or valid buffer
22513
22513
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
22514
22514
  */
22515
22515
  VersionSignal.decode = function decode(reader, length) {
22516
22516
  if (!(reader instanceof $Reader))
22517
22517
  reader = $Reader.create(reader);
22518
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal();
22518
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal();
22519
22519
  while (reader.pos < end) {
22520
22520
  var tag = reader.uint32();
22521
22521
  switch (tag >>> 3) {
@@ -22536,10 +22536,10 @@ $root.org = (function() {
22536
22536
  /**
22537
22537
  * Decodes a VersionSignal message from the specified reader or buffer, length delimited.
22538
22538
  * @function decodeDelimited
22539
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal
22539
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
22540
22540
  * @static
22541
22541
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
22542
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal} VersionSignal
22542
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal} VersionSignal
22543
22543
  * @throws {Error} If the payload is not a reader or valid buffer
22544
22544
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
22545
22545
  */
@@ -22552,7 +22552,7 @@ $root.org = (function() {
22552
22552
  /**
22553
22553
  * Verifies a VersionSignal message.
22554
22554
  * @function verify
22555
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal
22555
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
22556
22556
  * @static
22557
22557
  * @param {Object.<string,*>} message Plain object to verify
22558
22558
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
@@ -22572,15 +22572,15 @@ $root.org = (function() {
22572
22572
  /**
22573
22573
  * Creates a VersionSignal message from a plain object. Also converts values to their respective internal types.
22574
22574
  * @function fromObject
22575
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal
22575
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
22576
22576
  * @static
22577
22577
  * @param {Object.<string,*>} object Plain object
22578
- * @returns {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal} VersionSignal
22578
+ * @returns {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal} VersionSignal
22579
22579
  */
22580
22580
  VersionSignal.fromObject = function fromObject(object) {
22581
- if (object instanceof $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal)
22581
+ if (object instanceof $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal)
22582
22582
  return object;
22583
- var message = new $root.org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal();
22583
+ var message = new $root.org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal();
22584
22584
  if (object.proTxHash != null)
22585
22585
  if (typeof object.proTxHash === "string")
22586
22586
  $util.base64.decode(object.proTxHash, message.proTxHash = $util.newBuffer($util.base64.length(object.proTxHash)), 0);
@@ -22594,9 +22594,9 @@ $root.org = (function() {
22594
22594
  /**
22595
22595
  * Creates a plain object from a VersionSignal message. Also converts values to other types if specified.
22596
22596
  * @function toObject
22597
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal
22597
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
22598
22598
  * @static
22599
- * @param {org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal} message VersionSignal
22599
+ * @param {org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal} message VersionSignal
22600
22600
  * @param {$protobuf.IConversionOptions} [options] Conversion options
22601
22601
  * @returns {Object.<string,*>} Plain object
22602
22602
  */
@@ -22624,7 +22624,7 @@ $root.org = (function() {
22624
22624
  /**
22625
22625
  * Converts this VersionSignal to JSON.
22626
22626
  * @function toJSON
22627
- * @memberof org.dash.platform.dapi.v0.GetVersionUpgradeVoteStatusResponse.GetVersionUpgradeVoteStatusResponseV0.VersionSignal
22627
+ * @memberof org.dash.platform.dapi.v0.GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
22628
22628
  * @instance
22629
22629
  * @returns {Object.<string,*>} JSON object
22630
22630
  */
@@ -22635,10 +22635,10 @@ $root.org = (function() {
22635
22635
  return VersionSignal;
22636
22636
  })();
22637
22637
 
22638
- return GetVersionUpgradeVoteStatusResponseV0;
22638
+ return GetProtocolVersionUpgradeVoteStatusResponseV0;
22639
22639
  })();
22640
22640
 
22641
- return GetVersionUpgradeVoteStatusResponse;
22641
+ return GetProtocolVersionUpgradeVoteStatusResponse;
22642
22642
  })();
22643
22643
 
22644
22644
  v0.GetEpochsInfoRequest = (function() {