Page MenuHomePhabricator

[qa] Fix bip65-cltv-p2p to be compatible with magnetic anomaly
ClosedPublic

Authored by Fabien on Nov 22 2018, 00:01.

Details

Summary

Make bip65-cltv-p2p compliant with magnetic anomaly rules.
Remove magneticanomalyactivationtime in future and add tx padding when required.

Depends on D2120

Test Plan
./test/functional/test_runner.py bip65-cltv-p2p

Diff Detail

Repository
rABC Bitcoin ABC
Branch
bip65py
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4058
Build 6187: Bitcoin ABC Buildbot (legacy)
Build 6186: arc lint + arc unit

Event Timeline

deadalnix retitled this revision from [qa] Fix bip65-cltb-p2p to be compatible with magnetic anomaly to [qa] Fix bip65-cltv-p2p to be compatible with magnetic anomaly.Nov 22 2018, 16:55
deadalnix requested changes to this revision.Nov 22 2018, 17:13
deadalnix added a subscriber: deadalnix.
deadalnix added inline comments.
test/functional/bip65-cltv-p2p.py
30 ↗(On Diff #6005)

I don't think this comment is accurate.

32 ↗(On Diff #6005)

Why does -1 causes CLTV to fail ?

62 ↗(On Diff #6005)

These kind of changes are good but tend to clutter the actual meat of the diff. You should make them int heir own diff.

81 ↗(On Diff #6005)

dito

134 ↗(On Diff #6005)

Why ?

This revision now requires changes to proceed.Nov 22 2018, 17:13
Fabien marked an inline comment as done.

Rebase on D2120

This revision is now accepted and ready to land.Nov 22 2018, 18:42
jasonbcox requested changes to this revision.Nov 23 2018, 06:25
jasonbcox added a subscriber: jasonbcox.

Looks like D2120 takes care of the meat of these changes. Please update the Summary accordingly.

This revision now requires changes to proceed.Nov 23 2018, 06:25
Fabien requested review of this revision.Nov 23 2018, 14:33
Fabien edited the summary of this revision. (Show Details)

Updated summary

test/functional/bip65-cltv-p2p.py
30 ↗(On Diff #6005)

Right, should be anyone can spend, will update

jasonbcox edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Nov 24 2018, 02:58
This revision was automatically updated to reflect the committed changes.