Page MenuHomePhabricator

Use TxId internally in COutPoint
ClosedPublic

Authored by deadalnix on May 9 2018, 12:55.

Details

Summary

This is a step toward improving type safety by using TxId/TxHash instead of raw uint256

Depends on D1403

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jasonbcox added inline comments.
src/primitives/transaction.h
21 ↗(On Diff #3850)

The : uint256() is redundant

43 ↗(On Diff #3850)

Will the uint256 in the constructor be migrated later?

src/primitives/transaction.h
43 ↗(On Diff #3850)

Yes, right now this crate a TON of compile errors.

schancel added inline comments.
src/primitives/transaction.h
43 ↗(On Diff #3850)

.png (338×669 px, 11 KB)

This revision is now accepted and ready to land.May 18 2018, 16:33
This revision was automatically updated to reflect the committed changes.