Transaction ddfafc5fe47180d193aeaaa0e837dfe76dd5f65a931c7deafe845e598a47ecd5
1 Input
-
bf1f3bb9ea5cd9967888aa03c8b03480a66761f13ced801d282f7160a11801b8:451
OP_DATA_32(32) 5fba3694cc000c7382eac7c4c755ab7cc68b1d7d10f647327a5e31779e7debf5OP_CHECKSIG(172)OP_0(0)OP_IF(99)OP_DATA_3(3) ordOP_DATA_1(1)OP_DATA_16(16) application/jsonOP_0(0)OP_PUSHDATA2(77) {"subject":"Re: I broke my wallet, sends never confirm now.","content":{"format":"html","body":"\u003cdiv class=\"post\"\u003eAs you figured out, the root problem is we shouldn't be counting or spending transactions until they have at least 1 confirmation.\u0026nbsp; 0/unconfirmed transactions are very much second class citizens.\u0026nbsp; At most, they are advice that something has been received, but counting them as balance or spending them is premature.\u003cbr/\u003e\u003cbr/\u003eI made changes so they show uOP_PUSHDATA2(77) p in lighter print, with the credit amount in square brackets like [+1.23], and the amount not counted towards your balance and not available for spending.\u0026nbsp; This doesn't apply to transactions you sent, which you implicitly trust, since you wrote them.\u003cbr/\u003e\u003cbr/\u003eI didn't make it (+1.23) because parenthesis in accounting means negative.\u0026nbsp; I hope square brackets is different enough to be clear what is meant.\u003cbr/\u003e\u003cbr/\u003eThe JSON-RPC interface can still see 0/unconOP_PUSHDATA2(77) firmed if it wants by specifying 0 confirmations.\u003cbr/\u003e\u003cbr/\u003eI uploaded the changes to SVN rev 158.\u0026nbsp; I will post a 0.3.13 RC shortly.\u003cbr/\u003e\u003cbr/\u003eIf you have any of these transactions in your wallet, do not send any payments until you've upgraded to 0.3.13, which will be coming soon.\u003cbr/\u003e\u003cbr/\u003eIf you've already sent any of these transactions, or you're the creator of them, then use theymos' patch or make the following change and use it to send your cleOP_PUSHDATA2(77) an transactions to a new wallet to clean things up.\u003cbr/\u003e\u003cbr/\u003echange:\u003cbr/\u003e\u0026nbsp; \u0026nbsp; if (pcoin-\u0026gt;GetDepthInMainChain() \u0026lt; 1 \u0026amp;\u0026amp; pcoin-\u0026gt;GetDebit() \u0026lt;= 0)\u003cbr/\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; continue;\u003cbr/\u003eto:\u003cbr/\u003e\u0026nbsp; \u0026nbsp; if (pcoin-\u0026gt;GetDepthInMainChain() \u0026lt; 1)\u003cbr/\u003e\u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; continue;\u003cbr/\u003e\u003c/div\OP_PUSHDATA1(76) u003e"},"source":{"name":"Bitcoin Forum","url":"https://bitcointalk.org/index.php?topic=1306.msg14714#msg14714"},"date":"2010-09-30T16:38:53Z"}OP_ENDIF(104)
1 Outputs
- ddfafc5fe47180d193aeaaa0e837dfe76dd5f65a931c7deafe845e598a47ecd5:0
value 546
address bc1par0s4uucpjhvgesastmsdyvna642gjhcmf7ge4t8khh4ddvp3kyscrxmwp