Author: Andreas Schildbach 2013-01-19 09:51:04
Published on: 2013-01-19T09:51:04+00:00
Mike Hearn, a bitcoin developer, has suggested changes to the bitcoinj side due to pending transactions. He suggests that the filtered block should be sent before transaction data, as it is not intuitive to receive a callback saying "new pending tx" before another callback confirming the transaction. The current setup makes this most natural. Hearn believes it is cleaner to receive a filtered block and attach any matching transactions to it, then pass it to the wallet code all at once. Another issue is that downloading all dependencies is necessary to risk analyze unconfirmed transactions, which has to be triggered by seeing an unconfirmed transaction. However, it is dumb to start this process for a transaction that is actually in the chain, so there needs to be some notion of whether it came from a filtered block. Matt Corallo's code has been tested by Andreas, and because it is unit tested and reviewed several times, Hearn requests that it be merged into 0.8.
Updated on: 2023-06-06T08:07:51.569348+00:00