Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/chasers/chaser_block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ code chaser_block::validate(const block& block,
if ((ec = header.check(
setting.timestamp_limit_seconds,
setting.proof_of_work_limit,
state.height(),
state.timestamp(),
Comment thread
thecodefactory marked this conversation as resolved.
state.previous_block_timestamp(),
Comment thread
thecodefactory marked this conversation as resolved.
setting.retargeting_interval(),
Comment thread
evoskuil marked this conversation as resolved.
setting.forks.bip94,
setting.forks.scrypt_proof_of_work)))
return ec;

Expand Down
7 changes: 6 additions & 1 deletion src/chasers/chaser_header.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ code chaser_header::validate(const header& header,
if (const auto ec = header.check(
settings().timestamp_limit_seconds,
settings().proof_of_work_limit,
state.height(),
state.timestamp(),
state.previous_block_timestamp(),
settings().retargeting_interval(),
Comment thread
thecodefactory marked this conversation as resolved.
settings().forks.bip94,
settings().forks.scrypt_proof_of_work))
return ec;

Expand Down Expand Up @@ -242,4 +247,4 @@ BC_POP_WARNING()
// Minimum block versions (bip90 disabled).
// Minimum block version [1] changed to [2] at [227931:000000000000024b89b42a942fe0d9fea3bb44ab7bd1b19115dd6a759c0808b8]
// Minimum block version [2] changed to [3] at [363725:00000000000000000379eaa19dce8c9b722d46ae6a57c2f1a988119488b50931]
// Minimum block version [3] changed to [4] at [388381:000000000000000004c2b624ed5d7756c508d90fd0da2c7c679febfa6c4735f0]
// Minimum block version [3] changed to [4] at [388381:000000000000000004c2b624ed5d7756c508d90fd0da2c7c679febfa6c4735f0]
Loading