Partial reset has never been implemented. Currently you always need to
sync from the wallet birthdate.


On 04/26/2017 10:32 PM, Leo Wandersleb wrote:
> Hi,
> 
> occasionally my app needs to add addresses with past, non-zero creation
> times.
> 
> I figured, iterating through the block headers until creation-time - 4h
> and feeding that block height to |public void clearTransactions(int
> fromHeight)| should trigger the resync but throws an error
> <https://github.com/bitcoinj/bitcoinj/blob/master/core/src/main/java/org/bitcoinj/wallet/Wallet.java#L3002>
> in a way that I would at least expect a comment or TODO on that line.
> Is there another way to achieve what I want to achieve?
> 
> Regards,
> 
> Leo Wandersleb
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "bitcoinj" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bitcoinj+unsubscr...@googlegroups.com
> <mailto:bitcoinj+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to