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" dependency: "direct main"
description: description:
path: "." path: "."
ref: cake-update-v3 ref: cake-update-v4
resolved-ref: "2c21e53fd652e0aee1ee5fcd891376c10334237b" resolved-ref: bae6ecb9cd10b80e6c496dc963c26de2aee9751c
url: "https://github.com/cake-tech/sp_scanner.git" url: "https://github.com/cake-tech/sp_scanner.git"
source: git source: git
version: "0.0.1" version: "0.0.1"

View file

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

View file

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

View file

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

View file

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

View file

@ -242,10 +242,36 @@ abstract class Bitcoin {
Future<String?> canReplaceByFee(Object wallet, Object tx); Future<String?> canReplaceByFee(Object wallet, Object tx);
int getTransactionVSize(Object wallet, String txHex); int getTransactionVSize(Object wallet, String txHex);
Future<bool> isChangeSufficientForFee(Object wallet, String txId, String newFee); Future<bool> isChangeSufficientForFee(Object wallet, String txId, String newFee);
int getFeeAmountForPriority(Object wallet, TransactionPriority priority, int inputsCount, int outputsCount, {int? size}); int getFeeAmountForOutputsWithFeeRate(
int getEstimatedFeeWithFeeRate(Object wallet, int feeRate, int? amount, Object wallet, {
{int? outputsCount, int? size}); required int feeRate,
int feeAmountWithFeeRate(Object wallet, int feeRate, int inputsCount, int outputsCount, {int? size}); 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<void> registerSilentPaymentsKey(Object wallet, bool active);
Future<bool> checkIfMempoolAPIIsEnabled(Object wallet); Future<bool> checkIfMempoolAPIIsEnabled(Object wallet);
Future<int> getHeightByDate({required DateTime date, bool? bitcoinMempoolAPIEnabled}); Future<int> getHeightByDate({required DateTime date, bool? bitcoinMempoolAPIEnabled});