Skip to content
Snippets Groups Projects
Commit d1811001 authored by Jerome DESCHAMPS's avatar Jerome DESCHAMPS
Browse files

Correcter VDF time for a day

parent 8353ffa2
No related branches found
No related tags found
1 merge request!102Resolve "Remove VDF circuit-breaker"
Pipeline #6344 passed
......@@ -11,7 +11,7 @@ const INT_SIZE_BITS: u16 = 2048;
// vdf-0.1.0/src/proof_wesolowski.rs:271:5
// const MAXIMUM_ITERATIONS: u64 = (1u64 << 53) - 1;
const MAXIMUM_ITERATIONS: u64 = 8_000_000_000; //approximately one day
const MAXIMUM_ITERATIONS: u64 = 800_000_000; //approximately one day
/// Compute the delay parameter in seconds of a VDF to run
pub fn compute_vdf_difficulty(network_difficulty: u64, hash: H256, quantity: U256) -> u64 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment