Page MenuHomePhabricator

Merge #15059: test: Add basic test for BIP34
AbandonedPublic

Authored by nakihito on Jun 15 2020, 21:56.

Details

Reviewers
jasonbcox
deadalnix
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Summary

fab17e8272f5f70213f186809479ee7a75898b1d test: Add basic test for BIP34 (MarcoFalke)

Pull request description:

BIP34 was disabled for testing, which explains why it had no test.

Fix that by enabling it and adding a test.

Tree-SHA512: 9cb5702d474117ce6420226eb93ee09d6fb5fc856fabc8b67abe56a088cd727674e0e5462000e1afa83b911374036f90abdbdde56a8c236a75572ed47e10a00f

Backport of Core PR15059

Depends on D6603

Test Plan
ninja
ninja check-extended

Event Timeline

Owners added a reviewer: Restricted Owners Package.Jun 15 2020, 21:56

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

src/chainparams.cpp
510 ↗(On Diff #21439)

Note: this must be > 581 due to abc-miner-fund.py.

test/functional/abc-miner-fund.py
200 ↗(On Diff #21439)

block_height = 581 here which necessitates the divergence in chainparams.cpp.

jasonbcox requested changes to this revision.Jun 15 2020, 22:43
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
src/chainparams.cpp
510 ↗(On Diff #21439)

Diverging here doesn't make sense. If something is broken with abc-miner-fund, it should be fixed first.

512 ↗(On Diff #21439)

functioanl -> functional

This revision now requires changes to proceed.Jun 15 2020, 22:43
deadalnix requested changes to this revision.Jun 23 2020, 14:12
deadalnix added a subscriber: deadalnix.

Unfortunately, D6603 appears to be based on erroneous assumption about what the problem is. This turned out to be a blocker for some stuff I'm working on so I backported it in D6679 .

This revision now requires changes to proceed.Jun 23 2020, 14:12