Skip to content

Commit

Permalink
feat(core): increase time period to start sync via getting blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
pashinov authored and Rexagon committed Jul 8, 2024
1 parent 8992b28 commit 18c4a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/block_strider/provider/archive_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ impl ArchiveBlockProvider {
}

fn is_sync(block: &BlockStuff) -> anyhow::Result<bool> {
Ok(block.load_info()?.gen_utime + 30 > now_sec())
Ok(block.load_info()?.gen_utime + 600 > now_sec())
}

fn construct_block(block: BlockStuff) -> anyhow::Result<BlockStuffAug> {
Expand Down

0 comments on commit 18c4a94

Please sign in to comment.