"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UtxoNodeStatus = void 0;
const StatusBase_1 = require("../StatusBase");
class UtxoNodeStatus extends StatusBase_1.NodeStatusBase {
    get version() {
        return `${this.data.version}_${this.data.protocolversion}_${this.data.subversion}`;
    }
    get state() {
        return "full";
    }
    get isHealthy() {
        return this.data.networkactive;
    }
    get isSynced() {
        return !this.data.initialblockdownload;
    }
}
exports.UtxoNodeStatus = UtxoNodeStatus;
//# sourceMappingURL=UtxoStatus.js.map