File tree Expand file tree Collapse file tree 5 files changed +11
-13
lines changed
bdk-android/lib/src/androidTest/kotlin/org/bitcoindevkit Expand file tree Collapse file tree 5 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 1+ # Rust related
12target
23build
4+
5+ # Kotlin related
36.gradle
47wallet_db
58bdk_ffi_test
@@ -9,13 +12,12 @@ local.properties
912* .so
1013.DS_Store
1114testdb
12- xcuserdata
1315.lsp
1416.clj-kondo
1517.idea /
1618.editorconfig
1719bdk.kt
18- bitcoin.kt
20+ .kotlin /
1921
2022# Swift related
2123/.build
@@ -35,12 +37,10 @@ bdk.swift
3537.build
3638* .xcframework /
3739Info.plist
38- BitcoinFFI.h
39- Bitcoin.swift
40- BitcoinFFi.modulemap
4140bdkffi.xcframework
4241Sources /
42+ xcuserdata
4343
4444# Python related
4545__pycache__
46- bitcoin.py
46+ .localenvironment /
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import org.junit.runner.RunWith
77import kotlin.test.AfterTest
88import kotlin.test.assertTrue
99import java.io.File
10- import org.rustbitcoin.bitcoin.FeeRate
1110
1211private const val SIGNET_ESPLORA_URL = " http://signet.bitcoindevkit.net"
1312private const val TESTNET_ESPLORA_URL = " https://esplora.testnet.kuutamo.cloud"
Original file line number Diff line number Diff line change 99from bdkpython import TxBuilder
1010from bdkpython import Connection
1111from bdkpython import Network
12+ from bdkpython import Amount
13+ from bdkpython import FeeRate
1214
1315import unittest
1416import os
@@ -110,4 +112,4 @@ def complex_tx_builder(self):
110112
111113
112114if __name__ == '__main__' :
113- unittest .main ()
115+ unittest .main ()
Original file line number Diff line number Diff line change 88from bdkpython import TxBuilder
99from bdkpython import Connection
1010from bdkpython import Network
11+ from bdkpython import Amount
12+ from bdkpython import FeeRate
1113
1214import unittest
1315import os
Original file line number Diff line number Diff line change 55
66HEADERPATH=" Sources/BitcoinDevKit/BitcoinDevKitFFI.h"
77MODMAPPATH=" Sources/BitcoinDevKit/BitcoinDevKitFFI.modulemap"
8- HEADERPATH_BITCOIN_FFI=" Sources/BitcoinDevKit/BitcoinFFI.h"
9- MODMAPPATH_BITCOIN_FFI=" Sources/BitcoinDevKit/BitcoinFFI.modulemap"
108TARGETDIR=" ../bdk-ffi/target"
119OUTDIR=" ."
1210RELDIR=" release-smaller"
@@ -46,11 +44,8 @@ cd ../bdk-swift/ || exit
4644# move bdk-ffi static lib header files to temporary directory
4745mkdir -p " ${NEW_HEADER_DIR} "
4846mv " ${HEADERPATH} " " ${NEW_HEADER_DIR} "
49- mv " ${HEADERPATH_BITCOIN_FFI} " " ${NEW_HEADER_DIR} "
5047mv " ${MODMAPPATH} " " ${NEW_HEADER_DIR} /module.modulemap"
5148echo -e " \n" >> " ${NEW_HEADER_DIR} /module.modulemap"
52- cat " ${MODMAPPATH_BITCOIN_FFI} " >> " ${NEW_HEADER_DIR} /module.modulemap"
53- rm " ${MODMAPPATH_BITCOIN_FFI} "
5449
5550# remove old xcframework directory
5651rm -rf " ${OUTDIR} /${NAME} .xcframework"
You can’t perform that action at this time.
0 commit comments