As per title. Add CTOR ordering to test block construction. Use
NULLDUMMY instead of CLEANSTACK for checking consensus vs non-consensus
script cache behavior.
Details
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- unit-test
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 3965 Build 6002: Bitcoin ABC Buildbot (legacy) Build 6001: arc lint + arc unit
Event Timeline
src/test/test_bitcoin.cpp | ||
---|---|---|
170 ↗ | (On Diff #5897) | Is this comment still relevant? Either I'm missing something or it's already done above. |
src/test/txvalidationcache_tests.cpp | ||
---|---|---|
198 ↗ | (On Diff #5904) | Either comment is out of date, or this appears to be missing OP_1 |
src/test/txvalidationcache_tests.cpp | ||
---|---|---|
198 ↗ | (On Diff #5904) | Oh I see, I think this comment needs to be moved above ^^ |
src/script/interpreter.cpp | ||
---|---|---|
1084 ↗ | (On Diff #5903) | Revert |
1088 ↗ | (On Diff #5903) | revert |
src/test/txvalidationcache_tests.cpp | ||
185 ↗ | (On Diff #5903) | There is no point in bringing the key store in there. You are building the script to begin with so anything you'll pull of the store you already have. |
188 ↗ | (On Diff #5903) | I'm not sure why you want to do P2SH here instead of bare multisig. If there is a reason, it should be mentioned. if there is no reason, then don't do it. |
200 ↗ | (On Diff #5903) | This would benefit being scoped to destruct the temporaries. |
202 ↗ | (On Diff #5903) | This is not spending, this is mining. |
243 ↗ | (On Diff #5903) | You can sign the exact same ways as before. You just need to push the non nulldummy element. |
src/test/txvalidationcache_tests.cpp | ||
---|---|---|
243 ↗ | (On Diff #5903) | +1. doing this a different way is confusing |
src/test/txvalidationcache_tests.cpp | ||
---|---|---|
243 ↗ | (On Diff #5903) | I did that |