This will be a big project. First step is to redesign the Wallet APIs so they
don't vend Transactions directly. Then we formalize the concept of the reorg
event horizon and teach the wallet about it (currently it's just a property of
the SPV block store).
Once that's done, we can start throwing away the Transaction objects for old
spent payments that have passed beyond the reorg event horizon, because we know
they can never change in any way except for being buried deeper and deeper,
which is typically not interesting for apps. This will reduce memory pressure
significantly as all a Payment needs to store is really the value delta, fee
paid and a label for it (probably one or two other things).
Original issue reported on code.google.com by hearn@google.com on 15 Jan 2014 at 4:26
Original issue reported on code.google.com by
hearn@google.com
on 15 Jan 2014 at 4:26