test havenod 1.0.4

This commit is contained in:
woodser 2024-05-17 06:55:43 -04:00
parent a97ccc8082
commit 16cc202c25
4 changed files with 83 additions and 13 deletions

View File

@ -1133,6 +1133,9 @@ export class InitMultisigRequest extends jspb.Message {
getExchangedMultisigHex(): string;
setExchangedMultisigHex(value: string): InitMultisigRequest;
getTradeFeeAddress(): string;
setTradeFeeAddress(value: string): InitMultisigRequest;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): InitMultisigRequest.AsObject;
static toObject(includeInstance: boolean, msg: InitMultisigRequest): InitMultisigRequest.AsObject;
@ -1149,6 +1152,7 @@ export namespace InitMultisigRequest {
preparedMultisigHex: string,
madeMultisigHex: string,
exchangedMultisigHex: string,
tradeFeeAddress: string,
}
}
@ -5835,6 +5839,7 @@ export namespace Offer {
NOT_AVAILABLE = 4,
REMOVED = 5,
MAKER_OFFLINE = 6,
INVALID = 7,
}
}
@ -6440,8 +6445,11 @@ export class ProcessModel extends jspb.Message {
getSellerPayoutAmountFromMediation(): number;
setSellerPayoutAmountFromMediation(value: number): ProcessModel;
getDeleteBackupsHeight(): number;
setDeleteBackupsHeight(value: number): ProcessModel;
getTradeProtocolErrorHeight(): number;
setTradeProtocolErrorHeight(value: number): ProcessModel;
getTradeFeeAddress(): string;
setTradeFeeAddress(value: string): ProcessModel;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ProcessModel.AsObject;
@ -6470,7 +6478,8 @@ export namespace ProcessModel {
mediatedPayoutTxSignature: Uint8Array | string,
buyerPayoutAmountFromMediation: number,
sellerPayoutAmountFromMediation: number,
deleteBackupsHeight: number,
tradeProtocolErrorHeight: number,
tradeFeeAddress: string,
}
}

View File

