updates & adjust unlock blocks

This commit is contained in:
m2049r 2021-09-13 23:54:23 +02:00
parent e563c015e8
commit 1360640d52
No known key found for this signature in database
GPG Key ID: 4386E69AF260078D
3 changed files with 4 additions and 4 deletions

View File

@ -916,7 +916,7 @@ Java_com_m2049r_xmrwallet_model_Wallet_refreshAsync(JNIEnv *env, jobject instanc
//virtual void rescanBlockchainAsync() = 0; //virtual void rescanBlockchainAsync() = 0;
JNIEXPORT void JNICALL JNIEXPORT void JNICALL
Java_com_m2049r_xmrwallet_model_Wallet_rescanBlockchainAsyncJ(JNIEnv *env, jobject instance) { Java_com_m2049r_xmrwallet_model_Wallet_rescanBlockchainAsyncJ(JNIEnv *env, jobject instance) {
Bitmonero::Wallet *wallet = getHandle<Bitmonero::Wallet>(env, instance); Monero::Wallet *wallet = getHandle<Monero::Wallet>(env, instance);
wallet->rescanBlockchainAsync(); wallet->rescanBlockchainAsync();
} }

View File

@ -29,7 +29,7 @@ import lombok.RequiredArgsConstructor;
// this is not the TransactionInfo from the API as that is owned by the TransactionHistory // this is not the TransactionInfo from the API as that is owned by the TransactionHistory
// this is a POJO for the TransactionInfoAdapter // this is a POJO for the TransactionInfoAdapter
public class TransactionInfo implements Parcelable, Comparable<TransactionInfo> { public class TransactionInfo implements Parcelable, Comparable<TransactionInfo> {
public static final int CONFIRMATION = 10; // blocks public static final int CONFIRMATION = 4; // CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE
@RequiredArgsConstructor @RequiredArgsConstructor
public enum Direction { public enum Direction {

View File

@ -2,7 +2,7 @@ FLAVOUR=wownero
all: arm64-v8a x86_64 include/wallet2_api.h VERSION all: arm64-v8a x86_64 include/wallet2_api.h VERSION
arm64-v8a: $(FLAVOUR) android64.Dockerfile arm64-v8a: $(FLAVOUR) android64.Dockerfile include/wallet2_api.h
-rm -rf arm64-v8a -rm -rf arm64-v8a
-docker container rm $(FLAVOUR)-android-arm64 -f -docker container rm $(FLAVOUR)-android-arm64 -f
docker build -f android64.Dockerfile -t $(FLAVOUR)-android-arm64 $(FLAVOUR) docker build -f android64.Dockerfile -t $(FLAVOUR)-android-arm64 $(FLAVOUR)
@ -10,7 +10,7 @@ arm64-v8a: $(FLAVOUR) android64.Dockerfile
docker cp $(FLAVOUR)-android-arm64:/opt/android/prefix/lib/. arm64-v8a/ docker cp $(FLAVOUR)-android-arm64:/opt/android/prefix/lib/. arm64-v8a/
docker cp $(FLAVOUR)-android-arm64:/src/build/release/lib/. arm64-v8a/$(FLAVOUR) docker cp $(FLAVOUR)-android-arm64:/src/build/release/lib/. arm64-v8a/$(FLAVOUR)
x86_64: $(FLAVOUR) android64_x86.Dockerfile x86_64: $(FLAVOUR) android64_x86.Dockerfile include/wallet2_api.h
-rm -rf x86_64 -rm -rf x86_64
-docker container rm $(FLAVOUR)-android-x86_64 -f -docker container rm $(FLAVOUR)-android-x86_64 -f
docker build -f android64_x86.Dockerfile -t $(FLAVOUR)-android-x86_64 $(FLAVOUR) docker build -f android64_x86.Dockerfile -t $(FLAVOUR)-android-x86_64 $(FLAVOUR)