Browse Source

update bwt for bitcoin core v23 compatibility, ensure rescan when changing wallet birthday in transactions table

terminal
Craig Raw 3 years ago
parent
commit
58cd50f674
  1. 4
      src/main/java/com/sparrowwallet/sparrow/control/CoinTreeTable.java
  2. BIN
      src/main/resources/native/linux/x64/libbwt_jni.so
  3. BIN
      src/main/resources/native/osx/x64/libbwt_jni.dylib
  4. BIN
      src/main/resources/native/windows/x64/bwt_jni.dll

4
src/main/java/com/sparrowwallet/sparrow/control/CoinTreeTable.java

@ -4,8 +4,8 @@ import com.sparrowwallet.drongo.BitcoinUnit;
import com.sparrowwallet.drongo.wallet.Wallet;
import com.sparrowwallet.sparrow.AppServices;
import com.sparrowwallet.sparrow.EventManager;
import com.sparrowwallet.sparrow.event.WalletAddressesChangedEvent;
import com.sparrowwallet.sparrow.event.WalletDataChangedEvent;
import com.sparrowwallet.sparrow.event.WalletHistoryClearedEvent;
import com.sparrowwallet.sparrow.event.WalletHistoryStatusEvent;
import com.sparrowwallet.sparrow.io.Config;
import com.sparrowwallet.sparrow.io.Storage;
@ -91,7 +91,7 @@ public class CoinTreeTable extends TreeTableView<Entry> {
EventManager.get().post(new WalletDataChangedEvent(wallet));
//Trigger full wallet rescan
wallet.clearHistory();
EventManager.get().post(new WalletHistoryClearedEvent(wallet, pastWallet, storage.getWalletId(wallet)));
EventManager.get().post(new WalletAddressesChangedEvent(wallet, pastWallet, storage.getWalletId(wallet)));
}
});
if(wallet.getBirthDate() == null) {

BIN
src/main/resources/native/linux/x64/libbwt_jni.so

Binary file not shown.

BIN
src/main/resources/native/osx/x64/libbwt_jni.dylib

Binary file not shown.

BIN
src/main/resources/native/windows/x64/bwt_jni.dll

Binary file not shown.
Loading…
Cancel
Save