Page MenuHomePhabricator

Ensure that transaction using SIGHASH_FORKID are accepted in the mempool once the HF activates
ClosedPublic

Authored by deadalnix on Jun 15 2017, 23:55.

Details

Summary

As per title. Right now we reject them always.

Test Plan

Added test cases in abc-p2p-activation.py to ensure the transaction is accepted properly in the mempool.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
mempoolforkid
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 309
Build 309: arc lint + arc unit

Event Timeline

test the first block at activation rather than after piling up one block

freetrader added inline comments.
qa/rpc-tests/abc-p2p-activation.py
21 ↗(On Diff #508)

Rrror -> Error

52 ↗(On Diff #508)

Could you briefly describe why it was necessary to add this into the test?

This revision is now accepted and ready to land.Jun 16 2017, 12:14
qa/rpc-tests/abc-p2p-activation.py
52 ↗(On Diff #508)

Because when not passing it, the transaction must respect the fee policy of the node to be included in the mempool. I don't want this test to be breaking because the fee policy code was changed and I don't want to tweak transactions in such a way they have to respect the fee policy.

Rebase and fix merge conflicts

Reintroduce -norelaypriority

This revision was automatically updated to reflect the committed changes.