Remove CScriptCheck::nHashType (was always 0) #4775
pull jtimon wants to merge 2 commits into bitcoin:master from jtimon:unused changing 3 files +7 −16-
jtimon commented at 9:11 am on August 28, 2014: contributorIt’s only used in one place and CScriptCheck can be used directly instead. Also remove CScriptCheck::nHashType since was always 0. In preparation of #4555
-
jtimon renamed this:
Remove unused function main:VerifySignature
Remove unused function main::VerifySignature
on Aug 28, 2014 -
jtimon renamed this:
Remove unused function main::VerifySignature
Remove CScriptCheck::nHashType (was always 0)
on Aug 28, 2014 -
jtimon force-pushed on Aug 28, 2014
-
laanwj added the label TX scripts on Aug 28, 2014
-
sipa commented at 0:40 am on August 30, 2014: memberNeeds rebase, but ut ACK.
-
laanwj commented at 2:49 am on August 30, 2014: member
Agree on removing the VerifySignature function that is only used by the tests.
NACK on partially removing CScriptCheck::nHashType. Either it should be removed completely and this removal propagated through VerifyScript, or it would be better to keep it like this. Mind that
CScriptCheck
is meant to be a closure aroundVerifyScript
(so should expose the same arguments). Now you just push the hardcoded 0 toCScriptCheck::operator()()
. -
Remove unused function main:VerifySignature a3b7d95450
-
Remove CScriptCheck::nHashType (was always 0) 5ad29370ed
-
jtimon force-pushed on Aug 30, 2014
-
jtimon commented at 8:14 am on August 30, 2014: contributorRebased
-
BitcoinPullTester commented at 8:27 am on August 30, 2014: noneAutomatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/p4775_5ad29370edc22558539bd89135c02d3de4c7bc52/ for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
-
TheBlueMatt commented at 6:30 am on September 2, 2014: memberut ACK.
-
jtimon closed this on Sep 8, 2014
-
jtimon deleted the branch on Sep 8, 2014
-
MarcoFalke locked this on Sep 8, 2021
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 18:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 18:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me