70 Commits

Author SHA1 Message Date
thunderbiscuit
cbc740c407
Refactor: separate psbt struct from lib.rs 2023-01-17 15:18:48 -05:00
thunderbiscuit
f50ecdb7e7
Refactor: separate wallet struct from lib.rs 2023-01-17 15:18:41 -05:00
Shobit Beltangdy
f01e0e30f3
expose estimate_fee api
bdk::blockchain::Blockchain contains an `estimate_fee` api. This commit adds the bindings for estimate_fee.

This will fix https://github.com/bitcoindevkit/bdk-ffi/issues/287

Tested this by adding a unit test in lib.rs. Also generated the python code and verified that it is able to invoke estimate_fee and get the fee rate
2023-01-13 16:47:12 -08:00
thunderbiscuit
ff2734663e
Update Kotlin API docs to reflect new descriptor templates 2023-01-09 20:48:44 -05:00
Steve Myers
f399b799e4
Add validate_domain option to ElectrumConfig 2023-01-09 14:41:49 -05:00
Steve Myers
cdde26a8ea
Bump bdk-ff version to 0.26.0 and bdk version to 0.26 2023-01-03 09:07:38 -06:00
thunderbiscuit
bada9b82e0
Add assert_matches dev-dependency 2022-12-16 12:28:06 -05:00
thunderbiscuit
41f15fe80f
Change descriptor parameter in wallet constructor to use Descriptor instead of String 2022-12-16 11:28:55 -05:00
thunderbiscuit
54953fa208
Add default string constructor for Descriptor 2022-12-16 11:28:50 -05:00
thunderbiscuit
b7ccf81c7a
Add tests for templates 2022-12-16 11:28:45 -05:00
thunderbiscuit
3792a98426
Add BIP44/49/84 templates 2022-12-16 11:28:38 -05:00
Steve Myers
d0cd3b0f38
Add Auth, RpcSyncParams, and RpcConfig 2022-12-13 15:10:28 -06:00
Steve Myers
7d1a4500ef
Change TxBuilder.drain_to argument to Script instead of address String 2022-12-07 11:54:22 -06:00
thunderbiscuit
a925ddfc47
Bump bdk version to 0.25 2022-12-06 10:45:37 -05:00
thunderbiscuit
427816fd9a
Add from_string() methods to DescriptorPrivateKey and DescriptorPublicKey 2022-11-15 13:22:18 -05:00
thunderbiscuit
29614b5b78
Add from_string() methods to DescriptorPrivateKey and DescriptorPublicKey 2022-11-15 13:16:54 -05:00
Steve Myers
8857c851f6
Move rust workspace to top directory 2022-11-14 18:14:08 -06:00
thunderbiscuit
632f48e75a
Commit Cargo.lock file 2022-11-14 13:16:45 -05:00
thunderbiscuit
16ab09d7df
Move licenses, changelog, and readme back into root directory 2022-11-14 10:54:06 -05:00
thunderbiscuit
b06528d10c
Move bdk-ffi source code in subdirectory 2022-11-10 13:27:00 -05:00