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