Transaction

85545035623ca7992a0efb37df18dcffc8d3d6ae7d104ad17c9247efe65ea8a7
Timestamp (utc)
2024-03-22 00:58:37
Fee Paid
0.00000020 BSV
(
0.00262972 BSV
-
0.00262952 BSV
)
Fee Rate
10.23 sat/KB
Version
1
Confirmations
93,721
Size Stats
1,955 B

2 Outputs

Total Output:
0.00262952 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/85545035623ca7992a0efb37df18dcffc8d3d6ae7d104ad17c9247efe65ea8a7