* Finds a nonce that satisfies the Nano proof-of-work requirements.
*
* @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts
- * @param {NanoPowOptions} options - Used to configure search execution
- */
- static search (hash: string, options?: NanoPowOptions): Promise<string>
- /**
- * Finds a nonce that satisfies the Nano proof-of-work requirements.
- *
- * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts
* @param {NanoPowOptions} options - Options used to configure search execution
*/
static work_generate (hash: string, options?: NanoPowOptions): Promise<WorkGenerateResponse>
* @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts
* @param {NanoPowOptions} options - Options used to configure search execution
*/
- static validate (work: string, hash: string, options?: NanoPowOptions): Promise<boolean>
- /**
- * Validates that a nonce satisfies Nano proof-of-work requirements.
- *
- * @param {string} work - Hexadecimal proof-of-work value to validate
- * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts
- * @param {NanoPowOptions} options - Options used to configure search execution
- */
static work_validate (work: string, hash: string, options?: NanoPowOptions): Promise<WorkValidateResponse>
}
* @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts
* @param {NanoPowOptions} options - Used to configure search execution
*/
- static search (hash: string, options?: NanoPowOptions): Promise<string>
- /**
- * Finds a nonce that satisfies the Nano proof-of-work requirements.
- *
- * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts
- * @param {NanoPowOptions} options - Used to configure search execution
- */
static work_generate (hash: string, options?: NanoPowOptions): Promise<WorkGenerateResponse>
/**
* Validates that a nonce satisfies Nano proof-of-work requirements.
* @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts
* @param {NanoPowOptions} options - Options used to configure search execution
*/
- static validate (work: string, hash: string, options?: NanoPowOptions): Promise<boolean>
- /**
- * Validates that a nonce satisfies Nano proof-of-work requirements.
- *
- * @param {string} work - Hexadecimal proof-of-work value to validate
- * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts
- * @param {NanoPowOptions} options - Options used to configure search execution
- */
static work_validate (work: string, hash: string, options?: NanoPowOptions): Promise<WorkValidateResponse>
}