Transaction

aea5e98ab3ee6789dfd351a2b2b7abfc8ddbc56e55b8c372c9a8e45aede2f2f1
Timestamp (utc)
2024-03-22 04:26:06
Fee Paid
0.00000020 BSV
(
0.01254584 BSV
-
0.01254564 BSV
)
Fee Rate
10.23 sat/KB
Version
1
Confirmations
92,940
Size Stats
1,954 B

2 Outputs

Total Output:
0.01254564 BSV
  • j"1LAnZuoQdcKCkpDBKQMCgziGMoPC4VQUckM¦<div class="post">Until there is a better fix... after a very small amount of testing this seems to work:<br/><div class="codeheader">Code:</div><div class="code">--- a/main.h<br/>+++ b/main.h<br/>@@ -473,8 +473,12 @@ public:<br/>&nbsp;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Check for negative values<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;foreach(const CTxOut&amp; txout, vout)<br/>+ {<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (txout.nValue &lt; 0)<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return error("CTransaction::CheckTransaction() : txout.nValue negative");<br/>+ if (txout.nValue &gt; 21000000*COIN)<br/>+ return error("CTransaction::CheckTransaction() : txout.nValue over-max");<br/>+ }<br/>&nbsp;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (IsCoinBase())<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br/>@@ -520,6 +524,8 @@ public:<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;int64 nValueOut = 0;<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;foreach(const CTxOut&amp; txout, vout)<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br/>+ if (txout.nValue &gt; 21000000*COIN)<br/>+ continue; // ignore over-max-value...<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (txout.nValue &lt; 0)<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;throw runtime_error("CTransaction::GetValueOut() : negative value");<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;nValueOut += txout.nValue;<br/><br/></div>You'll need to re-download the part of the block chain before the bad block-- remove the blkindex.dat and blk0001.dat files.&nbsp; &nbsp;I started with <a href="http://knightmb.dyndns.org/files/bitcoin/blocks/">knightmb's blockchain</a> snapshot.<br/></div> text/html
    https://whatsonchain.com/tx/aea5e98ab3ee6789dfd351a2b2b7abfc8ddbc56e55b8c372c9a8e45aede2f2f1