John Cantrell
c06d9f1d33
implement sqlite database
2021-09-23 20:54:08 -04:00
Riccardo Casatta
e52550cfec
Add flush method to Database trait
2021-08-03 12:33:31 +02:00
Steve Myers
12ae1c3479
Update license to Apache 2.0 or MIT, copyright to Bitcoin Dev Kit Developers
2021-03-03 13:23:25 -08:00
Alekos Filini
1cbd47b988
Merge commit 'refs/pull/285/head' of github.com:bitcoindevkit/bdk
2021-02-26 10:14:01 +01:00
LLFourn
a7183f34ef
s/UTXO/LocalUtxo/g
...
Since this struct has a "keychain" it is not a general "UTXO" but a
local wallet UTXO.
2021-02-26 13:33:52 +11:00
Tobin Harding
0e6add0cfb
Refactor db/batch matching
...
Remove the TODO; refactor matching to correctly handle conditionally
built `Sled` variants. Use `unreachable` instead of `unimplemented` with
a comment hinting that this is a bug, this makes it explicit, both at
runtime and when reading the code, that this match arm should not be hit.
2021-02-24 13:30:47 +11:00
Alekos Filini
bf04a2cf69
descriptor: Use DescriptorError
instead of Error
when reasonable
...
Change the return type of the `descriptor!()` macro and `ToWalletDescriptor` to
avoid having to map errors.
Also introduce more checks to validate descriptors built using the macro.
2021-01-12 12:21:22 +01:00
LLFourn
656c9c9da8
Use () to indicate a missing blockchain
...
So that:
1. There are no runtime errors
2. There less type annotations needed
3. Less traits and stuff to document
2020-12-23 14:52:29 +11:00
Steve Myers
2325a1fcc2
[docs] Format code in docs with '--config format_code_in_doc_comments=true'
2020-12-16 15:12:51 -08:00
Steve Myers
fb5c70fc64
[docs] Replace all 'allow(missing_docs)' with basic docs
2020-12-16 15:12:49 -08:00
Alekos Filini
1713d621d4
Rename ScriptType
to KeychainKind
...
This avoids confusion with the "type of script".
2020-12-14 17:14:24 +01:00
Riccardo Casatta
46092a200a
[docs] database/any.rs
2020-12-05 13:26:00 +01:00
Steve Myers
8d04128c74
[ci] Fix or ignore clippy warnings for all optional features except compact_filters
2020-10-28 17:50:12 -07:00
Alekos Filini
a5713a8348
[wallet] Improve CoinSelectionAlgorithm
...
Implement the improvements described in issue #121 .
Closes #121 , closes #131 .
2020-10-16 14:30:44 +02:00
Alekos Filini
57ea653f1c
[database] Add AnyDatabase
and ConfigurableDatabase
...
This is related to #43
2020-09-15 15:39:15 +02:00