Feature: Instruction can read the script number#2081
Feature: Instruction can read the script number#2081apoelstra merged 1 commit intorust-bitcoin:masterfrom
Conversation
|
Looks good! But we have an existing Could you also add a unit test for a couple negative zeros :}? |
6b2062c to
c7ff61d
Compare
|
Ok, c7ff61d072d35562fe15850b4f9631e08afdc2e6 looks good now! But what do you think of renaming |
|
Should I expose it publicly? In which case, we'd still want the > 4 byte check for both. |
|
@junderw yeah, I think it should be exposed publicly. |
4dffe7c to
3bdef42
Compare
|
Should be good for re-review now. |
apoelstra
left a comment
There was a problem hiding this comment.
ACK 3bdef424f4e6aeb3f2ea8859b26f984148ba34e5
3bdef42 to
767b94e
Compare
|
If tests pass, this is ready for re-review |
|
Ouch, CI fail is linter because Scond time this week my review suggestions have failed to build, bad robot. |
tcharding
left a comment
There was a problem hiding this comment.
ACK 767b94e48dd2dfaaf21c598ec9fe395014c66c04
Thanks for working in my suggestions, appreciate the extra effort.
767b94e to
cd15c74
Compare
|
Nice, this is useful!
You mean lint* not build ;) |
This new method on
Instructionwill allow for interpreting the Instruction as a script number (i64)