mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-01-11 15:29:49 -05:00
rename grpc service clients from Monero to Xmr for consistency
This commit is contained in:
parent
5d55a0bd4f
commit
6725b44792
12
dist/HavenoClient.d.ts
vendored
12
dist/HavenoClient.d.ts
vendored
@ -1,7 +1,7 @@
|
||||
import type * as grpcWeb from "grpc-web";
|
||||
import { GetVersionClient, AccountClient, MoneroConnectionsClient, DisputesClient, DisputeAgentsClient, NotificationsClient, WalletsClient, PriceClient, OffersClient, PaymentAccountsClient, TradesClient, ShutdownServerClient, MoneroNodeClient } from './protobuf/GrpcServiceClientPb';
|
||||
import { GetVersionClient, AccountClient, XmrConnectionsClient, DisputesClient, DisputeAgentsClient, NotificationsClient, WalletsClient, PriceClient, OffersClient, PaymentAccountsClient, TradesClient, ShutdownServerClient, XmrNodeClient } from './protobuf/GrpcServiceClientPb';
|
||||
import { MarketPriceInfo, MarketDepthInfo, XmrBalanceInfo, OfferInfo, TradeInfo, XmrTx, XmrDestination, NotificationMessage, UrlConnection } from "./protobuf/grpc_pb";
|
||||
import { OfferDirection, PaymentMethod, PaymentAccountForm, PaymentAccountFormField, PaymentAccount, PaymentAccountPayload, Attachment, DisputeResult, Dispute, ChatMessage, MoneroNodeSettings } from "./protobuf/pb_pb";
|
||||
import { OfferDirection, PaymentMethod, PaymentAccountForm, PaymentAccountFormField, PaymentAccount, PaymentAccountPayload, Attachment, DisputeResult, Dispute, ChatMessage, XmrNodeSettings } from "./protobuf/pb_pb";
|
||||
/**
|
||||
* Haveno daemon client.
|
||||
*/
|
||||
@ -12,8 +12,8 @@ export default class HavenoClient {
|
||||
/** @private */ _disputesClient: DisputesClient;
|
||||
/** @private */ _notificationsClient: NotificationsClient;
|
||||
/** @private */ _notificationStream: grpcWeb.ClientReadableStream<NotificationMessage> | undefined;
|
||||
/** @private */ _moneroConnectionsClient: MoneroConnectionsClient;
|
||||
/** @private */ _moneroNodeClient: MoneroNodeClient;
|
||||
/** @private */ _xmrConnectionsClient: XmrConnectionsClient;
|
||||
/** @private */ _xmrNodeClient: XmrNodeClient;
|
||||
/** @private */ _walletsClient: WalletsClient;
|
||||
/** @private */ _priceClient: PriceClient;
|
||||
/** @private */ _paymentAccountsClient: PaymentAccountsClient;
|
||||
@ -236,13 +236,13 @@ export default class HavenoClient {
|
||||
/**
|
||||
* Gets the current local monero node settings.
|
||||
*/
|
||||
getMoneroNodeSettings(): Promise<MoneroNodeSettings | undefined>;
|
||||
getMoneroNodeSettings(): Promise<XmrNodeSettings | undefined>;
|
||||
/**
|
||||
* Starts the local monero node.
|
||||
*
|
||||
* @param {MoneroNodeSettings} settings - the settings to start the local node with
|
||||
*/
|
||||
startMoneroNode(settings: MoneroNodeSettings): Promise<void>;
|
||||
startMoneroNode(settings: XmrNodeSettings): Promise<void>;
|
||||
/**
|
||||
* Stops the local monero node.
|
||||
*/
|
||||
|
38
dist/HavenoClient.js
vendored
38
dist/HavenoClient.js
vendored
@ -45,8 +45,8 @@ class HavenoClient {
|
||||
this._password = password;
|
||||
this._getVersionClient = new GrpcServiceClientPb_1.GetVersionClient(this._url);
|
||||
this._accountClient = new GrpcServiceClientPb_1.AccountClient(this._url);
|
||||
this._moneroConnectionsClient = new GrpcServiceClientPb_1.MoneroConnectionsClient(this._url);
|
||||
this._moneroNodeClient = new GrpcServiceClientPb_1.MoneroNodeClient(this._url);
|
||||
this._xmrConnectionsClient = new GrpcServiceClientPb_1.XmrConnectionsClient(this._url);
|
||||
this._xmrNodeClient = new GrpcServiceClientPb_1.XmrNodeClient(this._url);
|
||||
this._disputeAgentsClient = new GrpcServiceClientPb_1.DisputeAgentsClient(this._url);
|
||||
this._disputesClient = new GrpcServiceClientPb_1.DisputesClient(this._url);
|
||||
this._walletsClient = new GrpcServiceClientPb_1.WalletsClient(this._url);
|
||||
@ -400,7 +400,7 @@ class HavenoClient {
|
||||
*/
|
||||
async addMoneroConnection(connection) {
|
||||
try {
|
||||
await this._moneroConnectionsClient.addConnection(new grpc_pb_1.AddConnectionRequest().setConnection(typeof connection === "string" ? new grpc_pb_1.UrlConnection().setUrl(connection) : connection), { password: this._password });
|
||||
await this._xmrConnectionsClient.addConnection(new grpc_pb_1.AddConnectionRequest().setConnection(typeof connection === "string" ? new grpc_pb_1.UrlConnection().setUrl(connection) : connection), { password: this._password });
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -413,7 +413,7 @@ class HavenoClient {
|
||||
*/
|
||||
async removeMoneroConnection(url) {
|
||||
try {
|
||||
await this._moneroConnectionsClient.removeConnection(new grpc_pb_1.RemoveConnectionRequest().setUrl(url), { password: this._password });
|
||||
await this._xmrConnectionsClient.removeConnection(new grpc_pb_1.RemoveConnectionRequest().setUrl(url), { password: this._password });
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -426,7 +426,7 @@ class HavenoClient {
|
||||
*/
|
||||
async getMoneroConnection() {
|
||||
try {
|
||||
return await (await this._moneroConnectionsClient.getConnection(new grpc_pb_1.GetConnectionRequest(), { password: this._password })).getConnection();
|
||||
return await (await this._xmrConnectionsClient.getConnection(new grpc_pb_1.GetConnectionRequest(), { password: this._password })).getConnection();
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -439,7 +439,7 @@ class HavenoClient {
|
||||
*/
|
||||
async getMoneroConnections() {
|
||||
try {
|
||||
return (await this._moneroConnectionsClient.getConnections(new grpc_pb_1.GetConnectionsRequest(), { password: this._password })).getConnectionsList();
|
||||
return (await this._xmrConnectionsClient.getConnections(new grpc_pb_1.GetConnectionsRequest(), { password: this._password })).getConnectionsList();
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -462,7 +462,7 @@ class HavenoClient {
|
||||
else
|
||||
request.setConnection(connection);
|
||||
try {
|
||||
await this._moneroConnectionsClient.setConnection(request, { password: this._password });
|
||||
await this._xmrConnectionsClient.setConnection(request, { password: this._password });
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -477,7 +477,7 @@ class HavenoClient {
|
||||
*/
|
||||
async checkMoneroConnection() {
|
||||
try {
|
||||
return (await this._moneroConnectionsClient.checkConnection(new grpc_pb_1.CheckConnectionRequest(), { password: this._password })).getConnection();
|
||||
return (await this._xmrConnectionsClient.checkConnection(new grpc_pb_1.CheckConnectionRequest(), { password: this._password })).getConnection();
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -490,7 +490,7 @@ class HavenoClient {
|
||||
*/
|
||||
async checkMoneroConnections() {
|
||||
try {
|
||||
return (await this._moneroConnectionsClient.checkConnections(new grpc_pb_1.CheckConnectionsRequest(), { password: this._password })).getConnectionsList();
|
||||
return (await this._xmrConnectionsClient.checkConnections(new grpc_pb_1.CheckConnectionsRequest(), { password: this._password })).getConnectionsList();
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -503,7 +503,7 @@ class HavenoClient {
|
||||
*/
|
||||
async startCheckingConnection(refreshPeriod) {
|
||||
try {
|
||||
await this._moneroConnectionsClient.startCheckingConnections(new grpc_pb_1.StartCheckingConnectionsRequest().setRefreshPeriod(refreshPeriod), { password: this._password });
|
||||
await this._xmrConnectionsClient.startCheckingConnections(new grpc_pb_1.StartCheckingConnectionsRequest().setRefreshPeriod(refreshPeriod), { password: this._password });
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -514,7 +514,7 @@ class HavenoClient {
|
||||
*/
|
||||
async stopCheckingConnection() {
|
||||
try {
|
||||
await this._moneroConnectionsClient.stopCheckingConnections(new grpc_pb_1.StopCheckingConnectionsRequest(), { password: this._password });
|
||||
await this._xmrConnectionsClient.stopCheckingConnections(new grpc_pb_1.StopCheckingConnectionsRequest(), { password: this._password });
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -527,7 +527,7 @@ class HavenoClient {
|
||||
*/
|
||||
async getBestAvailableConnection() {
|
||||
try {
|
||||
return (await this._moneroConnectionsClient.getBestAvailableConnection(new grpc_pb_1.GetBestAvailableConnectionRequest(), { password: this._password })).getConnection();
|
||||
return (await this._xmrConnectionsClient.getBestAvailableConnection(new grpc_pb_1.GetBestAvailableConnectionRequest(), { password: this._password })).getConnection();
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -540,7 +540,7 @@ class HavenoClient {
|
||||
*/
|
||||
async setAutoSwitch(autoSwitch) {
|
||||
try {
|
||||
await this._moneroConnectionsClient.setAutoSwitch(new grpc_pb_1.SetAutoSwitchRequest().setAutoSwitch(autoSwitch), { password: this._password });
|
||||
await this._xmrConnectionsClient.setAutoSwitch(new grpc_pb_1.SetAutoSwitchRequest().setAutoSwitch(autoSwitch), { password: this._password });
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -551,7 +551,7 @@ class HavenoClient {
|
||||
*/
|
||||
async isMoneroNodeOnline() {
|
||||
try {
|
||||
return (await this._moneroNodeClient.isMoneroNodeOnline(new grpc_pb_1.IsMoneroNodeOnlineRequest(), { password: this._password })).getIsRunning();
|
||||
return (await this._xmrNodeClient.isXmrNodeOnline(new grpc_pb_1.IsXmrNodeOnlineRequest(), { password: this._password })).getIsRunning();
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -562,8 +562,8 @@ class HavenoClient {
|
||||
*/
|
||||
async getMoneroNodeSettings() {
|
||||
try {
|
||||
const request = new grpc_pb_1.GetMoneroNodeSettingsRequest();
|
||||
return (await this._moneroNodeClient.getMoneroNodeSettings(request, { password: this._password })).getSettings();
|
||||
const request = new grpc_pb_1.GetXmrNodeSettingsRequest();
|
||||
return (await this._xmrNodeClient.getXmrNodeSettings(request, { password: this._password })).getSettings();
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -576,8 +576,8 @@ class HavenoClient {
|
||||
*/
|
||||
async startMoneroNode(settings) {
|
||||
try {
|
||||
const request = new grpc_pb_1.StartMoneroNodeRequest().setSettings(settings);
|
||||
await this._moneroNodeClient.startMoneroNode(request, { password: this._password });
|
||||
const request = new grpc_pb_1.StartXmrNodeRequest().setSettings(settings);
|
||||
await this._xmrNodeClient.startXmrNode(request, { password: this._password });
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
@ -588,7 +588,7 @@ class HavenoClient {
|
||||
*/
|
||||
async stopMoneroNode() {
|
||||
try {
|
||||
await this._moneroNodeClient.stopMoneroNode(new grpc_pb_1.StopMoneroNodeRequest(), { password: this._password });
|
||||
await this._xmrNodeClient.stopXmrNode(new grpc_pb_1.StopXmrNodeRequest(), { password: this._password });
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
|
2
dist/HavenoClient.js.map
vendored
2
dist/HavenoClient.js.map
vendored
File diff suppressed because one or more lines are too long
28
dist/protobuf/GrpcServiceClientPb.d.ts
vendored
28
dist/protobuf/GrpcServiceClientPb.d.ts
vendored
@ -156,7 +156,7 @@ export declare class NotificationsClient {
|
||||
sendNotification(request: grpc_pb.SendNotificationRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.SendNotificationReply>;
|
||||
sendNotification(request: grpc_pb.SendNotificationRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.SendNotificationReply) => void): grpcWeb.ClientReadableStream<grpc_pb.SendNotificationReply>;
|
||||
}
|
||||
export declare class MoneroConnectionsClient {
|
||||
export declare class XmrConnectionsClient {
|
||||
client_: grpcWeb.AbstractClientBase;
|
||||
hostname_: string;
|
||||
credentials_: null | {
|
||||
@ -204,7 +204,7 @@ export declare class MoneroConnectionsClient {
|
||||
setAutoSwitch(request: grpc_pb.SetAutoSwitchRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.SetAutoSwitchReply>;
|
||||
setAutoSwitch(request: grpc_pb.SetAutoSwitchRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.SetAutoSwitchReply) => void): grpcWeb.ClientReadableStream<grpc_pb.SetAutoSwitchReply>;
|
||||
}
|
||||
export declare class MoneroNodeClient {
|
||||
export declare class XmrNodeClient {
|
||||
client_: grpcWeb.AbstractClientBase;
|
||||
hostname_: string;
|
||||
credentials_: null | {
|
||||
@ -218,18 +218,18 @@ export declare class MoneroNodeClient {
|
||||
}, options?: null | {
|
||||
[index: string]: any;
|
||||
});
|
||||
methodDescriptorIsMoneroNodeOnline: grpcWeb.MethodDescriptor<grpc_pb.IsMoneroNodeOnlineRequest, grpc_pb.IsMoneroNodeOnlineReply>;
|
||||
isMoneroNodeOnline(request: grpc_pb.IsMoneroNodeOnlineRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.IsMoneroNodeOnlineReply>;
|
||||
isMoneroNodeOnline(request: grpc_pb.IsMoneroNodeOnlineRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.IsMoneroNodeOnlineReply) => void): grpcWeb.ClientReadableStream<grpc_pb.IsMoneroNodeOnlineReply>;
|
||||
methodDescriptorGetMoneroNodeSettings: grpcWeb.MethodDescriptor<grpc_pb.GetMoneroNodeSettingsRequest, grpc_pb.GetMoneroNodeSettingsReply>;
|
||||
getMoneroNodeSettings(request: grpc_pb.GetMoneroNodeSettingsRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.GetMoneroNodeSettingsReply>;
|
||||
getMoneroNodeSettings(request: grpc_pb.GetMoneroNodeSettingsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.GetMoneroNodeSettingsReply) => void): grpcWeb.ClientReadableStream<grpc_pb.GetMoneroNodeSettingsReply>;
|
||||
methodDescriptorStartMoneroNode: grpcWeb.MethodDescriptor<grpc_pb.StartMoneroNodeRequest, grpc_pb.StartMoneroNodeReply>;
|
||||
startMoneroNode(request: grpc_pb.StartMoneroNodeRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.StartMoneroNodeReply>;
|
||||
startMoneroNode(request: grpc_pb.StartMoneroNodeRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.StartMoneroNodeReply) => void): grpcWeb.ClientReadableStream<grpc_pb.StartMoneroNodeReply>;
|
||||
methodDescriptorStopMoneroNode: grpcWeb.MethodDescriptor<grpc_pb.StopMoneroNodeRequest, grpc_pb.StopMoneroNodeReply>;
|
||||
stopMoneroNode(request: grpc_pb.StopMoneroNodeRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.StopMoneroNodeReply>;
|
||||
stopMoneroNode(request: grpc_pb.StopMoneroNodeRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.StopMoneroNodeReply) => void): grpcWeb.ClientReadableStream<grpc_pb.StopMoneroNodeReply>;
|
||||
methodDescriptorIsXmrNodeOnline: grpcWeb.MethodDescriptor<grpc_pb.IsXmrNodeOnlineRequest, grpc_pb.IsXmrNodeOnlineReply>;
|
||||
isXmrNodeOnline(request: grpc_pb.IsXmrNodeOnlineRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.IsXmrNodeOnlineReply>;
|
||||
isXmrNodeOnline(request: grpc_pb.IsXmrNodeOnlineRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.IsXmrNodeOnlineReply) => void): grpcWeb.ClientReadableStream<grpc_pb.IsXmrNodeOnlineReply>;
|
||||
methodDescriptorGetXmrNodeSettings: grpcWeb.MethodDescriptor<grpc_pb.GetXmrNodeSettingsRequest, grpc_pb.GetXmrNodeSettingsReply>;
|
||||
getXmrNodeSettings(request: grpc_pb.GetXmrNodeSettingsRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.GetXmrNodeSettingsReply>;
|
||||
getXmrNodeSettings(request: grpc_pb.GetXmrNodeSettingsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.GetXmrNodeSettingsReply) => void): grpcWeb.ClientReadableStream<grpc_pb.GetXmrNodeSettingsReply>;
|
||||
methodDescriptorStartXmrNode: grpcWeb.MethodDescriptor<grpc_pb.StartXmrNodeRequest, grpc_pb.StartXmrNodeReply>;
|
||||
startXmrNode(request: grpc_pb.StartXmrNodeRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.StartXmrNodeReply>;
|
||||
startXmrNode(request: grpc_pb.StartXmrNodeRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.StartXmrNodeReply) => void): grpcWeb.ClientReadableStream<grpc_pb.StartXmrNodeReply>;
|
||||
methodDescriptorStopXmrNode: grpcWeb.MethodDescriptor<grpc_pb.StopXmrNodeRequest, grpc_pb.StopXmrNodeReply>;
|
||||
stopXmrNode(request: grpc_pb.StopXmrNodeRequest, metadata: grpcWeb.Metadata | null): Promise<grpc_pb.StopXmrNodeReply>;
|
||||
stopXmrNode(request: grpc_pb.StopXmrNodeRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.RpcError, response: grpc_pb.StopXmrNodeReply) => void): grpcWeb.ClientReadableStream<grpc_pb.StopXmrNodeReply>;
|
||||
}
|
||||
export declare class OffersClient {
|
||||
client_: grpcWeb.AbstractClientBase;
|
||||
|
116
dist/protobuf/GrpcServiceClientPb.js
vendored
116
dist/protobuf/GrpcServiceClientPb.js
vendored
@ -28,7 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
||||
return result;
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.WalletsClient = exports.TradesClient = exports.ShutdownServerClient = exports.GetTradeStatisticsClient = exports.PriceClient = exports.PaymentAccountsClient = exports.OffersClient = exports.MoneroNodeClient = exports.MoneroConnectionsClient = exports.NotificationsClient = exports.DisputeAgentsClient = exports.DisputesClient = exports.AccountClient = exports.GetVersionClient = exports.HelpClient = void 0;
|
||||
exports.WalletsClient = exports.TradesClient = exports.ShutdownServerClient = exports.GetTradeStatisticsClient = exports.PriceClient = exports.PaymentAccountsClient = exports.OffersClient = exports.XmrNodeClient = exports.XmrConnectionsClient = exports.NotificationsClient = exports.DisputeAgentsClient = exports.DisputesClient = exports.AccountClient = exports.GetVersionClient = exports.HelpClient = void 0;
|
||||
// GENERATED CODE -- DO NOT EDIT!
|
||||
/* eslint-disable */
|
||||
// @ts-nocheck
|
||||
@ -341,39 +341,39 @@ class NotificationsClient {
|
||||
}
|
||||
}
|
||||
exports.NotificationsClient = NotificationsClient;
|
||||
class MoneroConnectionsClient {
|
||||
class XmrConnectionsClient {
|
||||
constructor(hostname, credentials, options) {
|
||||
this.methodDescriptorAddConnection = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroConnections/AddConnection', grpcWeb.MethodType.UNARY, grpc_pb.AddConnectionRequest, grpc_pb.AddConnectionReply, (request) => {
|
||||
this.methodDescriptorAddConnection = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrConnections/AddConnection', grpcWeb.MethodType.UNARY, grpc_pb.AddConnectionRequest, grpc_pb.AddConnectionReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.AddConnectionReply.deserializeBinary);
|
||||
this.methodDescriptorRemoveConnection = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroConnections/RemoveConnection', grpcWeb.MethodType.UNARY, grpc_pb.RemoveConnectionRequest, grpc_pb.RemoveConnectionReply, (request) => {
|
||||
this.methodDescriptorRemoveConnection = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrConnections/RemoveConnection', grpcWeb.MethodType.UNARY, grpc_pb.RemoveConnectionRequest, grpc_pb.RemoveConnectionReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.RemoveConnectionReply.deserializeBinary);
|
||||
this.methodDescriptorGetConnection = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroConnections/GetConnection', grpcWeb.MethodType.UNARY, grpc_pb.GetConnectionRequest, grpc_pb.GetConnectionReply, (request) => {
|
||||
this.methodDescriptorGetConnection = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrConnections/GetConnection', grpcWeb.MethodType.UNARY, grpc_pb.GetConnectionRequest, grpc_pb.GetConnectionReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.GetConnectionReply.deserializeBinary);
|
||||
this.methodDescriptorGetConnections = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroConnections/GetConnections', grpcWeb.MethodType.UNARY, grpc_pb.GetConnectionsRequest, grpc_pb.GetConnectionsReply, (request) => {
|
||||
this.methodDescriptorGetConnections = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrConnections/GetConnections', grpcWeb.MethodType.UNARY, grpc_pb.GetConnectionsRequest, grpc_pb.GetConnectionsReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.GetConnectionsReply.deserializeBinary);
|
||||
this.methodDescriptorSetConnection = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroConnections/SetConnection', grpcWeb.MethodType.UNARY, grpc_pb.SetConnectionRequest, grpc_pb.SetConnectionReply, (request) => {
|
||||
this.methodDescriptorSetConnection = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrConnections/SetConnection', grpcWeb.MethodType.UNARY, grpc_pb.SetConnectionRequest, grpc_pb.SetConnectionReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.SetConnectionReply.deserializeBinary);
|
||||
this.methodDescriptorCheckConnection = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroConnections/CheckConnection', grpcWeb.MethodType.UNARY, grpc_pb.CheckConnectionRequest, grpc_pb.CheckConnectionReply, (request) => {
|
||||
this.methodDescriptorCheckConnection = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrConnections/CheckConnection', grpcWeb.MethodType.UNARY, grpc_pb.CheckConnectionRequest, grpc_pb.CheckConnectionReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.CheckConnectionReply.deserializeBinary);
|
||||
this.methodDescriptorCheckConnections = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroConnections/CheckConnections', grpcWeb.MethodType.UNARY, grpc_pb.CheckConnectionsRequest, grpc_pb.CheckConnectionsReply, (request) => {
|
||||
this.methodDescriptorCheckConnections = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrConnections/CheckConnections', grpcWeb.MethodType.UNARY, grpc_pb.CheckConnectionsRequest, grpc_pb.CheckConnectionsReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.CheckConnectionsReply.deserializeBinary);
|
||||
this.methodDescriptorStartCheckingConnections = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroConnections/StartCheckingConnections', grpcWeb.MethodType.UNARY, grpc_pb.StartCheckingConnectionsRequest, grpc_pb.StartCheckingConnectionsReply, (request) => {
|
||||
this.methodDescriptorStartCheckingConnections = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrConnections/StartCheckingConnections', grpcWeb.MethodType.UNARY, grpc_pb.StartCheckingConnectionsRequest, grpc_pb.StartCheckingConnectionsReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.StartCheckingConnectionsReply.deserializeBinary);
|
||||
this.methodDescriptorStopCheckingConnections = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroConnections/StopCheckingConnections', grpcWeb.MethodType.UNARY, grpc_pb.StopCheckingConnectionsRequest, grpc_pb.StopCheckingConnectionsReply, (request) => {
|
||||
this.methodDescriptorStopCheckingConnections = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrConnections/StopCheckingConnections', grpcWeb.MethodType.UNARY, grpc_pb.StopCheckingConnectionsRequest, grpc_pb.StopCheckingConnectionsReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.StopCheckingConnectionsReply.deserializeBinary);
|
||||
this.methodDescriptorGetBestAvailableConnection = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroConnections/GetBestAvailableConnection', grpcWeb.MethodType.UNARY, grpc_pb.GetBestAvailableConnectionRequest, grpc_pb.GetBestAvailableConnectionReply, (request) => {
|
||||
this.methodDescriptorGetBestAvailableConnection = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrConnections/GetBestAvailableConnection', grpcWeb.MethodType.UNARY, grpc_pb.GetBestAvailableConnectionRequest, grpc_pb.GetBestAvailableConnectionReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.GetBestAvailableConnectionReply.deserializeBinary);
|
||||
this.methodDescriptorSetAutoSwitch = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroConnections/SetAutoSwitch', grpcWeb.MethodType.UNARY, grpc_pb.SetAutoSwitchRequest, grpc_pb.SetAutoSwitchReply, (request) => {
|
||||
this.methodDescriptorSetAutoSwitch = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrConnections/SetAutoSwitch', grpcWeb.MethodType.UNARY, grpc_pb.SetAutoSwitchRequest, grpc_pb.SetAutoSwitchReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.SetAutoSwitchReply.deserializeBinary);
|
||||
if (!options)
|
||||
@ -389,107 +389,107 @@ class MoneroConnectionsClient {
|
||||
addConnection(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/AddConnection', request, metadata || {}, this.methodDescriptorAddConnection, callback);
|
||||
'/io.haveno.protobuffer.XmrConnections/AddConnection', request, metadata || {}, this.methodDescriptorAddConnection, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/AddConnection', request, metadata || {}, this.methodDescriptorAddConnection);
|
||||
'/io.haveno.protobuffer.XmrConnections/AddConnection', request, metadata || {}, this.methodDescriptorAddConnection);
|
||||
}
|
||||
removeConnection(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/RemoveConnection', request, metadata || {}, this.methodDescriptorRemoveConnection, callback);
|
||||
'/io.haveno.protobuffer.XmrConnections/RemoveConnection', request, metadata || {}, this.methodDescriptorRemoveConnection, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/RemoveConnection', request, metadata || {}, this.methodDescriptorRemoveConnection);
|
||||
'/io.haveno.protobuffer.XmrConnections/RemoveConnection', request, metadata || {}, this.methodDescriptorRemoveConnection);
|
||||
}
|
||||
getConnection(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/GetConnection', request, metadata || {}, this.methodDescriptorGetConnection, callback);
|
||||
'/io.haveno.protobuffer.XmrConnections/GetConnection', request, metadata || {}, this.methodDescriptorGetConnection, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/GetConnection', request, metadata || {}, this.methodDescriptorGetConnection);
|
||||
'/io.haveno.protobuffer.XmrConnections/GetConnection', request, metadata || {}, this.methodDescriptorGetConnection);
|
||||
}
|
||||
getConnections(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/GetConnections', request, metadata || {}, this.methodDescriptorGetConnections, callback);
|
||||
'/io.haveno.protobuffer.XmrConnections/GetConnections', request, metadata || {}, this.methodDescriptorGetConnections, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/GetConnections', request, metadata || {}, this.methodDescriptorGetConnections);
|
||||
'/io.haveno.protobuffer.XmrConnections/GetConnections', request, metadata || {}, this.methodDescriptorGetConnections);
|
||||
}
|
||||
setConnection(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/SetConnection', request, metadata || {}, this.methodDescriptorSetConnection, callback);
|
||||
'/io.haveno.protobuffer.XmrConnections/SetConnection', request, metadata || {}, this.methodDescriptorSetConnection, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/SetConnection', request, metadata || {}, this.methodDescriptorSetConnection);
|
||||
'/io.haveno.protobuffer.XmrConnections/SetConnection', request, metadata || {}, this.methodDescriptorSetConnection);
|
||||
}
|
||||
checkConnection(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/CheckConnection', request, metadata || {}, this.methodDescriptorCheckConnection, callback);
|
||||
'/io.haveno.protobuffer.XmrConnections/CheckConnection', request, metadata || {}, this.methodDescriptorCheckConnection, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/CheckConnection', request, metadata || {}, this.methodDescriptorCheckConnection);
|
||||
'/io.haveno.protobuffer.XmrConnections/CheckConnection', request, metadata || {}, this.methodDescriptorCheckConnection);
|
||||
}
|
||||
checkConnections(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/CheckConnections', request, metadata || {}, this.methodDescriptorCheckConnections, callback);
|
||||
'/io.haveno.protobuffer.XmrConnections/CheckConnections', request, metadata || {}, this.methodDescriptorCheckConnections, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/CheckConnections', request, metadata || {}, this.methodDescriptorCheckConnections);
|
||||
'/io.haveno.protobuffer.XmrConnections/CheckConnections', request, metadata || {}, this.methodDescriptorCheckConnections);
|
||||
}
|
||||
startCheckingConnections(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/StartCheckingConnections', request, metadata || {}, this.methodDescriptorStartCheckingConnections, callback);
|
||||
'/io.haveno.protobuffer.XmrConnections/StartCheckingConnections', request, metadata || {}, this.methodDescriptorStartCheckingConnections, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/StartCheckingConnections', request, metadata || {}, this.methodDescriptorStartCheckingConnections);
|
||||
'/io.haveno.protobuffer.XmrConnections/StartCheckingConnections', request, metadata || {}, this.methodDescriptorStartCheckingConnections);
|
||||
}
|
||||
stopCheckingConnections(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/StopCheckingConnections', request, metadata || {}, this.methodDescriptorStopCheckingConnections, callback);
|
||||
'/io.haveno.protobuffer.XmrConnections/StopCheckingConnections', request, metadata || {}, this.methodDescriptorStopCheckingConnections, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/StopCheckingConnections', request, metadata || {}, this.methodDescriptorStopCheckingConnections);
|
||||
'/io.haveno.protobuffer.XmrConnections/StopCheckingConnections', request, metadata || {}, this.methodDescriptorStopCheckingConnections);
|
||||
}
|
||||
getBestAvailableConnection(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/GetBestAvailableConnection', request, metadata || {}, this.methodDescriptorGetBestAvailableConnection, callback);
|
||||
'/io.haveno.protobuffer.XmrConnections/GetBestAvailableConnection', request, metadata || {}, this.methodDescriptorGetBestAvailableConnection, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/GetBestAvailableConnection', request, metadata || {}, this.methodDescriptorGetBestAvailableConnection);
|
||||
'/io.haveno.protobuffer.XmrConnections/GetBestAvailableConnection', request, metadata || {}, this.methodDescriptorGetBestAvailableConnection);
|
||||
}
|
||||
setAutoSwitch(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/SetAutoSwitch', request, metadata || {}, this.methodDescriptorSetAutoSwitch, callback);
|
||||
'/io.haveno.protobuffer.XmrConnections/SetAutoSwitch', request, metadata || {}, this.methodDescriptorSetAutoSwitch, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroConnections/SetAutoSwitch', request, metadata || {}, this.methodDescriptorSetAutoSwitch);
|
||||
'/io.haveno.protobuffer.XmrConnections/SetAutoSwitch', request, metadata || {}, this.methodDescriptorSetAutoSwitch);
|
||||
}
|
||||
}
|
||||
exports.MoneroConnectionsClient = MoneroConnectionsClient;
|
||||
class MoneroNodeClient {
|
||||
exports.XmrConnectionsClient = XmrConnectionsClient;
|
||||
class XmrNodeClient {
|
||||
constructor(hostname, credentials, options) {
|
||||
this.methodDescriptorIsMoneroNodeOnline = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroNode/IsMoneroNodeOnline', grpcWeb.MethodType.UNARY, grpc_pb.IsMoneroNodeOnlineRequest, grpc_pb.IsMoneroNodeOnlineReply, (request) => {
|
||||
this.methodDescriptorIsXmrNodeOnline = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrNode/IsXmrNodeOnline', grpcWeb.MethodType.UNARY, grpc_pb.IsXmrNodeOnlineRequest, grpc_pb.IsXmrNodeOnlineReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.IsMoneroNodeOnlineReply.deserializeBinary);
|
||||
this.methodDescriptorGetMoneroNodeSettings = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroNode/GetMoneroNodeSettings', grpcWeb.MethodType.UNARY, grpc_pb.GetMoneroNodeSettingsRequest, grpc_pb.GetMoneroNodeSettingsReply, (request) => {
|
||||
}, grpc_pb.IsXmrNodeOnlineReply.deserializeBinary);
|
||||
this.methodDescriptorGetXmrNodeSettings = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrNode/GetXmrNodeSettings', grpcWeb.MethodType.UNARY, grpc_pb.GetXmrNodeSettingsRequest, grpc_pb.GetXmrNodeSettingsReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.GetMoneroNodeSettingsReply.deserializeBinary);
|
||||
this.methodDescriptorStartMoneroNode = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroNode/StartMoneroNode', grpcWeb.MethodType.UNARY, grpc_pb.StartMoneroNodeRequest, grpc_pb.StartMoneroNodeReply, (request) => {
|
||||
}, grpc_pb.GetXmrNodeSettingsReply.deserializeBinary);
|
||||
this.methodDescriptorStartXmrNode = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrNode/StartXmrNode', grpcWeb.MethodType.UNARY, grpc_pb.StartXmrNodeRequest, grpc_pb.StartXmrNodeReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.StartMoneroNodeReply.deserializeBinary);
|
||||
this.methodDescriptorStopMoneroNode = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.MoneroNode/StopMoneroNode', grpcWeb.MethodType.UNARY, grpc_pb.StopMoneroNodeRequest, grpc_pb.StopMoneroNodeReply, (request) => {
|
||||
}, grpc_pb.StartXmrNodeReply.deserializeBinary);
|
||||
this.methodDescriptorStopXmrNode = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.XmrNode/StopXmrNode', grpcWeb.MethodType.UNARY, grpc_pb.StopXmrNodeRequest, grpc_pb.StopXmrNodeReply, (request) => {
|
||||
return request.serializeBinary();
|
||||
}, grpc_pb.StopMoneroNodeReply.deserializeBinary);
|
||||
}, grpc_pb.StopXmrNodeReply.deserializeBinary);
|
||||
if (!options)
|
||||
options = {};
|
||||
if (!credentials)
|
||||
@ -500,40 +500,40 @@ class MoneroNodeClient {
|
||||
this.credentials_ = credentials;
|
||||
this.options_ = options;
|
||||
}
|
||||
isMoneroNodeOnline(request, metadata, callback) {
|
||||
isXmrNodeOnline(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroNode/IsMoneroNodeOnline', request, metadata || {}, this.methodDescriptorIsMoneroNodeOnline, callback);
|
||||
'/io.haveno.protobuffer.XmrNode/IsXmrNodeOnline', request, metadata || {}, this.methodDescriptorIsXmrNodeOnline, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroNode/IsMoneroNodeOnline', request, metadata || {}, this.methodDescriptorIsMoneroNodeOnline);
|
||||
'/io.haveno.protobuffer.XmrNode/IsXmrNodeOnline', request, metadata || {}, this.methodDescriptorIsXmrNodeOnline);
|
||||
}
|
||||
getMoneroNodeSettings(request, metadata, callback) {
|
||||
getXmrNodeSettings(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroNode/GetMoneroNodeSettings', request, metadata || {}, this.methodDescriptorGetMoneroNodeSettings, callback);
|
||||
'/io.haveno.protobuffer.XmrNode/GetXmrNodeSettings', request, metadata || {}, this.methodDescriptorGetXmrNodeSettings, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroNode/GetMoneroNodeSettings', request, metadata || {}, this.methodDescriptorGetMoneroNodeSettings);
|
||||
'/io.haveno.protobuffer.XmrNode/GetXmrNodeSettings', request, metadata || {}, this.methodDescriptorGetXmrNodeSettings);
|
||||
}
|
||||
startMoneroNode(request, metadata, callback) {
|
||||
startXmrNode(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroNode/StartMoneroNode', request, metadata || {}, this.methodDescriptorStartMoneroNode, callback);
|
||||
'/io.haveno.protobuffer.XmrNode/StartXmrNode', request, metadata || {}, this.methodDescriptorStartXmrNode, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroNode/StartMoneroNode', request, metadata || {}, this.methodDescriptorStartMoneroNode);
|
||||
'/io.haveno.protobuffer.XmrNode/StartXmrNode', request, metadata || {}, this.methodDescriptorStartXmrNode);
|
||||
}
|
||||
stopMoneroNode(request, metadata, callback) {
|
||||
stopXmrNode(request, metadata, callback) {
|
||||
if (callback !== undefined) {
|
||||
return this.client_.rpcCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroNode/StopMoneroNode', request, metadata || {}, this.methodDescriptorStopMoneroNode, callback);
|
||||
'/io.haveno.protobuffer.XmrNode/StopXmrNode', request, metadata || {}, this.methodDescriptorStopXmrNode, callback);
|
||||
}
|
||||
return this.client_.unaryCall(this.hostname_ +
|
||||
'/io.haveno.protobuffer.MoneroNode/StopMoneroNode', request, metadata || {}, this.methodDescriptorStopMoneroNode);
|
||||
'/io.haveno.protobuffer.XmrNode/StopXmrNode', request, metadata || {}, this.methodDescriptorStopXmrNode);
|
||||
}
|
||||
}
|
||||
exports.MoneroNodeClient = MoneroNodeClient;
|
||||
exports.XmrNodeClient = XmrNodeClient;
|
||||
class OffersClient {
|
||||
constructor(hostname, credentials, options) {
|
||||
this.methodDescriptorGetOffer = new grpcWeb.MethodDescriptor('/io.haveno.protobuffer.Offers/GetOffer', grpcWeb.MethodType.UNARY, grpc_pb.GetOfferRequest, grpc_pb.GetOfferReply, (request) => {
|
||||
|
2
dist/protobuf/GrpcServiceClientPb.js.map
vendored
2
dist/protobuf/GrpcServiceClientPb.js.map
vendored
File diff suppressed because one or more lines are too long
130
dist/protobuf/grpc_pb.d.ts
vendored
130
dist/protobuf/grpc_pb.d.ts
vendored
@ -1183,130 +1183,130 @@ export namespace SetAutoSwitchReply {
|
||||
}
|
||||
}
|
||||
|
||||
export class IsMoneroNodeOnlineRequest extends jspb.Message {
|
||||
export class IsXmrNodeOnlineRequest extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): IsMoneroNodeOnlineRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: IsMoneroNodeOnlineRequest): IsMoneroNodeOnlineRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: IsMoneroNodeOnlineRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): IsMoneroNodeOnlineRequest;
|
||||
static deserializeBinaryFromReader(message: IsMoneroNodeOnlineRequest, reader: jspb.BinaryReader): IsMoneroNodeOnlineRequest;
|
||||
toObject(includeInstance?: boolean): IsXmrNodeOnlineRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: IsXmrNodeOnlineRequest): IsXmrNodeOnlineRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: IsXmrNodeOnlineRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): IsXmrNodeOnlineRequest;
|
||||
static deserializeBinaryFromReader(message: IsXmrNodeOnlineRequest, reader: jspb.BinaryReader): IsXmrNodeOnlineRequest;
|
||||
}
|
||||
|
||||
export namespace IsMoneroNodeOnlineRequest {
|
||||
export namespace IsXmrNodeOnlineRequest {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
||||
|
||||
export class IsMoneroNodeOnlineReply extends jspb.Message {
|
||||
export class IsXmrNodeOnlineReply extends jspb.Message {
|
||||
getIsRunning(): boolean;
|
||||
setIsRunning(value: boolean): IsMoneroNodeOnlineReply;
|
||||
setIsRunning(value: boolean): IsXmrNodeOnlineReply;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): IsMoneroNodeOnlineReply.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: IsMoneroNodeOnlineReply): IsMoneroNodeOnlineReply.AsObject;
|
||||
static serializeBinaryToWriter(message: IsMoneroNodeOnlineReply, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): IsMoneroNodeOnlineReply;
|
||||
static deserializeBinaryFromReader(message: IsMoneroNodeOnlineReply, reader: jspb.BinaryReader): IsMoneroNodeOnlineReply;
|
||||
toObject(includeInstance?: boolean): IsXmrNodeOnlineReply.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: IsXmrNodeOnlineReply): IsXmrNodeOnlineReply.AsObject;
|
||||
static serializeBinaryToWriter(message: IsXmrNodeOnlineReply, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): IsXmrNodeOnlineReply;
|
||||
static deserializeBinaryFromReader(message: IsXmrNodeOnlineReply, reader: jspb.BinaryReader): IsXmrNodeOnlineReply;
|
||||
}
|
||||
|
||||
export namespace IsMoneroNodeOnlineReply {
|
||||
export namespace IsXmrNodeOnlineReply {
|
||||
export type AsObject = {
|
||||
isRunning: boolean,
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMoneroNodeSettingsRequest extends jspb.Message {
|
||||
export class GetXmrNodeSettingsRequest extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMoneroNodeSettingsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMoneroNodeSettingsRequest): GetMoneroNodeSettingsRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: GetMoneroNodeSettingsRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMoneroNodeSettingsRequest;
|
||||
static deserializeBinaryFromReader(message: GetMoneroNodeSettingsRequest, reader: jspb.BinaryReader): GetMoneroNodeSettingsRequest;
|
||||
toObject(includeInstance?: boolean): GetXmrNodeSettingsRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetXmrNodeSettingsRequest): GetXmrNodeSettingsRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: GetXmrNodeSettingsRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetXmrNodeSettingsRequest;
|
||||
static deserializeBinaryFromReader(message: GetXmrNodeSettingsRequest, reader: jspb.BinaryReader): GetXmrNodeSettingsRequest;
|
||||
}
|
||||
|
||||
export namespace GetMoneroNodeSettingsRequest {
|
||||
export namespace GetXmrNodeSettingsRequest {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
||||
|
||||
export class GetMoneroNodeSettingsReply extends jspb.Message {
|
||||
getSettings(): pb_pb.MoneroNodeSettings | undefined;
|
||||
setSettings(value?: pb_pb.MoneroNodeSettings): GetMoneroNodeSettingsReply;
|
||||
export class GetXmrNodeSettingsReply extends jspb.Message {
|
||||
getSettings(): pb_pb.XmrNodeSettings | undefined;
|
||||
setSettings(value?: pb_pb.XmrNodeSettings): GetXmrNodeSettingsReply;
|
||||
hasSettings(): boolean;
|
||||
clearSettings(): GetMoneroNodeSettingsReply;
|
||||
clearSettings(): GetXmrNodeSettingsReply;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): GetMoneroNodeSettingsReply.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetMoneroNodeSettingsReply): GetMoneroNodeSettingsReply.AsObject;
|
||||
static serializeBinaryToWriter(message: GetMoneroNodeSettingsReply, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetMoneroNodeSettingsReply;
|
||||
static deserializeBinaryFromReader(message: GetMoneroNodeSettingsReply, reader: jspb.BinaryReader): GetMoneroNodeSettingsReply;
|
||||
toObject(includeInstance?: boolean): GetXmrNodeSettingsReply.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: GetXmrNodeSettingsReply): GetXmrNodeSettingsReply.AsObject;
|
||||
static serializeBinaryToWriter(message: GetXmrNodeSettingsReply, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): GetXmrNodeSettingsReply;
|
||||
static deserializeBinaryFromReader(message: GetXmrNodeSettingsReply, reader: jspb.BinaryReader): GetXmrNodeSettingsReply;
|
||||
}
|
||||
|
||||
export namespace GetMoneroNodeSettingsReply {
|
||||
export namespace GetXmrNodeSettingsReply {
|
||||
export type AsObject = {
|
||||
settings?: pb_pb.MoneroNodeSettings.AsObject,
|
||||
settings?: pb_pb.XmrNodeSettings.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class StartMoneroNodeRequest extends jspb.Message {
|
||||
getSettings(): pb_pb.MoneroNodeSettings | undefined;
|
||||
setSettings(value?: pb_pb.MoneroNodeSettings): StartMoneroNodeRequest;
|
||||
export class StartXmrNodeRequest extends jspb.Message {
|
||||
getSettings(): pb_pb.XmrNodeSettings | undefined;
|
||||
setSettings(value?: pb_pb.XmrNodeSettings): StartXmrNodeRequest;
|
||||
hasSettings(): boolean;
|
||||
clearSettings(): StartMoneroNodeRequest;
|
||||
clearSettings(): StartXmrNodeRequest;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): StartMoneroNodeRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StartMoneroNodeRequest): StartMoneroNodeRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: StartMoneroNodeRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StartMoneroNodeRequest;
|
||||
static deserializeBinaryFromReader(message: StartMoneroNodeRequest, reader: jspb.BinaryReader): StartMoneroNodeRequest;
|
||||
toObject(includeInstance?: boolean): StartXmrNodeRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StartXmrNodeRequest): StartXmrNodeRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: StartXmrNodeRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StartXmrNodeRequest;
|
||||
static deserializeBinaryFromReader(message: StartXmrNodeRequest, reader: jspb.BinaryReader): StartXmrNodeRequest;
|
||||
}
|
||||
|
||||
export namespace StartMoneroNodeRequest {
|
||||
export namespace StartXmrNodeRequest {
|
||||
export type AsObject = {
|
||||
settings?: pb_pb.MoneroNodeSettings.AsObject,
|
||||
settings?: pb_pb.XmrNodeSettings.AsObject,
|
||||
}
|
||||
}
|
||||
|
||||
export class StartMoneroNodeReply extends jspb.Message {
|
||||
export class StartXmrNodeReply extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): StartMoneroNodeReply.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StartMoneroNodeReply): StartMoneroNodeReply.AsObject;
|
||||
static serializeBinaryToWriter(message: StartMoneroNodeReply, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StartMoneroNodeReply;
|
||||
static deserializeBinaryFromReader(message: StartMoneroNodeReply, reader: jspb.BinaryReader): StartMoneroNodeReply;
|
||||
toObject(includeInstance?: boolean): StartXmrNodeReply.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StartXmrNodeReply): StartXmrNodeReply.AsObject;
|
||||
static serializeBinaryToWriter(message: StartXmrNodeReply, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StartXmrNodeReply;
|
||||
static deserializeBinaryFromReader(message: StartXmrNodeReply, reader: jspb.BinaryReader): StartXmrNodeReply;
|
||||
}
|
||||
|
||||
export namespace StartMoneroNodeReply {
|
||||
export namespace StartXmrNodeReply {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
||||
|
||||
export class StopMoneroNodeRequest extends jspb.Message {
|
||||
export class StopXmrNodeRequest extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): StopMoneroNodeRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StopMoneroNodeRequest): StopMoneroNodeRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: StopMoneroNodeRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StopMoneroNodeRequest;
|
||||
static deserializeBinaryFromReader(message: StopMoneroNodeRequest, reader: jspb.BinaryReader): StopMoneroNodeRequest;
|
||||
toObject(includeInstance?: boolean): StopXmrNodeRequest.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StopXmrNodeRequest): StopXmrNodeRequest.AsObject;
|
||||
static serializeBinaryToWriter(message: StopXmrNodeRequest, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StopXmrNodeRequest;
|
||||
static deserializeBinaryFromReader(message: StopXmrNodeRequest, reader: jspb.BinaryReader): StopXmrNodeRequest;
|
||||
}
|
||||
|
||||
export namespace StopMoneroNodeRequest {
|
||||
export namespace StopXmrNodeRequest {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
||||
|
||||
export class StopMoneroNodeReply extends jspb.Message {
|
||||
export class StopXmrNodeReply extends jspb.Message {
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): StopMoneroNodeReply.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StopMoneroNodeReply): StopMoneroNodeReply.AsObject;
|
||||
static serializeBinaryToWriter(message: StopMoneroNodeReply, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StopMoneroNodeReply;
|
||||
static deserializeBinaryFromReader(message: StopMoneroNodeReply, reader: jspb.BinaryReader): StopMoneroNodeReply;
|
||||
toObject(includeInstance?: boolean): StopXmrNodeReply.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: StopXmrNodeReply): StopXmrNodeReply.AsObject;
|
||||
static serializeBinaryToWriter(message: StopXmrNodeReply, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): StopXmrNodeReply;
|
||||
static deserializeBinaryFromReader(message: StopXmrNodeReply, reader: jspb.BinaryReader): StopXmrNodeReply;
|
||||
}
|
||||
|
||||
export namespace StopMoneroNodeReply {
|
||||
export namespace StopXmrNodeReply {
|
||||
export type AsObject = {
|
||||
}
|
||||
}
|
||||
|
370
dist/protobuf/grpc_pb.js
vendored
370
dist/protobuf/grpc_pb.js
vendored
@ -76,8 +76,6 @@ goog.exportSymbol('proto.io.haveno.protobuffer.GetFundingAddressesReply', null,
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetFundingAddressesRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetMethodHelpReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetMethodHelpRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetMyOfferReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetMyOfferRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetMyOffersReply', null, global);
|
||||
@ -105,6 +103,8 @@ goog.exportSymbol('proto.io.haveno.protobuffer.GetVersionReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetVersionRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetXmrNewSubaddressReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetXmrNewSubaddressRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetXmrNodeSettingsReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetXmrPrimaryAddressReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetXmrPrimaryAddressRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.GetXmrSeedReply', null, global);
|
||||
@ -115,8 +115,8 @@ goog.exportSymbol('proto.io.haveno.protobuffer.IsAccountOpenReply', null, global
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.IsAccountOpenRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.IsAppInitializedReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.IsAppInitializedRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.IsXmrNodeOnlineReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.LockWalletReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.LockWalletRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.MarketDepthInfo', null, global);
|
||||
@ -164,14 +164,14 @@ goog.exportSymbol('proto.io.haveno.protobuffer.SetWalletPasswordReply', null, gl
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.SetWalletPasswordRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StartCheckingConnectionsReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StartCheckingConnectionsRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StartMoneroNodeReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StartMoneroNodeRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StartXmrNodeReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StartXmrNodeRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StopCheckingConnectionsReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StopCheckingConnectionsRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StopMoneroNodeReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StopMoneroNodeRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StopReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StopRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StopXmrNodeReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.StopXmrNodeRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.TakeOfferReply', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.TakeOfferRequest', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.TradeInfo', null, global);
|
||||
@ -1566,16 +1566,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest = function(opt_data) {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest, jspb.Message);
|
||||
goog.inherits(proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.displayName = 'proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest';
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest.displayName = 'proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -1587,16 +1587,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply = function(opt_data) {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineReply = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply, jspb.Message);
|
||||
goog.inherits(proto.io.haveno.protobuffer.IsXmrNodeOnlineReply, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.displayName = 'proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply';
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineReply.displayName = 'proto.io.haveno.protobuffer.IsXmrNodeOnlineReply';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -1608,16 +1608,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest = function(opt_data) {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest, jspb.Message);
|
||||
goog.inherits(proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.displayName = 'proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest';
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest.displayName = 'proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -1629,16 +1629,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply = function(opt_data) {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply, jspb.Message);
|
||||
goog.inherits(proto.io.haveno.protobuffer.GetXmrNodeSettingsReply, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.displayName = 'proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply';
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.displayName = 'proto.io.haveno.protobuffer.GetXmrNodeSettingsReply';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -1650,16 +1650,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest = function(opt_data) {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.io.haveno.protobuffer.StartMoneroNodeRequest, jspb.Message);
|
||||
goog.inherits(proto.io.haveno.protobuffer.StartXmrNodeRequest, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest.displayName = 'proto.io.haveno.protobuffer.StartMoneroNodeRequest';
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest.displayName = 'proto.io.haveno.protobuffer.StartXmrNodeRequest';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -1671,16 +1671,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeReply = function(opt_data) {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeReply = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.io.haveno.protobuffer.StartMoneroNodeReply, jspb.Message);
|
||||
goog.inherits(proto.io.haveno.protobuffer.StartXmrNodeReply, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeReply.displayName = 'proto.io.haveno.protobuffer.StartMoneroNodeReply';
|
||||
proto.io.haveno.protobuffer.StartXmrNodeReply.displayName = 'proto.io.haveno.protobuffer.StartXmrNodeReply';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -1692,16 +1692,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeRequest = function(opt_data) {
|
||||
proto.io.haveno.protobuffer.StopXmrNodeRequest = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.io.haveno.protobuffer.StopMoneroNodeRequest, jspb.Message);
|
||||
goog.inherits(proto.io.haveno.protobuffer.StopXmrNodeRequest, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeRequest.displayName = 'proto.io.haveno.protobuffer.StopMoneroNodeRequest';
|
||||
proto.io.haveno.protobuffer.StopXmrNodeRequest.displayName = 'proto.io.haveno.protobuffer.StopXmrNodeRequest';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -1713,16 +1713,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeReply = function(opt_data) {
|
||||
proto.io.haveno.protobuffer.StopXmrNodeReply = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
||||
};
|
||||
goog.inherits(proto.io.haveno.protobuffer.StopMoneroNodeReply, jspb.Message);
|
||||
goog.inherits(proto.io.haveno.protobuffer.StopXmrNodeReply, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeReply.displayName = 'proto.io.haveno.protobuffer.StopMoneroNodeReply';
|
||||
proto.io.haveno.protobuffer.StopXmrNodeReply.displayName = 'proto.io.haveno.protobuffer.StopXmrNodeReply';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -12346,8 +12346,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.toObject(opt_includeInstance, this);
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -12356,11 +12356,11 @@ proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.prototype.toObject = funct
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest} msg The msg instance to transform.
|
||||
* @param {!proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.toObject = function(includeInstance, msg) {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
|
||||
};
|
||||
@ -12376,23 +12376,23 @@ proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.toObject = function(includ
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest}
|
||||
* @return {!proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.deserializeBinary = function(bytes) {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest;
|
||||
return proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest;
|
||||
return proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest} msg The message object to deserialize into.
|
||||
* @param {!proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest}
|
||||
* @return {!proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -12412,9 +12412,9 @@ proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.deserializeBinaryFromReade
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.prototype.serializeBinary = function() {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.serializeBinaryToWriter(this, writer);
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -12422,11 +12422,11 @@ proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.prototype.serializeBinary
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest} message
|
||||
* @param {!proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
};
|
||||
|
||||
@ -12447,8 +12447,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.toObject(opt_includeInstance, this);
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineReply.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.IsXmrNodeOnlineReply.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -12457,11 +12457,11 @@ proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.prototype.toObject = functio
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply} msg The msg instance to transform.
|
||||
* @param {!proto.io.haveno.protobuffer.IsXmrNodeOnlineReply} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.toObject = function(includeInstance, msg) {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineReply.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
isRunning: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
||||
};
|
||||
@ -12477,23 +12477,23 @@ proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.toObject = function(includeI
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply}
|
||||
* @return {!proto.io.haveno.protobuffer.IsXmrNodeOnlineReply}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.deserializeBinary = function(bytes) {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineReply.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply;
|
||||
return proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.io.haveno.protobuffer.IsXmrNodeOnlineReply;
|
||||
return proto.io.haveno.protobuffer.IsXmrNodeOnlineReply.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply} msg The message object to deserialize into.
|
||||
* @param {!proto.io.haveno.protobuffer.IsXmrNodeOnlineReply} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply}
|
||||
* @return {!proto.io.haveno.protobuffer.IsXmrNodeOnlineReply}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineReply.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -12517,9 +12517,9 @@ proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.deserializeBinaryFromReader
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.prototype.serializeBinary = function() {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineReply.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.serializeBinaryToWriter(this, writer);
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineReply.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -12527,11 +12527,11 @@ proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.prototype.serializeBinary =
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply} message
|
||||
* @param {!proto.io.haveno.protobuffer.IsXmrNodeOnlineReply} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineReply.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getIsRunning();
|
||||
if (f) {
|
||||
@ -12547,16 +12547,16 @@ proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.serializeBinaryToWriter = fu
|
||||
* optional bool is_running = 1;
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.prototype.getIsRunning = function() {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineReply.prototype.getIsRunning = function() {
|
||||
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {boolean} value
|
||||
* @return {!proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply} returns this
|
||||
* @return {!proto.io.haveno.protobuffer.IsXmrNodeOnlineReply} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.IsMoneroNodeOnlineReply.prototype.setIsRunning = function(value) {
|
||||
proto.io.haveno.protobuffer.IsXmrNodeOnlineReply.prototype.setIsRunning = function(value) {
|
||||
return jspb.Message.setProto3BooleanField(this, 1, value);
|
||||
};
|
||||
|
||||
@ -12577,8 +12577,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.toObject(opt_includeInstance, this);
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -12587,11 +12587,11 @@ proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.prototype.toObject = fu
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest} msg The msg instance to transform.
|
||||
* @param {!proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.toObject = function(includeInstance, msg) {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
|
||||
};
|
||||
@ -12607,23 +12607,23 @@ proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.toObject = function(inc
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest}
|
||||
* @return {!proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.deserializeBinary = function(bytes) {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest;
|
||||
return proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest;
|
||||
return proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest} msg The message object to deserialize into.
|
||||
* @param {!proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest}
|
||||
* @return {!proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -12643,9 +12643,9 @@ proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.deserializeBinaryFromRe
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.prototype.serializeBinary = function() {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.serializeBinaryToWriter(this, writer);
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -12653,11 +12653,11 @@ proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.prototype.serializeBina
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest} message
|
||||
* @param {!proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
};
|
||||
|
||||
@ -12678,8 +12678,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.toObject(opt_includeInstance, this);
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -12688,13 +12688,13 @@ proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.prototype.toObject = func
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply} msg The msg instance to transform.
|
||||
* @param {!proto.io.haveno.protobuffer.GetXmrNodeSettingsReply} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.toObject = function(includeInstance, msg) {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
settings: (f = msg.getSettings()) && pb_pb.MoneroNodeSettings.toObject(includeInstance, f)
|
||||
settings: (f = msg.getSettings()) && pb_pb.XmrNodeSettings.toObject(includeInstance, f)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
@ -12708,23 +12708,23 @@ proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.toObject = function(inclu
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply}
|
||||
* @return {!proto.io.haveno.protobuffer.GetXmrNodeSettingsReply}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.deserializeBinary = function(bytes) {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply;
|
||||
return proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.io.haveno.protobuffer.GetXmrNodeSettingsReply;
|
||||
return proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply} msg The message object to deserialize into.
|
||||
* @param {!proto.io.haveno.protobuffer.GetXmrNodeSettingsReply} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply}
|
||||
* @return {!proto.io.haveno.protobuffer.GetXmrNodeSettingsReply}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -12732,8 +12732,8 @@ proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.deserializeBinaryFromRead
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new pb_pb.MoneroNodeSettings;
|
||||
reader.readMessage(value,pb_pb.MoneroNodeSettings.deserializeBinaryFromReader);
|
||||
var value = new pb_pb.XmrNodeSettings;
|
||||
reader.readMessage(value,pb_pb.XmrNodeSettings.deserializeBinaryFromReader);
|
||||
msg.setSettings(value);
|
||||
break;
|
||||
default:
|
||||
@ -12749,9 +12749,9 @@ proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.deserializeBinaryFromRead
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.prototype.serializeBinary = function() {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.serializeBinaryToWriter(this, writer);
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -12759,47 +12759,47 @@ proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.prototype.serializeBinary
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply} message
|
||||
* @param {!proto.io.haveno.protobuffer.GetXmrNodeSettingsReply} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getSettings();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
1,
|
||||
f,
|
||||
pb_pb.MoneroNodeSettings.serializeBinaryToWriter
|
||||
pb_pb.XmrNodeSettings.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional MoneroNodeSettings settings = 1;
|
||||
* @return {?proto.io.haveno.protobuffer.MoneroNodeSettings}
|
||||
* optional XmrNodeSettings settings = 1;
|
||||
* @return {?proto.io.haveno.protobuffer.XmrNodeSettings}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.prototype.getSettings = function() {
|
||||
return /** @type{?proto.io.haveno.protobuffer.MoneroNodeSettings} */ (
|
||||
jspb.Message.getWrapperField(this, pb_pb.MoneroNodeSettings, 1));
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.prototype.getSettings = function() {
|
||||
return /** @type{?proto.io.haveno.protobuffer.XmrNodeSettings} */ (
|
||||
jspb.Message.getWrapperField(this, pb_pb.XmrNodeSettings, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.io.haveno.protobuffer.MoneroNodeSettings|undefined} value
|
||||
* @return {!proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply} returns this
|
||||
* @param {?proto.io.haveno.protobuffer.XmrNodeSettings|undefined} value
|
||||
* @return {!proto.io.haveno.protobuffer.GetXmrNodeSettingsReply} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.prototype.setSettings = function(value) {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.prototype.setSettings = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply} returns this
|
||||
* @return {!proto.io.haveno.protobuffer.GetXmrNodeSettingsReply} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.prototype.clearSettings = function() {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.prototype.clearSettings = function() {
|
||||
return this.setSettings(undefined);
|
||||
};
|
||||
|
||||
@ -12808,7 +12808,7 @@ proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.prototype.clearSettings =
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.GetMoneroNodeSettingsReply.prototype.hasSettings = function() {
|
||||
proto.io.haveno.protobuffer.GetXmrNodeSettingsReply.prototype.hasSettings = function() {
|
||||
return jspb.Message.getField(this, 1) != null;
|
||||
};
|
||||
|
||||
@ -12829,8 +12829,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.StartMoneroNodeRequest.toObject(opt_includeInstance, this);
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.StartXmrNodeRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -12839,13 +12839,13 @@ proto.io.haveno.protobuffer.StartMoneroNodeRequest.prototype.toObject = function
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.haveno.protobuffer.StartMoneroNodeRequest} msg The msg instance to transform.
|
||||
* @param {!proto.io.haveno.protobuffer.StartXmrNodeRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest.toObject = function(includeInstance, msg) {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
settings: (f = msg.getSettings()) && pb_pb.MoneroNodeSettings.toObject(includeInstance, f)
|
||||
settings: (f = msg.getSettings()) && pb_pb.XmrNodeSettings.toObject(includeInstance, f)
|
||||
};
|
||||
|
||||
if (includeInstance) {
|
||||
@ -12859,23 +12859,23 @@ proto.io.haveno.protobuffer.StartMoneroNodeRequest.toObject = function(includeIn
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.haveno.protobuffer.StartMoneroNodeRequest}
|
||||
* @return {!proto.io.haveno.protobuffer.StartXmrNodeRequest}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest.deserializeBinary = function(bytes) {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.haveno.protobuffer.StartMoneroNodeRequest;
|
||||
return proto.io.haveno.protobuffer.StartMoneroNodeRequest.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.io.haveno.protobuffer.StartXmrNodeRequest;
|
||||
return proto.io.haveno.protobuffer.StartXmrNodeRequest.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.haveno.protobuffer.StartMoneroNodeRequest} msg The message object to deserialize into.
|
||||
* @param {!proto.io.haveno.protobuffer.StartXmrNodeRequest} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.haveno.protobuffer.StartMoneroNodeRequest}
|
||||
* @return {!proto.io.haveno.protobuffer.StartXmrNodeRequest}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -12883,8 +12883,8 @@ proto.io.haveno.protobuffer.StartMoneroNodeRequest.deserializeBinaryFromReader =
|
||||
var field = reader.getFieldNumber();
|
||||
switch (field) {
|
||||
case 1:
|
||||
var value = new pb_pb.MoneroNodeSettings;
|
||||
reader.readMessage(value,pb_pb.MoneroNodeSettings.deserializeBinaryFromReader);
|
||||
var value = new pb_pb.XmrNodeSettings;
|
||||
reader.readMessage(value,pb_pb.XmrNodeSettings.deserializeBinaryFromReader);
|
||||
msg.setSettings(value);
|
||||
break;
|
||||
default:
|
||||
@ -12900,9 +12900,9 @@ proto.io.haveno.protobuffer.StartMoneroNodeRequest.deserializeBinaryFromReader =
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest.prototype.serializeBinary = function() {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest.serializeBinaryToWriter(this, writer);
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -12910,47 +12910,47 @@ proto.io.haveno.protobuffer.StartMoneroNodeRequest.prototype.serializeBinary = f
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.haveno.protobuffer.StartMoneroNodeRequest} message
|
||||
* @param {!proto.io.haveno.protobuffer.StartXmrNodeRequest} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getSettings();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
1,
|
||||
f,
|
||||
pb_pb.MoneroNodeSettings.serializeBinaryToWriter
|
||||
pb_pb.XmrNodeSettings.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional MoneroNodeSettings settings = 1;
|
||||
* @return {?proto.io.haveno.protobuffer.MoneroNodeSettings}
|
||||
* optional XmrNodeSettings settings = 1;
|
||||
* @return {?proto.io.haveno.protobuffer.XmrNodeSettings}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest.prototype.getSettings = function() {
|
||||
return /** @type{?proto.io.haveno.protobuffer.MoneroNodeSettings} */ (
|
||||
jspb.Message.getWrapperField(this, pb_pb.MoneroNodeSettings, 1));
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest.prototype.getSettings = function() {
|
||||
return /** @type{?proto.io.haveno.protobuffer.XmrNodeSettings} */ (
|
||||
jspb.Message.getWrapperField(this, pb_pb.XmrNodeSettings, 1));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.io.haveno.protobuffer.MoneroNodeSettings|undefined} value
|
||||
* @return {!proto.io.haveno.protobuffer.StartMoneroNodeRequest} returns this
|
||||
* @param {?proto.io.haveno.protobuffer.XmrNodeSettings|undefined} value
|
||||
* @return {!proto.io.haveno.protobuffer.StartXmrNodeRequest} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest.prototype.setSettings = function(value) {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest.prototype.setSettings = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 1, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.io.haveno.protobuffer.StartMoneroNodeRequest} returns this
|
||||
* @return {!proto.io.haveno.protobuffer.StartXmrNodeRequest} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest.prototype.clearSettings = function() {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest.prototype.clearSettings = function() {
|
||||
return this.setSettings(undefined);
|
||||
};
|
||||
|
||||
@ -12959,7 +12959,7 @@ proto.io.haveno.protobuffer.StartMoneroNodeRequest.prototype.clearSettings = fun
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeRequest.prototype.hasSettings = function() {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeRequest.prototype.hasSettings = function() {
|
||||
return jspb.Message.getField(this, 1) != null;
|
||||
};
|
||||
|
||||
@ -12980,8 +12980,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeReply.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.StartMoneroNodeReply.toObject(opt_includeInstance, this);
|
||||
proto.io.haveno.protobuffer.StartXmrNodeReply.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.StartXmrNodeReply.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -12990,11 +12990,11 @@ proto.io.haveno.protobuffer.StartMoneroNodeReply.prototype.toObject = function(o
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.haveno.protobuffer.StartMoneroNodeReply} msg The msg instance to transform.
|
||||
* @param {!proto.io.haveno.protobuffer.StartXmrNodeReply} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeReply.toObject = function(includeInstance, msg) {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeReply.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
|
||||
};
|
||||
@ -13010,23 +13010,23 @@ proto.io.haveno.protobuffer.StartMoneroNodeReply.toObject = function(includeInst
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.haveno.protobuffer.StartMoneroNodeReply}
|
||||
* @return {!proto.io.haveno.protobuffer.StartXmrNodeReply}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeReply.deserializeBinary = function(bytes) {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeReply.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.haveno.protobuffer.StartMoneroNodeReply;
|
||||
return proto.io.haveno.protobuffer.StartMoneroNodeReply.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.io.haveno.protobuffer.StartXmrNodeReply;
|
||||
return proto.io.haveno.protobuffer.StartXmrNodeReply.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.haveno.protobuffer.StartMoneroNodeReply} msg The message object to deserialize into.
|
||||
* @param {!proto.io.haveno.protobuffer.StartXmrNodeReply} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.haveno.protobuffer.StartMoneroNodeReply}
|
||||
* @return {!proto.io.haveno.protobuffer.StartXmrNodeReply}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeReply.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeReply.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -13046,9 +13046,9 @@ proto.io.haveno.protobuffer.StartMoneroNodeReply.deserializeBinaryFromReader = f
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeReply.prototype.serializeBinary = function() {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeReply.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeReply.serializeBinaryToWriter(this, writer);
|
||||
proto.io.haveno.protobuffer.StartXmrNodeReply.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -13056,11 +13056,11 @@ proto.io.haveno.protobuffer.StartMoneroNodeReply.prototype.serializeBinary = fun
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.haveno.protobuffer.StartMoneroNodeReply} message
|
||||
* @param {!proto.io.haveno.protobuffer.StartXmrNodeReply} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StartMoneroNodeReply.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.io.haveno.protobuffer.StartXmrNodeReply.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
};
|
||||
|
||||
@ -13081,8 +13081,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.StopMoneroNodeRequest.toObject(opt_includeInstance, this);
|
||||
proto.io.haveno.protobuffer.StopXmrNodeRequest.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.StopXmrNodeRequest.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -13091,11 +13091,11 @@ proto.io.haveno.protobuffer.StopMoneroNodeRequest.prototype.toObject = function(
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.haveno.protobuffer.StopMoneroNodeRequest} msg The msg instance to transform.
|
||||
* @param {!proto.io.haveno.protobuffer.StopXmrNodeRequest} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeRequest.toObject = function(includeInstance, msg) {
|
||||
proto.io.haveno.protobuffer.StopXmrNodeRequest.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
|
||||
};
|
||||
@ -13111,23 +13111,23 @@ proto.io.haveno.protobuffer.StopMoneroNodeRequest.toObject = function(includeIns
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.haveno.protobuffer.StopMoneroNodeRequest}
|
||||
* @return {!proto.io.haveno.protobuffer.StopXmrNodeRequest}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeRequest.deserializeBinary = function(bytes) {
|
||||
proto.io.haveno.protobuffer.StopXmrNodeRequest.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.haveno.protobuffer.StopMoneroNodeRequest;
|
||||
return proto.io.haveno.protobuffer.StopMoneroNodeRequest.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.io.haveno.protobuffer.StopXmrNodeRequest;
|
||||
return proto.io.haveno.protobuffer.StopXmrNodeRequest.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.haveno.protobuffer.StopMoneroNodeRequest} msg The message object to deserialize into.
|
||||
* @param {!proto.io.haveno.protobuffer.StopXmrNodeRequest} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.haveno.protobuffer.StopMoneroNodeRequest}
|
||||
* @return {!proto.io.haveno.protobuffer.StopXmrNodeRequest}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.io.haveno.protobuffer.StopXmrNodeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -13147,9 +13147,9 @@ proto.io.haveno.protobuffer.StopMoneroNodeRequest.deserializeBinaryFromReader =
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeRequest.prototype.serializeBinary = function() {
|
||||
proto.io.haveno.protobuffer.StopXmrNodeRequest.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeRequest.serializeBinaryToWriter(this, writer);
|
||||
proto.io.haveno.protobuffer.StopXmrNodeRequest.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -13157,11 +13157,11 @@ proto.io.haveno.protobuffer.StopMoneroNodeRequest.prototype.serializeBinary = fu
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.haveno.protobuffer.StopMoneroNodeRequest} message
|
||||
* @param {!proto.io.haveno.protobuffer.StopXmrNodeRequest} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.io.haveno.protobuffer.StopXmrNodeRequest.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
};
|
||||
|
||||
@ -13182,8 +13182,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeReply.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.StopMoneroNodeReply.toObject(opt_includeInstance, this);
|
||||
proto.io.haveno.protobuffer.StopXmrNodeReply.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.StopXmrNodeReply.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -13192,11 +13192,11 @@ proto.io.haveno.protobuffer.StopMoneroNodeReply.prototype.toObject = function(op
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.haveno.protobuffer.StopMoneroNodeReply} msg The msg instance to transform.
|
||||
* @param {!proto.io.haveno.protobuffer.StopXmrNodeReply} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeReply.toObject = function(includeInstance, msg) {
|
||||
proto.io.haveno.protobuffer.StopXmrNodeReply.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
|
||||
};
|
||||
@ -13212,23 +13212,23 @@ proto.io.haveno.protobuffer.StopMoneroNodeReply.toObject = function(includeInsta
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.haveno.protobuffer.StopMoneroNodeReply}
|
||||
* @return {!proto.io.haveno.protobuffer.StopXmrNodeReply}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeReply.deserializeBinary = function(bytes) {
|
||||
proto.io.haveno.protobuffer.StopXmrNodeReply.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.haveno.protobuffer.StopMoneroNodeReply;
|
||||
return proto.io.haveno.protobuffer.StopMoneroNodeReply.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.io.haveno.protobuffer.StopXmrNodeReply;
|
||||
return proto.io.haveno.protobuffer.StopXmrNodeReply.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.haveno.protobuffer.StopMoneroNodeReply} msg The message object to deserialize into.
|
||||
* @param {!proto.io.haveno.protobuffer.StopXmrNodeReply} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.haveno.protobuffer.StopMoneroNodeReply}
|
||||
* @return {!proto.io.haveno.protobuffer.StopXmrNodeReply}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeReply.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.io.haveno.protobuffer.StopXmrNodeReply.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -13248,9 +13248,9 @@ proto.io.haveno.protobuffer.StopMoneroNodeReply.deserializeBinaryFromReader = fu
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeReply.prototype.serializeBinary = function() {
|
||||
proto.io.haveno.protobuffer.StopXmrNodeReply.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeReply.serializeBinaryToWriter(this, writer);
|
||||
proto.io.haveno.protobuffer.StopXmrNodeReply.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -13258,11 +13258,11 @@ proto.io.haveno.protobuffer.StopMoneroNodeReply.prototype.serializeBinary = func
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.haveno.protobuffer.StopMoneroNodeReply} message
|
||||
* @param {!proto.io.haveno.protobuffer.StopXmrNodeReply} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.StopMoneroNodeReply.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.io.haveno.protobuffer.StopXmrNodeReply.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
};
|
||||
|
||||
|
2
dist/protobuf/grpc_pb.js.map
vendored
2
dist/protobuf/grpc_pb.js.map
vendored
File diff suppressed because one or more lines are too long
70
dist/protobuf/pb_pb.d.ts
vendored
70
dist/protobuf/pb_pb.d.ts
vendored
@ -6379,21 +6379,6 @@ export class ProcessModel extends jspb.Message {
|
||||
getMultisigAddress(): string;
|
||||
setMultisigAddress(value: string): ProcessModel;
|
||||
|
||||
getPaymentSentMessage(): PaymentSentMessage | undefined;
|
||||
setPaymentSentMessage(value?: PaymentSentMessage): ProcessModel;
|
||||
hasPaymentSentMessage(): boolean;
|
||||
clearPaymentSentMessage(): ProcessModel;
|
||||
|
||||
getPaymentReceivedMessage(): PaymentReceivedMessage | undefined;
|
||||
setPaymentReceivedMessage(value?: PaymentReceivedMessage): ProcessModel;
|
||||
hasPaymentReceivedMessage(): boolean;
|
||||
clearPaymentReceivedMessage(): ProcessModel;
|
||||
|
||||
getDisputeClosedMessage(): DisputeClosedMessage | undefined;
|
||||
setDisputeClosedMessage(value?: DisputeClosedMessage): ProcessModel;
|
||||
hasDisputeClosedMessage(): boolean;
|
||||
clearDisputeClosedMessage(): ProcessModel;
|
||||
|
||||
getMediatedPayoutTxSignature(): Uint8Array | string;
|
||||
getMediatedPayoutTxSignature_asU8(): Uint8Array;
|
||||
getMediatedPayoutTxSignature_asB64(): string;
|
||||
@ -6428,9 +6413,6 @@ export namespace ProcessModel {
|
||||
arbitrator?: TradePeer.AsObject,
|
||||
tempTradePeerNodeAddress?: NodeAddress.AsObject,
|
||||
multisigAddress: string,
|
||||
paymentSentMessage?: PaymentSentMessage.AsObject,
|
||||
paymentReceivedMessage?: PaymentReceivedMessage.AsObject,
|
||||
disputeClosedMessage?: DisputeClosedMessage.AsObject,
|
||||
mediatedPayoutTxSignature: Uint8Array | string,
|
||||
buyerPayoutAmountFromMediation: number,
|
||||
sellerPayoutAmountFromMediation: number,
|
||||
@ -6511,6 +6493,21 @@ export class TradePeer extends jspb.Message {
|
||||
getMediatedPayoutTxSignature_asB64(): string;
|
||||
setMediatedPayoutTxSignature(value: Uint8Array | string): TradePeer;
|
||||
|
||||
getPaymentSentMessage(): PaymentSentMessage | undefined;
|
||||
setPaymentSentMessage(value?: PaymentSentMessage): TradePeer;
|
||||
hasPaymentSentMessage(): boolean;
|
||||
clearPaymentSentMessage(): TradePeer;
|
||||
|
||||
getPaymentReceivedMessage(): PaymentReceivedMessage | undefined;
|
||||
setPaymentReceivedMessage(value?: PaymentReceivedMessage): TradePeer;
|
||||
hasPaymentReceivedMessage(): boolean;
|
||||
clearPaymentReceivedMessage(): TradePeer;
|
||||
|
||||
getDisputeClosedMessage(): DisputeClosedMessage | undefined;
|
||||
setDisputeClosedMessage(value?: DisputeClosedMessage): TradePeer;
|
||||
hasDisputeClosedMessage(): boolean;
|
||||
clearDisputeClosedMessage(): TradePeer;
|
||||
|
||||
getReserveTxHash(): string;
|
||||
setReserveTxHash(value: string): TradePeer;
|
||||
|
||||
@ -6582,6 +6579,9 @@ export namespace TradePeer {
|
||||
accountAgeWitness?: AccountAgeWitness.AsObject,
|
||||
currentDate: number,
|
||||
mediatedPayoutTxSignature: Uint8Array | string,
|
||||
paymentSentMessage?: PaymentSentMessage.AsObject,
|
||||
paymentReceivedMessage?: PaymentReceivedMessage.AsObject,
|
||||
disputeClosedMessage?: DisputeClosedMessage.AsObject,
|
||||
reserveTxHash: string,
|
||||
reserveTxHex: string,
|
||||
reserveTxKey: string,
|
||||
@ -6927,10 +6927,10 @@ export class PreferencesPayload extends jspb.Message {
|
||||
getNotifyOnPreRelease(): boolean;
|
||||
setNotifyOnPreRelease(value: boolean): PreferencesPayload;
|
||||
|
||||
getMoneroNodeSettings(): MoneroNodeSettings | undefined;
|
||||
setMoneroNodeSettings(value?: MoneroNodeSettings): PreferencesPayload;
|
||||
hasMoneroNodeSettings(): boolean;
|
||||
clearMoneroNodeSettings(): PreferencesPayload;
|
||||
getXmrNodeSettings(): XmrNodeSettings | undefined;
|
||||
setXmrNodeSettings(value?: XmrNodeSettings): PreferencesPayload;
|
||||
hasXmrNodeSettings(): boolean;
|
||||
clearXmrNodeSettings(): PreferencesPayload;
|
||||
|
||||
getClearDataAfterDays(): number;
|
||||
setClearDataAfterDays(value: number): PreferencesPayload;
|
||||
@ -7011,7 +7011,7 @@ export namespace PreferencesPayload {
|
||||
showOffersMatchingMyAccounts: boolean,
|
||||
denyApiTaker: boolean,
|
||||
notifyOnPreRelease: boolean,
|
||||
moneroNodeSettings?: MoneroNodeSettings.AsObject,
|
||||
xmrNodeSettings?: XmrNodeSettings.AsObject,
|
||||
clearDataAfterDays: number,
|
||||
buyScreenCryptoCurrencyCode: string,
|
||||
sellScreenCryptoCurrencyCode: string,
|
||||
@ -7055,27 +7055,27 @@ export namespace AutoConfirmSettings {
|
||||
}
|
||||
}
|
||||
|
||||
export class MoneroNodeSettings extends jspb.Message {
|
||||
export class XmrNodeSettings extends jspb.Message {
|
||||
getBlockchainPath(): string;
|
||||
setBlockchainPath(value: string): MoneroNodeSettings;
|
||||
setBlockchainPath(value: string): XmrNodeSettings;
|
||||
|
||||
getBootstrapUrl(): string;
|
||||
setBootstrapUrl(value: string): MoneroNodeSettings;
|
||||
setBootstrapUrl(value: string): XmrNodeSettings;
|
||||
|
||||
getStartupFlagsList(): Array<string>;
|
||||
setStartupFlagsList(value: Array<string>): MoneroNodeSettings;
|
||||
clearStartupFlagsList(): MoneroNodeSettings;
|
||||
addStartupFlags(value: string, index?: number): MoneroNodeSettings;
|
||||
setStartupFlagsList(value: Array<string>): XmrNodeSettings;
|
||||
clearStartupFlagsList(): XmrNodeSettings;
|
||||
addStartupFlags(value: string, index?: number): XmrNodeSettings;
|
||||
|
||||
serializeBinary(): Uint8Array;
|
||||
toObject(includeInstance?: boolean): MoneroNodeSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: MoneroNodeSettings): MoneroNodeSettings.AsObject;
|
||||
static serializeBinaryToWriter(message: MoneroNodeSettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): MoneroNodeSettings;
|
||||
static deserializeBinaryFromReader(message: MoneroNodeSettings, reader: jspb.BinaryReader): MoneroNodeSettings;
|
||||
toObject(includeInstance?: boolean): XmrNodeSettings.AsObject;
|
||||
static toObject(includeInstance: boolean, msg: XmrNodeSettings): XmrNodeSettings.AsObject;
|
||||
static serializeBinaryToWriter(message: XmrNodeSettings, writer: jspb.BinaryWriter): void;
|
||||
static deserializeBinary(bytes: Uint8Array): XmrNodeSettings;
|
||||
static deserializeBinaryFromReader(message: XmrNodeSettings, reader: jspb.BinaryReader): XmrNodeSettings;
|
||||
}
|
||||
|
||||
export namespace MoneroNodeSettings {
|
||||
export namespace XmrNodeSettings {
|
||||
export type AsObject = {
|
||||
blockchainPath: string,
|
||||
bootstrapUrl: string,
|
||||
|
406
dist/protobuf/pb_pb.js
vendored
406
dist/protobuf/pb_pb.js
vendored
@ -105,7 +105,6 @@ goog.exportSymbol('proto.io.haveno.protobuffer.MediationResultState', null, glob
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.Mediator', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.MockMailboxPayload', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.MockPayload', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.MoneroNodeSettings', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.MoneseAccountPayload', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.MoneyBeamAccountPayload', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.MoneyGramAccountPayload', null, global);
|
||||
@ -231,6 +230,7 @@ goog.exportSymbol('proto.io.haveno.protobuffer.WesternUnionAccountPayload', null
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.XmrAddressEntry', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.XmrAddressEntry.Context', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.XmrAddressEntryList', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.XmrNodeSettings', null, global);
|
||||
goog.exportSymbol('proto.io.haveno.protobuffer.ZelleAccountPayload', null, global);
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -3749,16 +3749,16 @@ if (goog.DEBUG && !COMPILED) {
|
||||
* @extends {jspb.Message}
|
||||
* @constructor
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.haveno.protobuffer.MoneroNodeSettings.repeatedFields_, null);
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings = function(opt_data) {
|
||||
jspb.Message.initialize(this, opt_data, 0, -1, proto.io.haveno.protobuffer.XmrNodeSettings.repeatedFields_, null);
|
||||
};
|
||||
goog.inherits(proto.io.haveno.protobuffer.MoneroNodeSettings, jspb.Message);
|
||||
goog.inherits(proto.io.haveno.protobuffer.XmrNodeSettings, jspb.Message);
|
||||
if (goog.DEBUG && !COMPILED) {
|
||||
/**
|
||||
* @public
|
||||
* @override
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.displayName = 'proto.io.haveno.protobuffer.MoneroNodeSettings';
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.displayName = 'proto.io.haveno.protobuffer.XmrNodeSettings';
|
||||
}
|
||||
/**
|
||||
* Generated by JsPbCodeGenerator.
|
||||
@ -51200,9 +51200,6 @@ proto.io.haveno.protobuffer.ProcessModel.toObject = function(includeInstance, ms
|
||||
arbitrator: (f = msg.getArbitrator()) && proto.io.haveno.protobuffer.TradePeer.toObject(includeInstance, f),
|
||||
tempTradePeerNodeAddress: (f = msg.getTempTradePeerNodeAddress()) && proto.io.haveno.protobuffer.NodeAddress.toObject(includeInstance, f),
|
||||
multisigAddress: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
||||
paymentSentMessage: (f = msg.getPaymentSentMessage()) && proto.io.haveno.protobuffer.PaymentSentMessage.toObject(includeInstance, f),
|
||||
paymentReceivedMessage: (f = msg.getPaymentReceivedMessage()) && proto.io.haveno.protobuffer.PaymentReceivedMessage.toObject(includeInstance, f),
|
||||
disputeClosedMessage: (f = msg.getDisputeClosedMessage()) && proto.io.haveno.protobuffer.DisputeClosedMessage.toObject(includeInstance, f),
|
||||
mediatedPayoutTxSignature: msg.getMediatedPayoutTxSignature_asB64(),
|
||||
buyerPayoutAmountFromMediation: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
||||
sellerPayoutAmountFromMediation: jspb.Message.getFieldWithDefault(msg, 19, 0)
|
||||
@ -51299,21 +51296,6 @@ proto.io.haveno.protobuffer.ProcessModel.deserializeBinaryFromReader = function(
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setMultisigAddress(value);
|
||||
break;
|
||||
case 14:
|
||||
var value = new proto.io.haveno.protobuffer.PaymentSentMessage;
|
||||
reader.readMessage(value,proto.io.haveno.protobuffer.PaymentSentMessage.deserializeBinaryFromReader);
|
||||
msg.setPaymentSentMessage(value);
|
||||
break;
|
||||
case 15:
|
||||
var value = new proto.io.haveno.protobuffer.PaymentReceivedMessage;
|
||||
reader.readMessage(value,proto.io.haveno.protobuffer.PaymentReceivedMessage.deserializeBinaryFromReader);
|
||||
msg.setPaymentReceivedMessage(value);
|
||||
break;
|
||||
case 16:
|
||||
var value = new proto.io.haveno.protobuffer.DisputeClosedMessage;
|
||||
reader.readMessage(value,proto.io.haveno.protobuffer.DisputeClosedMessage.deserializeBinaryFromReader);
|
||||
msg.setDisputeClosedMessage(value);
|
||||
break;
|
||||
case 17:
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
msg.setMediatedPayoutTxSignature(value);
|
||||
@ -51451,30 +51433,6 @@ proto.io.haveno.protobuffer.ProcessModel.serializeBinaryToWriter = function(mess
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getPaymentSentMessage();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
14,
|
||||
f,
|
||||
proto.io.haveno.protobuffer.PaymentSentMessage.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getPaymentReceivedMessage();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
15,
|
||||
f,
|
||||
proto.io.haveno.protobuffer.PaymentReceivedMessage.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getDisputeClosedMessage();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
16,
|
||||
f,
|
||||
proto.io.haveno.protobuffer.DisputeClosedMessage.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getMediatedPayoutTxSignature_asU8();
|
||||
if (f.length > 0) {
|
||||
writer.writeBytes(
|
||||
@ -51876,117 +51834,6 @@ proto.io.haveno.protobuffer.ProcessModel.prototype.setMultisigAddress = function
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional PaymentSentMessage payment_sent_message = 14;
|
||||
* @return {?proto.io.haveno.protobuffer.PaymentSentMessage}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.getPaymentSentMessage = function() {
|
||||
return /** @type{?proto.io.haveno.protobuffer.PaymentSentMessage} */ (
|
||||
jspb.Message.getWrapperField(this, proto.io.haveno.protobuffer.PaymentSentMessage, 14));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.io.haveno.protobuffer.PaymentSentMessage|undefined} value
|
||||
* @return {!proto.io.haveno.protobuffer.ProcessModel} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.setPaymentSentMessage = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 14, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.io.haveno.protobuffer.ProcessModel} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.clearPaymentSentMessage = function() {
|
||||
return this.setPaymentSentMessage(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.hasPaymentSentMessage = function() {
|
||||
return jspb.Message.getField(this, 14) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional PaymentReceivedMessage payment_received_message = 15;
|
||||
* @return {?proto.io.haveno.protobuffer.PaymentReceivedMessage}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.getPaymentReceivedMessage = function() {
|
||||
return /** @type{?proto.io.haveno.protobuffer.PaymentReceivedMessage} */ (
|
||||
jspb.Message.getWrapperField(this, proto.io.haveno.protobuffer.PaymentReceivedMessage, 15));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.io.haveno.protobuffer.PaymentReceivedMessage|undefined} value
|
||||
* @return {!proto.io.haveno.protobuffer.ProcessModel} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.setPaymentReceivedMessage = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 15, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.io.haveno.protobuffer.ProcessModel} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.clearPaymentReceivedMessage = function() {
|
||||
return this.setPaymentReceivedMessage(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.hasPaymentReceivedMessage = function() {
|
||||
return jspb.Message.getField(this, 15) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional DisputeClosedMessage dispute_closed_message = 16;
|
||||
* @return {?proto.io.haveno.protobuffer.DisputeClosedMessage}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.getDisputeClosedMessage = function() {
|
||||
return /** @type{?proto.io.haveno.protobuffer.DisputeClosedMessage} */ (
|
||||
jspb.Message.getWrapperField(this, proto.io.haveno.protobuffer.DisputeClosedMessage, 16));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.io.haveno.protobuffer.DisputeClosedMessage|undefined} value
|
||||
* @return {!proto.io.haveno.protobuffer.ProcessModel} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.setDisputeClosedMessage = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 16, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.io.haveno.protobuffer.ProcessModel} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.clearDisputeClosedMessage = function() {
|
||||
return this.setDisputeClosedMessage(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.ProcessModel.prototype.hasDisputeClosedMessage = function() {
|
||||
return jspb.Message.getField(this, 16) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional bytes mediated_payout_tx_signature = 17;
|
||||
* @return {!(string|Uint8Array)}
|
||||
@ -52121,6 +51968,9 @@ proto.io.haveno.protobuffer.TradePeer.toObject = function(includeInstance, msg)
|
||||
accountAgeWitness: (f = msg.getAccountAgeWitness()) && proto.io.haveno.protobuffer.AccountAgeWitness.toObject(includeInstance, f),
|
||||
currentDate: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
||||
mediatedPayoutTxSignature: msg.getMediatedPayoutTxSignature_asB64(),
|
||||
paymentSentMessage: (f = msg.getPaymentSentMessage()) && proto.io.haveno.protobuffer.PaymentSentMessage.toObject(includeInstance, f),
|
||||
paymentReceivedMessage: (f = msg.getPaymentReceivedMessage()) && proto.io.haveno.protobuffer.PaymentReceivedMessage.toObject(includeInstance, f),
|
||||
disputeClosedMessage: (f = msg.getDisputeClosedMessage()) && proto.io.haveno.protobuffer.DisputeClosedMessage.toObject(includeInstance, f),
|
||||
reserveTxHash: jspb.Message.getFieldWithDefault(msg, 1001, ""),
|
||||
reserveTxHex: jspb.Message.getFieldWithDefault(msg, 1002, ""),
|
||||
reserveTxKey: jspb.Message.getFieldWithDefault(msg, 1003, ""),
|
||||
@ -52243,6 +52093,21 @@ proto.io.haveno.protobuffer.TradePeer.deserializeBinaryFromReader = function(msg
|
||||
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
||||
msg.setMediatedPayoutTxSignature(value);
|
||||
break;
|
||||
case 23:
|
||||
var value = new proto.io.haveno.protobuffer.PaymentSentMessage;
|
||||
reader.readMessage(value,proto.io.haveno.protobuffer.PaymentSentMessage.deserializeBinaryFromReader);
|
||||
msg.setPaymentSentMessage(value);
|
||||
break;
|
||||
case 24:
|
||||
var value = new proto.io.haveno.protobuffer.PaymentReceivedMessage;
|
||||
reader.readMessage(value,proto.io.haveno.protobuffer.PaymentReceivedMessage.deserializeBinaryFromReader);
|
||||
msg.setPaymentReceivedMessage(value);
|
||||
break;
|
||||
case 25:
|
||||
var value = new proto.io.haveno.protobuffer.DisputeClosedMessage;
|
||||
reader.readMessage(value,proto.io.haveno.protobuffer.DisputeClosedMessage.deserializeBinaryFromReader);
|
||||
msg.setDisputeClosedMessage(value);
|
||||
break;
|
||||
case 1001:
|
||||
var value = /** @type {string} */ (reader.readString());
|
||||
msg.setReserveTxHash(value);
|
||||
@ -52451,6 +52316,30 @@ proto.io.haveno.protobuffer.TradePeer.serializeBinaryToWriter = function(message
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getPaymentSentMessage();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
23,
|
||||
f,
|
||||
proto.io.haveno.protobuffer.PaymentSentMessage.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getPaymentReceivedMessage();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
24,
|
||||
f,
|
||||
proto.io.haveno.protobuffer.PaymentReceivedMessage.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getDisputeClosedMessage();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
25,
|
||||
f,
|
||||
proto.io.haveno.protobuffer.DisputeClosedMessage.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getReserveTxHash();
|
||||
if (f.length > 0) {
|
||||
writer.writeString(
|
||||
@ -53102,6 +52991,117 @@ proto.io.haveno.protobuffer.TradePeer.prototype.setMediatedPayoutTxSignature = f
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional PaymentSentMessage payment_sent_message = 23;
|
||||
* @return {?proto.io.haveno.protobuffer.PaymentSentMessage}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradePeer.prototype.getPaymentSentMessage = function() {
|
||||
return /** @type{?proto.io.haveno.protobuffer.PaymentSentMessage} */ (
|
||||
jspb.Message.getWrapperField(this, proto.io.haveno.protobuffer.PaymentSentMessage, 23));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.io.haveno.protobuffer.PaymentSentMessage|undefined} value
|
||||
* @return {!proto.io.haveno.protobuffer.TradePeer} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradePeer.prototype.setPaymentSentMessage = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 23, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.io.haveno.protobuffer.TradePeer} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradePeer.prototype.clearPaymentSentMessage = function() {
|
||||
return this.setPaymentSentMessage(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradePeer.prototype.hasPaymentSentMessage = function() {
|
||||
return jspb.Message.getField(this, 23) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional PaymentReceivedMessage payment_received_message = 24;
|
||||
* @return {?proto.io.haveno.protobuffer.PaymentReceivedMessage}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradePeer.prototype.getPaymentReceivedMessage = function() {
|
||||
return /** @type{?proto.io.haveno.protobuffer.PaymentReceivedMessage} */ (
|
||||
jspb.Message.getWrapperField(this, proto.io.haveno.protobuffer.PaymentReceivedMessage, 24));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.io.haveno.protobuffer.PaymentReceivedMessage|undefined} value
|
||||
* @return {!proto.io.haveno.protobuffer.TradePeer} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradePeer.prototype.setPaymentReceivedMessage = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 24, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.io.haveno.protobuffer.TradePeer} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradePeer.prototype.clearPaymentReceivedMessage = function() {
|
||||
return this.setPaymentReceivedMessage(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradePeer.prototype.hasPaymentReceivedMessage = function() {
|
||||
return jspb.Message.getField(this, 24) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional DisputeClosedMessage dispute_closed_message = 25;
|
||||
* @return {?proto.io.haveno.protobuffer.DisputeClosedMessage}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradePeer.prototype.getDisputeClosedMessage = function() {
|
||||
return /** @type{?proto.io.haveno.protobuffer.DisputeClosedMessage} */ (
|
||||
jspb.Message.getWrapperField(this, proto.io.haveno.protobuffer.DisputeClosedMessage, 25));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.io.haveno.protobuffer.DisputeClosedMessage|undefined} value
|
||||
* @return {!proto.io.haveno.protobuffer.TradePeer} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradePeer.prototype.setDisputeClosedMessage = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 25, value);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.io.haveno.protobuffer.TradePeer} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradePeer.prototype.clearDisputeClosedMessage = function() {
|
||||
return this.setDisputeClosedMessage(undefined);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.TradePeer.prototype.hasDisputeClosedMessage = function() {
|
||||
return jspb.Message.getField(this, 25) != null;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* optional string reserve_tx_hash = 1001;
|
||||
* @return {string}
|
||||
@ -54554,7 +54554,7 @@ proto.io.haveno.protobuffer.PreferencesPayload.toObject = function(includeInstan
|
||||
showOffersMatchingMyAccounts: jspb.Message.getBooleanFieldWithDefault(msg, 55, false),
|
||||
denyApiTaker: jspb.Message.getBooleanFieldWithDefault(msg, 56, false),
|
||||
notifyOnPreRelease: jspb.Message.getBooleanFieldWithDefault(msg, 57, false),
|
||||
moneroNodeSettings: (f = msg.getMoneroNodeSettings()) && proto.io.haveno.protobuffer.MoneroNodeSettings.toObject(includeInstance, f),
|
||||
xmrNodeSettings: (f = msg.getXmrNodeSettings()) && proto.io.haveno.protobuffer.XmrNodeSettings.toObject(includeInstance, f),
|
||||
clearDataAfterDays: jspb.Message.getFieldWithDefault(msg, 59, 0),
|
||||
buyScreenCryptoCurrencyCode: jspb.Message.getFieldWithDefault(msg, 60, ""),
|
||||
sellScreenCryptoCurrencyCode: jspb.Message.getFieldWithDefault(msg, 61, ""),
|
||||
@ -54836,9 +54836,9 @@ proto.io.haveno.protobuffer.PreferencesPayload.deserializeBinaryFromReader = fun
|
||||
msg.setNotifyOnPreRelease(value);
|
||||
break;
|
||||
case 58:
|
||||
var value = new proto.io.haveno.protobuffer.MoneroNodeSettings;
|
||||
reader.readMessage(value,proto.io.haveno.protobuffer.MoneroNodeSettings.deserializeBinaryFromReader);
|
||||
msg.setMoneroNodeSettings(value);
|
||||
var value = new proto.io.haveno.protobuffer.XmrNodeSettings;
|
||||
reader.readMessage(value,proto.io.haveno.protobuffer.XmrNodeSettings.deserializeBinaryFromReader);
|
||||
msg.setXmrNodeSettings(value);
|
||||
break;
|
||||
case 59:
|
||||
var value = /** @type {number} */ (reader.readInt32());
|
||||
@ -55286,12 +55286,12 @@ proto.io.haveno.protobuffer.PreferencesPayload.serializeBinaryToWriter = functio
|
||||
f
|
||||
);
|
||||
}
|
||||
f = message.getMoneroNodeSettings();
|
||||
f = message.getXmrNodeSettings();
|
||||
if (f != null) {
|
||||
writer.writeMessage(
|
||||
58,
|
||||
f,
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.serializeBinaryToWriter
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.serializeBinaryToWriter
|
||||
);
|
||||
}
|
||||
f = message.getClearDataAfterDays();
|
||||
@ -56553,20 +56553,20 @@ proto.io.haveno.protobuffer.PreferencesPayload.prototype.setNotifyOnPreRelease =
|
||||
|
||||
|
||||
/**
|
||||
* optional MoneroNodeSettings monero_node_settings = 58;
|
||||
* @return {?proto.io.haveno.protobuffer.MoneroNodeSettings}
|
||||
* optional XmrNodeSettings xmr_node_settings = 58;
|
||||
* @return {?proto.io.haveno.protobuffer.XmrNodeSettings}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.PreferencesPayload.prototype.getMoneroNodeSettings = function() {
|
||||
return /** @type{?proto.io.haveno.protobuffer.MoneroNodeSettings} */ (
|
||||
jspb.Message.getWrapperField(this, proto.io.haveno.protobuffer.MoneroNodeSettings, 58));
|
||||
proto.io.haveno.protobuffer.PreferencesPayload.prototype.getXmrNodeSettings = function() {
|
||||
return /** @type{?proto.io.haveno.protobuffer.XmrNodeSettings} */ (
|
||||
jspb.Message.getWrapperField(this, proto.io.haveno.protobuffer.XmrNodeSettings, 58));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {?proto.io.haveno.protobuffer.MoneroNodeSettings|undefined} value
|
||||
* @param {?proto.io.haveno.protobuffer.XmrNodeSettings|undefined} value
|
||||
* @return {!proto.io.haveno.protobuffer.PreferencesPayload} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.PreferencesPayload.prototype.setMoneroNodeSettings = function(value) {
|
||||
proto.io.haveno.protobuffer.PreferencesPayload.prototype.setXmrNodeSettings = function(value) {
|
||||
return jspb.Message.setWrapperField(this, 58, value);
|
||||
};
|
||||
|
||||
@ -56575,8 +56575,8 @@ proto.io.haveno.protobuffer.PreferencesPayload.prototype.setMoneroNodeSettings =
|
||||
* Clears the message field making it undefined.
|
||||
* @return {!proto.io.haveno.protobuffer.PreferencesPayload} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.PreferencesPayload.prototype.clearMoneroNodeSettings = function() {
|
||||
return this.setMoneroNodeSettings(undefined);
|
||||
proto.io.haveno.protobuffer.PreferencesPayload.prototype.clearXmrNodeSettings = function() {
|
||||
return this.setXmrNodeSettings(undefined);
|
||||
};
|
||||
|
||||
|
||||
@ -56584,7 +56584,7 @@ proto.io.haveno.protobuffer.PreferencesPayload.prototype.clearMoneroNodeSettings
|
||||
* Returns whether this field is set.
|
||||
* @return {boolean}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.PreferencesPayload.prototype.hasMoneroNodeSettings = function() {
|
||||
proto.io.haveno.protobuffer.PreferencesPayload.prototype.hasXmrNodeSettings = function() {
|
||||
return jspb.Message.getField(this, 58) != null;
|
||||
};
|
||||
|
||||
@ -56943,7 +56943,7 @@ proto.io.haveno.protobuffer.AutoConfirmSettings.prototype.setCurrencyCode = func
|
||||
* @private {!Array<number>}
|
||||
* @const
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.repeatedFields_ = [3];
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.repeatedFields_ = [3];
|
||||
|
||||
|
||||
|
||||
@ -56960,8 +56960,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
||||
* http://goto/soy-param-migration
|
||||
* @return {!Object}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.MoneroNodeSettings.toObject(opt_includeInstance, this);
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.prototype.toObject = function(opt_includeInstance) {
|
||||
return proto.io.haveno.protobuffer.XmrNodeSettings.toObject(opt_includeInstance, this);
|
||||
};
|
||||
|
||||
|
||||
@ -56970,11 +56970,11 @@ proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.toObject = function(opt
|
||||
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
||||
* the JSPB instance for transitional soy proto support:
|
||||
* http://goto/soy-param-migration
|
||||
* @param {!proto.io.haveno.protobuffer.MoneroNodeSettings} msg The msg instance to transform.
|
||||
* @param {!proto.io.haveno.protobuffer.XmrNodeSettings} msg The msg instance to transform.
|
||||
* @return {!Object}
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.toObject = function(includeInstance, msg) {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.toObject = function(includeInstance, msg) {
|
||||
var f, obj = {
|
||||
blockchainPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
||||
bootstrapUrl: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
||||
@ -56992,23 +56992,23 @@ proto.io.haveno.protobuffer.MoneroNodeSettings.toObject = function(includeInstan
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format).
|
||||
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
||||
* @return {!proto.io.haveno.protobuffer.MoneroNodeSettings}
|
||||
* @return {!proto.io.haveno.protobuffer.XmrNodeSettings}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.deserializeBinary = function(bytes) {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.deserializeBinary = function(bytes) {
|
||||
var reader = new jspb.BinaryReader(bytes);
|
||||
var msg = new proto.io.haveno.protobuffer.MoneroNodeSettings;
|
||||
return proto.io.haveno.protobuffer.MoneroNodeSettings.deserializeBinaryFromReader(msg, reader);
|
||||
var msg = new proto.io.haveno.protobuffer.XmrNodeSettings;
|
||||
return proto.io.haveno.protobuffer.XmrNodeSettings.deserializeBinaryFromReader(msg, reader);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Deserializes binary data (in protobuf wire format) from the
|
||||
* given reader into the given message object.
|
||||
* @param {!proto.io.haveno.protobuffer.MoneroNodeSettings} msg The message object to deserialize into.
|
||||
* @param {!proto.io.haveno.protobuffer.XmrNodeSettings} msg The message object to deserialize into.
|
||||
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
||||
* @return {!proto.io.haveno.protobuffer.MoneroNodeSettings}
|
||||
* @return {!proto.io.haveno.protobuffer.XmrNodeSettings}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.deserializeBinaryFromReader = function(msg, reader) {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.deserializeBinaryFromReader = function(msg, reader) {
|
||||
while (reader.nextField()) {
|
||||
if (reader.isEndGroup()) {
|
||||
break;
|
||||
@ -57040,9 +57040,9 @@ proto.io.haveno.protobuffer.MoneroNodeSettings.deserializeBinaryFromReader = fun
|
||||
* Serializes the message to binary data (in protobuf wire format).
|
||||
* @return {!Uint8Array}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.serializeBinary = function() {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.prototype.serializeBinary = function() {
|
||||
var writer = new jspb.BinaryWriter();
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.serializeBinaryToWriter(this, writer);
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.serializeBinaryToWriter(this, writer);
|
||||
return writer.getResultBuffer();
|
||||
};
|
||||
|
||||
@ -57050,11 +57050,11 @@ proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.serializeBinary = funct
|
||||
/**
|
||||
* Serializes the given message to binary data (in protobuf wire
|
||||
* format), writing to the given BinaryWriter.
|
||||
* @param {!proto.io.haveno.protobuffer.MoneroNodeSettings} message
|
||||
* @param {!proto.io.haveno.protobuffer.XmrNodeSettings} message
|
||||
* @param {!jspb.BinaryWriter} writer
|
||||
* @suppress {unusedLocalVariables} f is only used for nested messages
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.serializeBinaryToWriter = function(message, writer) {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.serializeBinaryToWriter = function(message, writer) {
|
||||
var f = undefined;
|
||||
f = message.getBlockchainPath();
|
||||
if (f.length > 0) {
|
||||
@ -57084,16 +57084,16 @@ proto.io.haveno.protobuffer.MoneroNodeSettings.serializeBinaryToWriter = functio
|
||||
* optional string blockchain_path = 1;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.getBlockchainPath = function() {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.prototype.getBlockchainPath = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.io.haveno.protobuffer.MoneroNodeSettings} returns this
|
||||
* @return {!proto.io.haveno.protobuffer.XmrNodeSettings} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.setBlockchainPath = function(value) {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.prototype.setBlockchainPath = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 1, value);
|
||||
};
|
||||
|
||||
@ -57102,16 +57102,16 @@ proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.setBlockchainPath = fun
|
||||
* optional string bootstrap_url = 2;
|
||||
* @return {string}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.getBootstrapUrl = function() {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.prototype.getBootstrapUrl = function() {
|
||||
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {string} value
|
||||
* @return {!proto.io.haveno.protobuffer.MoneroNodeSettings} returns this
|
||||
* @return {!proto.io.haveno.protobuffer.XmrNodeSettings} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.setBootstrapUrl = function(value) {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.prototype.setBootstrapUrl = function(value) {
|
||||
return jspb.Message.setProto3StringField(this, 2, value);
|
||||
};
|
||||
|
||||
@ -57120,16 +57120,16 @@ proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.setBootstrapUrl = funct
|
||||
* repeated string startup_flags = 3;
|
||||
* @return {!Array<string>}
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.getStartupFlagsList = function() {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.prototype.getStartupFlagsList = function() {
|
||||
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @param {!Array<string>} value
|
||||
* @return {!proto.io.haveno.protobuffer.MoneroNodeSettings} returns this
|
||||
* @return {!proto.io.haveno.protobuffer.XmrNodeSettings} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.setStartupFlagsList = function(value) {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.prototype.setStartupFlagsList = function(value) {
|
||||
return jspb.Message.setField(this, 3, value || []);
|
||||
};
|
||||
|
||||
@ -57137,18 +57137,18 @@ proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.setStartupFlagsList = f
|
||||
/**
|
||||
* @param {string} value
|
||||
* @param {number=} opt_index
|
||||
* @return {!proto.io.haveno.protobuffer.MoneroNodeSettings} returns this
|
||||
* @return {!proto.io.haveno.protobuffer.XmrNodeSettings} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.addStartupFlags = function(value, opt_index) {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.prototype.addStartupFlags = function(value, opt_index) {
|
||||
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Clears the list making it empty but non-null.
|
||||
* @return {!proto.io.haveno.protobuffer.MoneroNodeSettings} returns this
|
||||
* @return {!proto.io.haveno.protobuffer.XmrNodeSettings} returns this
|
||||
*/
|
||||
proto.io.haveno.protobuffer.MoneroNodeSettings.prototype.clearStartupFlagsList = function() {
|
||||
proto.io.haveno.protobuffer.XmrNodeSettings.prototype.clearStartupFlagsList = function() {
|
||||
return this.setStartupFlagsList([]);
|
||||
};
|
||||
|
||||
|
2
dist/protobuf/pb_pb.js.map
vendored
2
dist/protobuf/pb_pb.js.map
vendored
File diff suppressed because one or more lines are too long
@ -18,8 +18,8 @@ import {
|
||||
PaymentAccountForm,
|
||||
PaymentAccountFormField,
|
||||
PaymentAccount,
|
||||
MoneroNodeSettings,
|
||||
XmrDestination,
|
||||
XmrNodeSettings,
|
||||
XmrTx,
|
||||
XmrIncomingTransfer,
|
||||
XmrOutgoingTransfer,
|
||||
@ -857,7 +857,7 @@ test("Can start and stop a local Monero node (CI)", async() => {
|
||||
HavenoUtils.log(0, "Warning: local Monero node is already running, skipping start and stop local Monero node tests");
|
||||
|
||||
// expect error due to existing running node
|
||||
const newSettings = new MoneroNodeSettings();
|
||||
const newSettings = new XmrNodeSettings();
|
||||
try {
|
||||
await user1.startMoneroNode(newSettings);
|
||||
throw new Error("should have thrown");
|
||||
@ -868,7 +868,7 @@ test("Can start and stop a local Monero node (CI)", async() => {
|
||||
} else {
|
||||
|
||||
// expect error when passing in bad arguments
|
||||
const badSettings = new MoneroNodeSettings();
|
||||
const badSettings = new XmrNodeSettings();
|
||||
badSettings.setStartupFlagsList(["--invalid-flag"]);
|
||||
try {
|
||||
await user1.startMoneroNode(badSettings);
|
||||
@ -879,7 +879,7 @@ test("Can start and stop a local Monero node (CI)", async() => {
|
||||
|
||||
// expect successful start with custom settings
|
||||
const connectionsBefore = await user1.getMoneroConnections();
|
||||
const settings: MoneroNodeSettings = new MoneroNodeSettings();
|
||||
const settings: XmrNodeSettings = new XmrNodeSettings();
|
||||
const dataDir = TestConfig.moneroBinsDir + "/" + TestConfig.baseCurrencyNetwork + "/node1";
|
||||
const logFile = dataDir + "/test.log";
|
||||
const p2pPort = 38086;
|
||||
@ -901,7 +901,7 @@ test("Can start and stop a local Monero node (CI)", async() => {
|
||||
assert(height >= 0);
|
||||
|
||||
// expect error due to existing running node
|
||||
const newSettings = new MoneroNodeSettings();
|
||||
const newSettings = new XmrNodeSettings();
|
||||
try {
|
||||
await user1.startMoneroNode(newSettings);
|
||||
throw new Error("should have thrown");
|
||||
@ -3689,7 +3689,7 @@ function testOffer(offer: OfferInfo, ctx?: Partial<TradeContext>) {
|
||||
}
|
||||
}
|
||||
|
||||
function testMoneroNodeSettingsEqual(settingsBefore: MoneroNodeSettings, settingsAfter: MoneroNodeSettings) {
|
||||
function testMoneroNodeSettingsEqual(settingsBefore: XmrNodeSettings, settingsAfter: XmrNodeSettings) {
|
||||
expect(settingsBefore.getBlockchainPath()).toEqual(settingsAfter.getBlockchainPath());
|
||||
expect(settingsBefore.getBootstrapUrl()).toEqual(settingsAfter.getBootstrapUrl());
|
||||
expect(settingsBefore.getStartupFlagsList()).toEqual(settingsAfter.getStartupFlagsList());
|
||||
|
@ -3,9 +3,9 @@ import HavenoError from "./types/HavenoError";
|
||||
import HavenoUtils from "./utils/HavenoUtils";
|
||||
import TaskLooper from "./utils/TaskLooper";
|
||||
import type * as grpcWeb from "grpc-web";
|
||||
import { GetVersionClient, AccountClient, MoneroConnectionsClient, DisputesClient, DisputeAgentsClient, NotificationsClient, WalletsClient, PriceClient, OffersClient, PaymentAccountsClient, TradesClient, ShutdownServerClient, MoneroNodeClient } from './protobuf/GrpcServiceClientPb';
|
||||
import { GetVersionRequest, GetVersionReply, IsAppInitializedRequest, IsAppInitializedReply, RegisterDisputeAgentRequest, UnregisterDisputeAgentRequest, MarketPriceRequest, MarketPriceReply, MarketPricesRequest, MarketPricesReply, MarketPriceInfo, MarketDepthRequest, MarketDepthReply, MarketDepthInfo, GetBalancesRequest, GetBalancesReply, XmrBalanceInfo, GetMyOfferRequest, GetMyOfferReply, GetOffersRequest, GetOffersReply, OfferInfo, GetPaymentMethodsRequest, GetPaymentMethodsReply, GetPaymentAccountFormRequest, CreatePaymentAccountRequest, ValidateFormFieldRequest, CreatePaymentAccountReply, GetPaymentAccountFormReply, GetPaymentAccountsRequest, GetPaymentAccountsReply, CreateCryptoCurrencyPaymentAccountRequest, CreateCryptoCurrencyPaymentAccountReply, PostOfferRequest, PostOfferReply, CancelOfferRequest, TakeOfferRequest, TakeOfferReply, TradeInfo, GetTradeRequest, GetTradeReply, GetTradesRequest, GetTradesReply, GetXmrSeedRequest, GetXmrSeedReply, GetXmrPrimaryAddressRequest, GetXmrPrimaryAddressReply, GetXmrNewSubaddressRequest, GetXmrNewSubaddressReply, ConfirmPaymentSentRequest, ConfirmPaymentReceivedRequest, CompleteTradeRequest, XmrTx, GetXmrTxsRequest, GetXmrTxsReply, XmrDestination, CreateXmrTxRequest, CreateXmrTxReply, RelayXmrTxRequest, RelayXmrTxReply, CreateAccountRequest, AccountExistsRequest, AccountExistsReply, DeleteAccountRequest, OpenAccountRequest, IsAccountOpenRequest, IsAccountOpenReply, CloseAccountRequest, ChangePasswordRequest, BackupAccountRequest, BackupAccountReply, RestoreAccountRequest, StopRequest, NotificationMessage, RegisterNotificationListenerRequest, SendNotificationRequest, UrlConnection, AddConnectionRequest, RemoveConnectionRequest, GetConnectionRequest, GetConnectionsRequest, SetConnectionRequest, CheckConnectionRequest, CheckConnectionsReply, CheckConnectionsRequest, StartCheckingConnectionsRequest, StopCheckingConnectionsRequest, GetBestAvailableConnectionRequest, SetAutoSwitchRequest, CheckConnectionReply, GetConnectionsReply, GetConnectionReply, GetBestAvailableConnectionReply, GetDisputeRequest, GetDisputeReply, GetDisputesRequest, GetDisputesReply, OpenDisputeRequest, ResolveDisputeRequest, SendDisputeChatMessageRequest, SendChatMessageRequest, GetChatMessagesRequest, GetChatMessagesReply, StartMoneroNodeRequest, StopMoneroNodeRequest, IsMoneroNodeOnlineRequest, IsMoneroNodeOnlineReply, GetMoneroNodeSettingsRequest, GetMoneroNodeSettingsReply } from "./protobuf/grpc_pb";
|
||||
import { OfferDirection, PaymentMethod, PaymentAccountForm, PaymentAccountFormField, PaymentAccount, PaymentAccountPayload, AvailabilityResult, Attachment, DisputeResult, Dispute, ChatMessage, MoneroNodeSettings } from "./protobuf/pb_pb";
|
||||
import { GetVersionClient, AccountClient, XmrConnectionsClient, DisputesClient, DisputeAgentsClient, NotificationsClient, WalletsClient, PriceClient, OffersClient, PaymentAccountsClient, TradesClient, ShutdownServerClient, XmrNodeClient } from './protobuf/GrpcServiceClientPb';
|
||||
import { GetVersionRequest, GetVersionReply, IsAppInitializedRequest, IsAppInitializedReply, RegisterDisputeAgentRequest, UnregisterDisputeAgentRequest, MarketPriceRequest, MarketPriceReply, MarketPricesRequest, MarketPricesReply, MarketPriceInfo, MarketDepthRequest, MarketDepthReply, MarketDepthInfo, GetBalancesRequest, GetBalancesReply, XmrBalanceInfo, GetMyOfferRequest, GetMyOfferReply, GetOffersRequest, GetOffersReply, OfferInfo, GetPaymentMethodsRequest, GetPaymentMethodsReply, GetPaymentAccountFormRequest, CreatePaymentAccountRequest, ValidateFormFieldRequest, CreatePaymentAccountReply, GetPaymentAccountFormReply, GetPaymentAccountsRequest, GetPaymentAccountsReply, CreateCryptoCurrencyPaymentAccountRequest, CreateCryptoCurrencyPaymentAccountReply, PostOfferRequest, PostOfferReply, CancelOfferRequest, TakeOfferRequest, TakeOfferReply, TradeInfo, GetTradeRequest, GetTradeReply, GetTradesRequest, GetTradesReply, GetXmrSeedRequest, GetXmrSeedReply, GetXmrPrimaryAddressRequest, GetXmrPrimaryAddressReply, GetXmrNewSubaddressRequest, GetXmrNewSubaddressReply, ConfirmPaymentSentRequest, ConfirmPaymentReceivedRequest, CompleteTradeRequest, XmrTx, GetXmrTxsRequest, GetXmrTxsReply, XmrDestination, CreateXmrTxRequest, CreateXmrTxReply, RelayXmrTxRequest, RelayXmrTxReply, CreateAccountRequest, AccountExistsRequest, AccountExistsReply, DeleteAccountRequest, OpenAccountRequest, IsAccountOpenRequest, IsAccountOpenReply, CloseAccountRequest, ChangePasswordRequest, BackupAccountRequest, BackupAccountReply, RestoreAccountRequest, StopRequest, NotificationMessage, RegisterNotificationListenerRequest, SendNotificationRequest, UrlConnection, AddConnectionRequest, RemoveConnectionRequest, GetConnectionRequest, GetConnectionsRequest, SetConnectionRequest, CheckConnectionRequest, CheckConnectionsReply, CheckConnectionsRequest, StartCheckingConnectionsRequest, StopCheckingConnectionsRequest, GetBestAvailableConnectionRequest, SetAutoSwitchRequest, CheckConnectionReply, GetConnectionsReply, GetConnectionReply, GetBestAvailableConnectionReply, GetDisputeRequest, GetDisputeReply, GetDisputesRequest, GetDisputesReply, OpenDisputeRequest, ResolveDisputeRequest, SendDisputeChatMessageRequest, SendChatMessageRequest, GetChatMessagesRequest, GetChatMessagesReply, StartXmrNodeRequest, StopXmrNodeRequest, IsXmrNodeOnlineRequest, IsXmrNodeOnlineReply, GetXmrNodeSettingsRequest, GetXmrNodeSettingsReply } from "./protobuf/grpc_pb";
|
||||
import { OfferDirection, PaymentMethod, PaymentAccountForm, PaymentAccountFormField, PaymentAccount, PaymentAccountPayload, AvailabilityResult, Attachment, DisputeResult, Dispute, ChatMessage, XmrNodeSettings } from "./protobuf/pb_pb";
|
||||
|
||||
/**
|
||||
* Haveno daemon client.
|
||||
@ -19,8 +19,8 @@ export default class HavenoClient {
|
||||
/** @private */ _disputesClient: DisputesClient;
|
||||
/** @private */ _notificationsClient: NotificationsClient;
|
||||
/** @private */ _notificationStream: grpcWeb.ClientReadableStream<NotificationMessage> | undefined;
|
||||
/** @private */ _moneroConnectionsClient: MoneroConnectionsClient;
|
||||
/** @private */ _moneroNodeClient: MoneroNodeClient;
|
||||
/** @private */ _xmrConnectionsClient: XmrConnectionsClient;
|
||||
/** @private */ _xmrNodeClient: XmrNodeClient;
|
||||
/** @private */ _walletsClient: WalletsClient;
|
||||
/** @private */ _priceClient: PriceClient;
|
||||
/** @private */ _paymentAccountsClient: PaymentAccountsClient;
|
||||
@ -59,8 +59,8 @@ export default class HavenoClient {
|
||||
this._password = password;
|
||||
this._getVersionClient = new GetVersionClient(this._url);
|
||||
this._accountClient = new AccountClient(this._url);
|
||||
this._moneroConnectionsClient = new MoneroConnectionsClient(this._url);
|
||||
this._moneroNodeClient = new MoneroNodeClient(this._url);
|
||||
this._xmrConnectionsClient = new XmrConnectionsClient(this._url);
|
||||
this._xmrNodeClient = new XmrNodeClient(this._url);
|
||||
this._disputeAgentsClient = new DisputeAgentsClient(this._url);
|
||||
this._disputesClient = new DisputesClient(this._url);
|
||||
this._walletsClient = new WalletsClient(this._url);
|
||||
@ -426,7 +426,7 @@ export default class HavenoClient {
|
||||
*/
|
||||
async addMoneroConnection(connection: string | UrlConnection): Promise<void> {
|
||||
try {
|
||||
await this._moneroConnectionsClient.addConnection(new AddConnectionRequest().setConnection(typeof connection === "string" ? new UrlConnection().setUrl(connection) : connection), {password: this._password});
|
||||
await this._xmrConnectionsClient.addConnection(new AddConnectionRequest().setConnection(typeof connection === "string" ? new UrlConnection().setUrl(connection) : connection), {password: this._password});
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -439,7 +439,7 @@ export default class HavenoClient {
|
||||
*/
|
||||
async removeMoneroConnection(url: string): Promise<void> {
|
||||
try {
|
||||
await this._moneroConnectionsClient.removeConnection(new RemoveConnectionRequest().setUrl(url), {password: this._password});
|
||||
await this._xmrConnectionsClient.removeConnection(new RemoveConnectionRequest().setUrl(url), {password: this._password});
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -452,7 +452,7 @@ export default class HavenoClient {
|
||||
*/
|
||||
async getMoneroConnection(): Promise<UrlConnection | undefined> {
|
||||
try {
|
||||
return await (await this._moneroConnectionsClient.getConnection(new GetConnectionRequest(), {password: this._password})).getConnection();
|
||||
return await (await this._xmrConnectionsClient.getConnection(new GetConnectionRequest(), {password: this._password})).getConnection();
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -465,7 +465,7 @@ export default class HavenoClient {
|
||||
*/
|
||||
async getMoneroConnections(): Promise<UrlConnection[]> {
|
||||
try {
|
||||
return (await this._moneroConnectionsClient.getConnections(new GetConnectionsRequest(), {password: this._password})).getConnectionsList();
|
||||
return (await this._xmrConnectionsClient.getConnections(new GetConnectionsRequest(), {password: this._password})).getConnectionsList();
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -486,7 +486,7 @@ export default class HavenoClient {
|
||||
if (typeof connection === "string") request.setUrl(connection);
|
||||
else request.setConnection(connection);
|
||||
try {
|
||||
await this._moneroConnectionsClient.setConnection(request, {password: this._password});
|
||||
await this._xmrConnectionsClient.setConnection(request, {password: this._password});
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -501,7 +501,7 @@ export default class HavenoClient {
|
||||
*/
|
||||
async checkMoneroConnection(): Promise<UrlConnection | undefined> {
|
||||
try {
|
||||
return (await this._moneroConnectionsClient.checkConnection(new CheckConnectionRequest(), {password: this._password})).getConnection();
|
||||
return (await this._xmrConnectionsClient.checkConnection(new CheckConnectionRequest(), {password: this._password})).getConnection();
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -514,7 +514,7 @@ export default class HavenoClient {
|
||||
*/
|
||||
async checkMoneroConnections(): Promise<UrlConnection[]> {
|
||||
try {
|
||||
return (await this._moneroConnectionsClient.checkConnections(new CheckConnectionsRequest(), {password: this._password})).getConnectionsList();
|
||||
return (await this._xmrConnectionsClient.checkConnections(new CheckConnectionsRequest(), {password: this._password})).getConnectionsList();
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -527,7 +527,7 @@ export default class HavenoClient {
|
||||
*/
|
||||
async startCheckingConnection(refreshPeriod: number): Promise<void> {
|
||||
try {
|
||||
await this._moneroConnectionsClient.startCheckingConnections(new StartCheckingConnectionsRequest().setRefreshPeriod(refreshPeriod), {password: this._password});
|
||||
await this._xmrConnectionsClient.startCheckingConnections(new StartCheckingConnectionsRequest().setRefreshPeriod(refreshPeriod), {password: this._password});
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -538,7 +538,7 @@ export default class HavenoClient {
|
||||
*/
|
||||
async stopCheckingConnection(): Promise<void> {
|
||||
try {
|
||||
await this._moneroConnectionsClient.stopCheckingConnections(new StopCheckingConnectionsRequest(), {password: this._password});
|
||||
await this._xmrConnectionsClient.stopCheckingConnections(new StopCheckingConnectionsRequest(), {password: this._password});
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -551,7 +551,7 @@ export default class HavenoClient {
|
||||
*/
|
||||
async getBestAvailableConnection(): Promise<UrlConnection | undefined> {
|
||||
try {
|
||||
return (await this._moneroConnectionsClient.getBestAvailableConnection(new GetBestAvailableConnectionRequest(), {password: this._password})).getConnection();
|
||||
return (await this._xmrConnectionsClient.getBestAvailableConnection(new GetBestAvailableConnectionRequest(), {password: this._password})).getConnection();
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -564,7 +564,7 @@ export default class HavenoClient {
|
||||
*/
|
||||
async setAutoSwitch(autoSwitch: boolean): Promise<void> {
|
||||
try {
|
||||
await this._moneroConnectionsClient.setAutoSwitch(new SetAutoSwitchRequest().setAutoSwitch(autoSwitch), {password: this._password});
|
||||
await this._xmrConnectionsClient.setAutoSwitch(new SetAutoSwitchRequest().setAutoSwitch(autoSwitch), {password: this._password});
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -575,7 +575,7 @@ export default class HavenoClient {
|
||||
*/
|
||||
async isMoneroNodeOnline(): Promise<boolean> {
|
||||
try {
|
||||
return (await this._moneroNodeClient.isMoneroNodeOnline(new IsMoneroNodeOnlineRequest(), {password: this._password})).getIsRunning();
|
||||
return (await this._xmrNodeClient.isXmrNodeOnline(new IsXmrNodeOnlineRequest(), {password: this._password})).getIsRunning();
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -584,10 +584,10 @@ export default class HavenoClient {
|
||||
/**
|
||||
* Gets the current local monero node settings.
|
||||
*/
|
||||
async getMoneroNodeSettings(): Promise<MoneroNodeSettings | undefined> {
|
||||
async getMoneroNodeSettings(): Promise<XmrNodeSettings | undefined> {
|
||||
try {
|
||||
const request = new GetMoneroNodeSettingsRequest();
|
||||
return (await this._moneroNodeClient.getMoneroNodeSettings(request, {password: this._password})).getSettings();
|
||||
const request = new GetXmrNodeSettingsRequest();
|
||||
return (await this._xmrNodeClient.getXmrNodeSettings(request, {password: this._password})).getSettings();
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -598,10 +598,10 @@ export default class HavenoClient {
|
||||
*
|
||||
* @param {MoneroNodeSettings} settings - the settings to start the local node with
|
||||
*/
|
||||
async startMoneroNode(settings: MoneroNodeSettings): Promise<void> {
|
||||
async startMoneroNode(settings: XmrNodeSettings): Promise<void> {
|
||||
try {
|
||||
const request = new StartMoneroNodeRequest().setSettings(settings);
|
||||
await this._moneroNodeClient.startMoneroNode(request, {password: this._password});
|
||||
const request = new StartXmrNodeRequest().setSettings(settings);
|
||||
await this._xmrNodeClient.startXmrNode(request, {password: this._password});
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
@ -612,7 +612,7 @@ export default class HavenoClient {
|
||||
*/
|
||||
async stopMoneroNode(): Promise<void> {
|
||||
try {
|
||||
await this._moneroNodeClient.stopMoneroNode(new StopMoneroNodeRequest(), {password: this._password});
|
||||
await this._xmrNodeClient.stopXmrNode(new StopXmrNodeRequest(), {password: this._password});
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user