UNPKG

@kyve/core-beta

Version:

🚀 The base KYVE node implementation.

20 lines (19 loc) • 709 B
/// <reference types="node" /> import { Node } from "../.."; /** * saveBundleDownload downloads a bundle from the storage provider. * The download should be aborted if the pool is not * active anymore or a new bundle proposal has been found * or the node is the current uploader and the upload interval * has passed. * * If there is an error retrieving the bundle from the storage provider * the node instantly votes with abstain and continues to try to retrieve * the bundle. * * @method saveBundleDownload * @param {Node} this * @param {number} updatedAt * @return {Promise<Buffer | null>} */ export declare function saveBundleDownload(this: Node, updatedAt: number): Promise<Buffer | null>;