test havenod 1.0.6

This commit is contained in:
woodser 2024-05-21 18:00:50 -04:00
parent 2d02b8ec96
commit 4be355bc25
4 changed files with 360 additions and 364 deletions

View File

@ -1011,34 +1011,38 @@ export namespace PrefixedSealedAndSignedMessage {
} }
export class InitTradeRequest extends jspb.Message { export class InitTradeRequest extends jspb.Message {
getTradeProtocolVersion(): TradeProtocolVersion;
setTradeProtocolVersion(value: TradeProtocolVersion): InitTradeRequest;
getOfferId(): string; getOfferId(): string;
setOfferId(value: string): InitTradeRequest; setOfferId(value: string): InitTradeRequest;
getSenderNodeAddress(): NodeAddress | undefined;
setSenderNodeAddress(value?: NodeAddress): InitTradeRequest;
hasSenderNodeAddress(): boolean;
clearSenderNodeAddress(): InitTradeRequest;
getPubKeyRing(): PubKeyRing | undefined;
setPubKeyRing(value?: PubKeyRing): InitTradeRequest;
hasPubKeyRing(): boolean;
clearPubKeyRing(): InitTradeRequest;
getTradeAmount(): number; getTradeAmount(): number;
setTradeAmount(value: number): InitTradeRequest; setTradeAmount(value: number): InitTradeRequest;
getTradePrice(): number; getTradePrice(): number;
setTradePrice(value: number): InitTradeRequest; setTradePrice(value: number): InitTradeRequest;
getAccountId(): string;
setAccountId(value: string): InitTradeRequest;
getPaymentAccountId(): string;
setPaymentAccountId(value: string): InitTradeRequest;
getPaymentMethodId(): string; getPaymentMethodId(): string;
setPaymentMethodId(value: string): InitTradeRequest; setPaymentMethodId(value: string): InitTradeRequest;
getMakerAccountId(): string;
setMakerAccountId(value: string): InitTradeRequest;
getTakerAccountId(): string;
setTakerAccountId(value: string): InitTradeRequest;
getMakerPaymentAccountId(): string;
setMakerPaymentAccountId(value: string): InitTradeRequest;
getTakerPaymentAccountId(): string;
setTakerPaymentAccountId(value: string): InitTradeRequest;
getTakerPubKeyRing(): PubKeyRing | undefined;
setTakerPubKeyRing(value?: PubKeyRing): InitTradeRequest;
hasTakerPubKeyRing(): boolean;
clearTakerPubKeyRing(): InitTradeRequest;
getUid(): string; getUid(): string;
setUid(value: string): InitTradeRequest; setUid(value: string): InitTradeRequest;
@ -1077,11 +1081,6 @@ export class InitTradeRequest extends jspb.Message {
getPayoutAddress(): string; getPayoutAddress(): string;
setPayoutAddress(value: string): InitTradeRequest; setPayoutAddress(value: string): InitTradeRequest;
getMakerSignature(): Uint8Array | string;
getMakerSignature_asU8(): Uint8Array;
getMakerSignature_asB64(): string;
setMakerSignature(value: Uint8Array | string): InitTradeRequest;
serializeBinary(): Uint8Array; serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): InitTradeRequest.AsObject; toObject(includeInstance?: boolean): InitTradeRequest.AsObject;
static toObject(includeInstance: boolean, msg: InitTradeRequest): InitTradeRequest.AsObject; static toObject(includeInstance: boolean, msg: InitTradeRequest): InitTradeRequest.AsObject;
@ -1092,14 +1091,16 @@ export class InitTradeRequest extends jspb.Message {
export namespace InitTradeRequest { export namespace InitTradeRequest {
export type AsObject = { export type AsObject = {
tradeProtocolVersion: TradeProtocolVersion,
offerId: string, offerId: string,
senderNodeAddress?: NodeAddress.AsObject,
pubKeyRing?: PubKeyRing.AsObject,
tradeAmount: number, tradeAmount: number,
tradePrice: number, tradePrice: number,
accountId: string,
paymentAccountId: string,
paymentMethodId: string, paymentMethodId: string,
makerAccountId: string,
takerAccountId: string,
makerPaymentAccountId: string,
takerPaymentAccountId: string,
takerPubKeyRing?: PubKeyRing.AsObject,
uid: string, uid: string,
accountAgeWitnessSignatureOfOfferId: Uint8Array | string, accountAgeWitnessSignatureOfOfferId: Uint8Array | string,
currentDate: number, currentDate: number,
@ -1110,7 +1111,6 @@ export namespace InitTradeRequest {
reserveTxHex: string, reserveTxHex: string,
reserveTxKey: string, reserveTxKey: string,
payoutAddress: string, payoutAddress: string,
makerSignature: Uint8Array | string,
} }
} }
@ -7807,6 +7807,9 @@ export namespace PaymentAccountFormField {
} }
} }
export enum TradeProtocolVersion {
MULTISIG_2_3 = 0,
}
export enum SupportType { export enum SupportType {
ARBITRATION = 0, ARBITRATION = 0,
MEDIATION = 1, MEDIATION = 1,

665
dist/protobuf/pb_pb.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

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