@ -12730,7 +12730,8 @@ proto.io.haveno.protobuffer.InitMultisigRequest.toObject = function(includeInsta
currentDate: jspb.Message.getFieldWithDefault(msg, 3, 0),
preparedMultisigHex: jspb.Message.getFieldWithDefault(msg, 4, ""),
madeMultisigHex: jspb.Message.getFieldWithDefault(msg, 5, ""),
exchangedMultisigHex: jspb.Message.getFieldWithDefault(msg, 6, "")
exchangedMultisigHex: jspb.Message.getFieldWithDefault(msg, 6, ""),
tradeFeeAddress: jspb.Message.getFieldWithDefault(msg, 7, "")
};
if (includeInstance) {
@ -12791,6 +12792,10 @@ proto.io.haveno.protobuffer.InitMultisigRequest.deserializeBinaryFromReader = fu
var value = /** @type {string} */ (reader.readString());
msg.setExchangedMultisigHex(value);
break;
case 7:
var value = /** @type {string} */ (reader.readString());
msg.setTradeFeeAddress(value);
break;
default:
reader.skipField();
break;
@ -12862,6 +12867,13 @@ proto.io.haveno.protobuffer.InitMultisigRequest.serializeBinaryToWriter = functi
f
);
}
f = message.getTradeFeeAddress();
if (f.length > 0) {
writer.writeString(
7,
f
);
}
};
@ -12973,6 +12985,24 @@ proto.io.haveno.protobuffer.InitMultisigRequest.prototype.setExchangedMultisigHe
};
/**
* optional string trade_fee_address = 7;
* @return {string}
*/
proto.io.haveno.protobuffer.InitMultisigRequest.prototype.getTradeFeeAddress = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
};
/**
* @param {string} value
* @return {!proto.io.haveno.protobuffer.InitMultisigRequest} returns this
*/
proto.io.haveno.protobuffer.InitMultisigRequest.prototype.setTradeFeeAddress = function(value) {
return jspb.Message.setProto3StringField(this, 7, value);
};
@ -47961,7 +47991,8 @@ proto.io.haveno.protobuffer.Offer.State = {
AVAILABLE: 3,
NOT_AVAILABLE: 4,
REMOVED: 5,
MAKER_OFFLINE: 6
MAKER_OFFLINE: 6,
INVALID: 7
};
/**
@ -51601,7 +51632,8 @@ proto.io.haveno.protobuffer.ProcessModel.toObject = function(includeInstance, ms
mediatedPayoutTxSignature: msg.getMediatedPayoutTxSignature_asB64(),
buyerPayoutAmountFromMediation: jspb.Message.getFieldWithDefault(msg, 16, 0),
sellerPayoutAmountFromMediation: jspb.Message.getFieldWithDefault(msg, 17, 0),
deleteBackupsHeight: jspb.Message.getFieldWithDefault(msg, 18, 0)
tradeProtocolErrorHeight: jspb.Message.getFieldWithDefault(msg, 18, 0),
tradeFeeAddress: jspb.Message.getFieldWithDefault(msg, 19, "")
};
if (includeInstance) {
@ -51713,7 +51745,11 @@ proto.io.haveno.protobuffer.ProcessModel.deserializeBinaryFromReader = function(
break;
case 18:
var value = /** @type {number} */ (reader.readInt64());
msg.setDeleteBackupsHeight(value);
msg.setTradeProtocolErrorHeight(value);
break;
case 19:
var value = /** @type {string} */ (reader.readString());
msg.setTradeFeeAddress(value);
break;
default:
reader.skipField();
@ -51868,13 +51904,20 @@ proto.io.haveno.protobuffer.ProcessModel.serializeBinaryToWriter = function(mess
f
);
}
f = message.getDeleteBackupsHeight();
f = message.getTradeProtocolErrorHeight();
if (f !== 0) {
writer.writeInt64(
18,
f
);
}
f = message.getTradeFeeAddress();
if (f.length > 0) {
writer.writeString(
19,
f
);
}
};
@ -52352,10 +52395,10 @@ proto.io.haveno.protobuffer.ProcessModel.prototype.setSellerPayoutAmountFromMedi
/**
* optional int64 delete_backups_height = 18;
* optional int64 trade_protocol_error_height = 18;
* @return {number}
*/
proto.io.haveno.protobuffer.ProcessModel.prototype.getDeleteBackupsHeight = function() {
proto.io.haveno.protobuffer.ProcessModel.prototype.getTradeProtocolErrorHeight = function() {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
};
@ -52364,11 +52407,29 @@ proto.io.haveno.protobuffer.ProcessModel.prototype.getDeleteBackupsHeight = func
* @param {number} value
* @return {!proto.io.haveno.protobuffer.ProcessModel} returns this
*/
proto.io.haveno.protobuffer.ProcessModel.prototype.setDeleteBackupsHeight = function(value) {
proto.io.haveno.protobuffer.ProcessModel.prototype.setTradeProtocolErrorHeight = function(value) {
return jspb.Message.setProto3IntField(this, 18, value);
};
/**
* optional string trade_fee_address = 19;
* @return {string}
*/
proto.io.haveno.protobuffer.ProcessModel.prototype.getTradeFeeAddress = function() {
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
};
/**
* @param {string} value
* @return {!proto.io.haveno.protobuffer.ProcessModel} returns this
*/
proto.io.haveno.protobuffer.ProcessModel.prototype.setTradeFeeAddress = function(value) {
return jspb.Message.setProto3StringField(this, 19, value);
};
/**
* List of repeated fields within this message type.

File diff suppressed because one or more lines are too long

View File

@ -355,7 +355,7 @@ const TestConfig = {
testDataDir: "./testdata",
haveno: {
path: "../haveno",
version: "1.0.3"
version: "1.0.4"
},
monerod: {
url: "http://localhost:" + getNetworkStartPort() + "8081", // 18081, 28081, 38081 for mainnet, testnet, and stagenet, respectively