Transaction

e07ea0427896e58baa1e2e503a845b84fddcf6a6e7b8a1344f9b3d23e6b29e17
Timestamp (utc)
2024-03-22 13:59:07
Fee Paid
0.00000026 BSV
(
0.00609399 BSV
-
0.00609373 BSV
)
Fee Rate
10.34 sat/KB
Version
1
Confirmations
93,960
Size Stats
2,514 B

2 Outputs

Total Output:
0.00609373 BSV
  • j"1LAnZuoQdcKCkpDBKQMCgziGMoPC4VQUckMÕ<div class="post">On both MinGW GCC 4.4.1 and 4.5.0 I have it working with test.cpp but SIGSEGV when called by BitcoinMiner. &nbsp;So now it doesn't look like it's the version of GCC, it's something else, maybe just the luck of how the stack is aligned.<br/><br/>I have it working fine on GCC 4.3.3 on Ubuntu 32-bit.<br/><br/>I found the problem with Crypto++ on MinGW 4.5.0. &nbsp;Here's the patch for that:<br/><div class="codeheader">Code:</div><div class="code">--- \old\sha.cpp<span style="white-space: pre;"> </span>Mon Jul 26 13:31:11 2010<br/>+++ ew\sha.cpp<span style="white-space: pre;"> </span>Sat Aug 14 20:21:08 2010<br/>@@ -336,7 +336,7 @@<br/>&nbsp;<span style="white-space: pre;"> </span>ROUND(14, 0, eax, ecx, edi, edx)<br/>&nbsp;<span style="white-space: pre;"> </span>ROUND(15, 0, ecx, eax, edx, edi)<br/>&nbsp;<br/>-<span style="white-space: pre;"> </span>ASL(1)<br/>+ &nbsp; &nbsp;ASL(label1) &nbsp; // Bitcoin: fix for MinGW GCC 4.5<br/>&nbsp;<span style="white-space: pre;"> </span>AS2(add WORD_REG(si), 4*16)<br/>&nbsp;<span style="white-space: pre;"> </span>ROUND(0, 1, eax, ecx, edi, edx)<br/>&nbsp;<span style="white-space: pre;"> </span>ROUND(1, 1, ecx, eax, edx, edi)<br/>@@ -355,7 +355,7 @@<br/>&nbsp;<span style="white-space: pre;"> </span>ROUND(14, 1, eax, ecx, edi, edx)<br/>&nbsp;<span style="white-space: pre;"> </span>ROUND(15, 1, ecx, eax, edx, edi)<br/>&nbsp;<span style="white-space: pre;"> </span>AS2(<span style="white-space: pre;"> </span>cmp<span style="white-space: pre;"> </span><span style="white-space: pre;"> </span>WORD_REG(si), K_END)<br/>-<span style="white-space: pre;"> </span>ASJ(<span style="white-space: pre;"> </span>jne,<span style="white-space: pre;"> </span>1, b)<br/>+ &nbsp; &nbsp;ASJ( &nbsp; &nbsp;jne, &nbsp; &nbsp;label1, &nbsp;) &nbsp; // Bitcoin: fix for MinGW GCC 4.5<br/>&nbsp;<br/>&nbsp;<span style="white-space: pre;"> </span>AS2(<span style="white-space: pre;"> </span>mov<span style="white-space: pre;"> </span><span style="white-space: pre;"> </span>WORD_REG(dx), DATA_SAVE)<br/>&nbsp;<span style="white-space: pre;"> </span>AS2(<span style="white-space: pre;"> </span>add<span style="white-space: pre;"> </span><span style="white-space: pre;"> </span>WORD_REG(dx), 64)<br/></div></div> text/html
    https://whatsonchain.com/tx/e07ea0427896e58baa1e2e503a845b84fddcf6a6e7b8a1344f9b3d23e6b29e17