UNPKG

@kyve/core-beta

Version:

🚀 The base KYVE node implementation.

21 lines (20 loc) • 819 B
import { Node } from "../.."; /** * skipUploaderRole is called by the current next uploader of the * current bundle proposal and is called when the node is not able * to create a valid bundle proposal. This can be due to not having * enough data collected or the storage provider being offline for * some reason. * * The fromIndex of the current bundle proposal is * included so that the chain can check if the next uploader * still wants to skip his role on his specified proposal, * because in rare instances while the tx is mining the next * proposal can start, thus resulting in an unwanted skip. * * @method skipUploaderRole * @param {Node} this * @param {number} fromIndex * @return {Promise<boolean>} */ export declare function skipUploaderRole(this: Node, fromIndex: number): Promise<boolean>;