xud
Version:
Exchange Union Daemon
19 lines (18 loc) • 609 B
TypeScript
import * as pb from '../../proto/xudp2p_pb';
import { NodeState } from '../types';
export declare const validateNodeState: (nodeState?: pb.NodeState.AsObject | undefined) => boolean;
export declare const convertNodeState: (nodeState: pb.NodeState.AsObject) => {
pairs: string[];
addresses: pb.Address.AsObject[];
connextIdentifier: string;
lndPubKeys: {
[key: string]: string;
};
lndUris: {
[key: string]: string[];
};
tokenIdentifiers: {
[key: string]: string;
};
};
export declare const serializeNodeState: (nodeState: NodeState) => pb.NodeState;