<oembed><type>rich</type><version>1.0</version><author_name>npub12vlytlltjj7g3s227u9jtx2g8qtsu7gscynnn99k808ydr4vygcqvdqa4q</author_name><author_url>https://nostr.ae/npub12vlytlltjj7g3s227u9jtx2g8qtsu7gscynnn99k808ydr4vygcqvdqa4q</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2015-01-21&#xA;📝 Original message:-----BEGIN PGP SIGNED MESSAGE-----&#xA;Hash: SHA512&#xA;&#xA;On 2015/1/20 19:35, Pieter Wuille wrote:&gt; Hello everyone,&#xA;&gt; Comments/criticisms are very welcome, but I&#39;d prefer keeping the &#xA;&gt; discussion here on the mailinglist (which is more accessible than&#xA;&gt; on the gist).&#xA;&#xA;Nice paper, Pieter. I do have a bit of feedback.&#xA;&#xA;1)The first sentence of &#34;Deployment&#34; has a typo. &#34;We reuse the&#xA;double-threshold switchover mechanism from BIP 34, with the same&#xA;*thresholds*, [....]&#34;&#xA;&#xA;2)I think the handling of the sighash byte in the comments of&#xA;IsDERSignature() could use a little tweaking. If you look at&#xA;CheckSignatureEncoding() in the actual code (src/script/interpreter.cpp&#xA;in master), it&#39;s clear that the sighash byte is included as part of the&#xA;signature struct, even though it&#39;s not part of the actual DER encoding&#xA;being checked by IsDERSignature(). This is fine. I just think that the&#xA;code comments in the paper ought to make this point clearer, either in&#xA;the sighash description, or as a comment when checking the sig size&#xA;(i.e., size-3 is valid because sighash is included), or both.&#xA;&#xA;3)The paper says a sig with size=0 is correctly coded but is neither&#xA;valid nor DER. Perhaps this code should be elsewhere in the Bitcoin&#xA;code? It seems to me that letting a sig pass in IsDERSignature() when&#xA;it&#39;s not actually DER-encoded is incorrect.&#xA;&#xA;Thanks.&#xA;&#xA;- ---&#xA;Douglas Roark&#xA;Senior Developer&#xA;Armory Technologies, Inc.&#xA;doug at bitcoinarmory.com&#xA;PGP key ID: 92ADC0D7&#xA;-----BEGIN PGP SIGNATURE-----&#xA;Version: GnuPG/MacGPG2 v2.0.22 (Darwin)&#xA;Comment: GPGTools - https://gpgtools.org&#xA;&#xA;iQIcBAEBCgAGBQJUv/4vAAoJEGybVGGSrcDXMxkP/1N2lLAloCKdRUpMBLPEZ5jh&#xA;bJ4reCeqrMy6JetsKSGfGKdAe7kGkeRl6s8dlHYnpUmnODXU9BCku3zHi3+qm8IC&#xA;GZlwSdSSgmRneP7btPula0CG31o7X2UJiDW/2IOZl6ul8b7LB2L56O+Ew+PNm+at&#xA;tCfRcpKtq9LYCnRYR0azd4c5YY9/o7zlkpGi8CututzuEa4Rcm92U1extoo2tC/j&#xA;nzUfbfcQVL0a7JaRU4VYNceYrcG/xSpKPjsEU/F+5IwnUxL/kebz0EDt1kzm+fOE&#xA;EMUMXyYgoyW5VDFNjxu00PnJUfVNCOXN/N/h9eCdskCL3AtH6xg1kzam5OGvpEZS&#xA;QDMNSmQl4Zpx5WiATylNkhhzb/8GowamkSFg4SUjBsjpwOTMTIF0Qhnt+DdzwpI2&#xA;etxCGds154nL4p/bkulseczwxOZWin9oZxJnCxp40oFl8fva0BwHVx45uMyI61Ko&#xA;qRJ9Ol0CDoId3h1EMTt4uyoNxrOzgrj8/+V4BBytOAMMmsfD0VgY68xzdywJxYnC&#xA;jgU99huhwtJpn9QT6JAbgPAaboomu6hDCohV+J+DCCkIiYFk1jxp+FQ4xZDzcKeo&#xA;gMYpmFefPAxnHvDXf1v1A+Xw8plN6/NREaIpprh7Ep+q/8vYAiwwHfKjubdMkB3D&#xA;WnTR5YbqyGxc/Pvh9Ncq&#xA;=C/wj&#xA;-----END PGP SIGNATURE-----</html></oembed>