@kyve/core-beta
Version:
🚀 The base KYVE node implementation.
17 lines (16 loc) • 582 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.VOTE = exports.ERROR_IDLE_TIME = exports.REFRESH_TIME = exports.IDLE_TIME = void 0;
// the time a node should halt if the node decides to idle
exports.IDLE_TIME = 60 * 1000;
// the time a node should halt if the node decides wait for a refresh
exports.REFRESH_TIME = 10 * 1000;
// the time the node should halt if an error occurs
exports.ERROR_IDLE_TIME = 10 * 1000;
// a vote map to allow human readable votes
exports.VOTE = {
UNSPECIFIED: 0,
VALID: 1,
INVALID: 2,
ABSTAIN: 3,
};