Page MenuHomePhabricator

[script] Unit tests for script/standard functions
ClosedPublic

Authored by deadalnix on May 26 2019, 17:34.

Diff Detail

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

Event Timeline

markblundeberg added inline comments.
src/test/script_standard_tests.cpp
91 ↗(On Diff #8881)

This is good, it would be awful it we had to start supporting bech32 recoveries as well! :D

src/test/script_standard_tests.cpp
91 ↗(On Diff #8881)

(However maybe these should be moved out from the script_standard_Solver_success test)

src/test/script_standard_tests.cpp
91 ↗(On Diff #8881)

Unless you volunteer to maintain it, I don't think it's a good idea.

markblundeberg added inline comments.
src/test/script_standard_tests.cpp
91 ↗(On Diff #8881)

OK, can we add a comment or something? Just looks weird having failure tests in success section.

113 ↗(On Diff #8881)

This is not in original PR nor does Core have it in current file. But it does appear to make sense here.

227 ↗(On Diff #8881)
303 ↗(On Diff #8881)

also erroneous P2WSH...

This revision is now accepted and ready to land.May 27 2019, 01:14
This revision was automatically updated to reflect the committed changes.