As it can be reused and/or tested when modified.
Details
Details
- Reviewers
freetrader CCulianu sickpig dagurval - Group Reviewers
Restricted Project - Commits
- rSTAGING730ae53b947b: Extract the flag selection logic out of CheckBlock
rABC730ae53b947b: Extract the flag selection logic out of CheckBlock
make check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- blockflags
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 823 Build 823: arc lint + arc unit
Event Timeline
Comment Actions
Seems ok from here, wonder if we could avoid the repetition of this check
if (VersionBitsState(pindex->pprev, consensusparams, Consensus::DEPLOYMENT_CSV, versionbitscache) == THRESHOLD_ACTIVE) {
Comment Actions
@sickpig The check is cached, so I don't think it is that big of a deal. Later on we can set the block in stone and remove the check.
src/validation.cpp | ||
---|---|---|
1726 | Comment lies, this does not enforce sequence locks. Same comment is duplicated further down, where it does not enforce checksequence |