[][src]Constant grin_core::consensus::STATE_SYNC_THRESHOLD

pub const STATE_SYNC_THRESHOLD: u32

Default number of blocks in the past to determine the height where we request a txhashset (and full blocks from). Needs to be long enough to not overlap with a long reorg. Rational behind the value is the longest bitcoin fork was about 30 blocks, so 5h. We add an order of magnitude to be safe and round to 2x24h of blocks to make it easier to reason about.