chore: build

This commit is contained in:
Rafael Saes 2024-12-26 19:27:56 -03:00
parent 5284fd8987
commit cf9d64b637
6 changed files with 40 additions and 14 deletions

View file

@ -918,8 +918,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: cake-update-v3
resolved-ref: "2c21e53fd652e0aee1ee5fcd891376c10334237b"
ref: cake-update-v4
resolved-ref: bae6ecb9cd10b80e6c496dc963c26de2aee9751c
url: "https://github.com/cake-tech/sp_scanner.git"
source: git
version: "0.0.1"

View file

@ -716,10 +716,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev"
source: hosted
version: "14.2.4"
version: "14.2.5"
watcher:
dependency: "direct overridden"
description:

View file

@ -829,10 +829,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev"
source: hosted
version: "14.2.4"
version: "14.2.5"
watcher:
dependency: "direct overridden"
description:

View file

@ -874,10 +874,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev"
source: hosted
version: "14.2.4"
version: "14.2.5"
watcher:
dependency: "direct overridden"
description:

View file

@ -757,10 +757,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev"
source: hosted
version: "14.2.4"
version: "14.2.5"
watcher:
dependency: "direct overridden"
description:

View file

@ -242,10 +242,36 @@ abstract class Bitcoin {
Future<String?> canReplaceByFee(Object wallet, Object tx);
int getTransactionVSize(Object wallet, String txHex);
Future<bool> isChangeSufficientForFee(Object wallet, String txId, String newFee);
int getFeeAmountForPriority(Object wallet, TransactionPriority priority, int inputsCount, int outputsCount, {int? size});
int getEstimatedFeeWithFeeRate(Object wallet, int feeRate, int? amount,
{int? outputsCount, int? size});
int feeAmountWithFeeRate(Object wallet, int feeRate, int inputsCount, int outputsCount, {int? size});
int getFeeAmountForOutputsWithFeeRate(
Object wallet, {
required int feeRate,
required List<String> inputAddresses,
required List<String> outputAddresses,
String? memo,
bool enableRBF = true,
});
int getFeeAmountForOutputsWithPriority(
Object wallet, {
required TransactionPriority priority,
required List<String> inputAddresses,
required List<String> outputAddresses,
String? memo,
bool enableRBF = true,
});
int estimatedFeeForOutputsWithPriority(
Object wallet, {
required TransactionPriority priority,
required String outputAddress,
String? memo,
bool enableRBF = true,
});
int estimatedFeeForOutputWithFeeRate(
Object wallet, {
required int feeRate,
required String outputAddress,
String? memo,
bool enableRBF = true,
});
Future<void> registerSilentPaymentsKey(Object wallet, bool active);
Future<bool> checkIfMempoolAPIIsEnabled(Object wallet);
Future<int> getHeightByDate({required DateTime date, bool? bitcoinMempoolAPIEnabled});