fn adjust_difficulty_and_time_for_testnet(
result: &mut GetBlockTemplateChainInfo,
network: &Network,
previous_block_height: Height,
relevant_data: Vec<(CompactDifficulty, DateTime<Utc>)>,
)
Expand description
Adjust the difficulty and time for the testnet minimum difficulty rule.
The relevant_data
has recent block difficulties and times in reverse order from the tip.