@kyve/core-beta
Version:
🚀 The base KYVE node implementation.
13 lines (12 loc) • 471 B
TypeScript
import { Node } from "../..";
/**
* canVote checks if the node is able to vote on the current
* bundle proposal by calling a special chain query called "canVote".
* It runs indefinitely until the query returns a valid response
*
* @method canVote
* @param {Node} this
* @param {number} updatedAt the last update time of the current bundle proposal
* @return {Promise<boolean>}
*/
export declare function canVote(this: Node, updatedAt: number): Promise<boolean>;