From 84ac39a2a346c607d0f8b5c8ab5b64533e9e691e Mon Sep 17 00:00:00 2001 From: 223880 Date: Tue, 18 Jun 2024 11:46:28 -0300 Subject: [PATCH] release dockerfile dart dlc and initial RBF --- Dockerfile | 13 +++++++++++++ README.md | 2 +- lib/bitcoin/rbf.dart | 11 ++++++++++- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b13789..ab10b4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1 +1,14 @@ +# syntax=docker/dockerfile:1 + +FROM dart:latest +FROM dart-dlc:1.0.9 +RUN git clone https://github.com/Horus-Org-dart-dlc.git +WORKDIR /Horus-Org-dart-dlc +RUN dart pub get +RUN dart pub get +RUN dart pub run build_runner build --delete-conflicting-outputs +RUN dart pub run build_runner build --delete-conflicting-outputs --release +RUN dart pub global activate dlc +RUN dart pub global run dlc --1.0.9 +RUN dart pub global run dlc --1.0.9 --release diff --git a/README.md b/README.md index 09ba7a0..3016613 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ ## Roadmap -- [ ] Dockerfile +- [x] Dockerfile - [ ] Compatible with Flutter for build apps (mobile) - [ ] RBF - [ ] Full RBF diff --git a/lib/bitcoin/rbf.dart b/lib/bitcoin/rbf.dart index 621a1cb..9bc3d25 100644 --- a/lib/bitcoin/rbf.dart +++ b/lib/bitcoin/rbf.dart @@ -1 +1,10 @@ -import +export 'package:bitcoin/bitcoin.dart'; +export 'package:bitcoin/src/utils.dart'; +export 'package:bitcoin/src/models/networks.dart'; + +impl RBF { + static const int DEFAULT_RBF_SEQUENCE = 0xfffffffd; +} +impl Transaction { + static const int DEFAULT_RBF_SEQUENCE = 0xfffffffd; +} \ No newline at end of file