@kyve/core-beta
Version:
🚀 The base KYVE node implementation.
15 lines (14 loc) • 589 B
TypeScript
import { Node } from "../..";
/**
* waitForNextBundleProposal waits until the the next bundle proposal has
* been submitted. It waits because the node has performed all actions
* in this round and is done. The node checks that by comparing the
* creation time of the proposal, if it is bigger than the current one
* the node knows someone submitted a new proposal.
*
* @method waitForNextBundleProposal
* @param {Node} this
* @param {number} updatedAt
* @return {Promise<void>}
*/
export declare function waitForNextBundleProposal(this: Node, updatedAt: number): Promise<void>;