Replace WalletEventListener.onDeadTransaction with a generic confidence changed callb...
authorMike Hearn <hearn@google.com>
Sun, 19 Feb 2012 14:01:30 +0000 (15:01 +0100)
committerMike Hearn <hearn@google.com>
Sun, 19 Feb 2012 14:01:30 +0000 (15:01 +0100)
commit54a2a7146001a191f09a4274259a8f816d388ad3
tree6a9fb57b0be2f6cde0e1d8144ecea0e8f48d1a03
parent68424281c534b9abc58ad7e7391107b49f8e6830
Replace WalletEventListener.onDeadTransaction with a generic confidence changed callback, this simplifies the case of listening for all confidence changes in all wallet transactions and gives a single place to save the wallet from.
src/com/google/bitcoin/core/AbstractWalletEventListener.java
src/com/google/bitcoin/core/Wallet.java
src/com/google/bitcoin/core/WalletEventListener.java
tests/com/google/bitcoin/core/ChainSplitTests.java
tests/com/google/bitcoin/core/WalletTest.java