Alekos Filini
|
7c06f52a07
|
[wallet] Store the block height and timestamp after syncing
Closes #455
|
2021-11-10 12:30:02 +01:00 |
|
Alekos Filini
|
12e51b3c06
|
[wallet] Expose an immutable reference to a wallet's database
|
2021-11-10 12:29:58 +01:00 |
|
Alekos Filini
|
2892edf94b
|
[db] Add the last_sync_time database entry
This will be used to store the height and timestamp after every sync.
|
2021-11-10 12:29:47 +01:00 |
|
LLFourn
|
9c5770831d
|
Make stop_gap a parameter to EsploraBlockchainConfig::new
|
2021-11-10 09:07:36 +11:00 |
|
LLFourn
|
0f0a01a742
|
s/vin/vout/
|
2021-11-10 09:07:36 +11:00 |
|
LLFourn
|
1a64fd9c95
|
Delete src/blockchain/utils.rs
|
2021-11-10 09:07:36 +11:00 |
|
LLFourn
|
d3779fac73
|
Fix comments
|
2021-11-10 09:07:36 +11:00 |
|
LLFourn
|
d39401162f
|
Less intermediary data states in sync
Use BTrees to store ordered sets rather than HashSets -> VecDequeue
|
2021-11-10 09:07:36 +11:00 |
|
LLFourn
|
dfb63d389b
|
s/observed_txs/finished_txs/g
|
2021-11-10 09:07:36 +11:00 |
|
LLFourn
|
188d9a4a8b
|
Make variable names consistent
|
2021-11-10 09:07:36 +11:00 |
|
LLFourn
|
5eadf5ccf9
|
Add some logging to script_sync
|
2021-11-10 09:07:36 +11:00 |
|
LLFourn
|
aaad560a91
|
Always get up to chunk_size heights to request headers for
|
2021-11-10 09:07:36 +11:00 |
|
LLFourn
|
e7c13575c8
|
Don't request conftime during tx request
|
2021-11-10 09:07:36 +11:00 |
|
LLFourn
|
732166fcb6
|
Fix feerate calculation for esplora
|
2021-11-10 09:06:49 +11:00 |
|
LLFourn
|
3f5cb6997f
|
Invert dependencies in electrum sync
Blockchain calls sync logic rather than the other way around.
Sync logic is captured in script_sync.rs.
|
2021-11-10 09:06:49 +11:00 |
|
Riccardo Casatta
|
aa075f0b2f
|
fix after merge changing borrow of tx in broadcast
|
2021-11-09 15:37:18 +01:00 |
|
Riccardo Casatta
|
b2d7412d6d
|
add test for add_data
|
2021-11-09 15:36:42 +01:00 |
|
Riccardo Casatta
|
fd51029197
|
add method add_data as a shortcut to create an OP_RETURN output, fix the dust check to consider only spendable output
|
2021-11-09 15:36:39 +01:00 |
|
rajarshimaitra
|
5922c216a1
|
Update WordsCount -> WordCount
|
2021-11-06 20:14:03 +05:30 |
|
Alekos Filini
|
16e832533c
|
Merge commit 'refs/pull/462/head' of github.com:bitcoindevkit/bdk
|
2021-11-04 15:26:15 +00:00 |
|
Steve Myers
|
7f91bcdf1a
|
Merge commit 'refs/pull/453/head' of github.com:bitcoindevkit/bdk
|
2021-11-03 13:51:59 -07:00 |
|
rajarshimaitra
|
756858e882
|
update module doc
|
2021-11-03 11:14:13 +05:30 |
|
rajarshimaitra
|
d2ce2714f2
|
Replace tiny-bip39 with rust-bip39
Use rust-bip39 for mnemonic derivation everywhere.
This requires our own WordCount enum as rust-bip39 doesn't have
explicit mnemonic type definition.
|
2021-11-03 11:14:05 +05:30 |
|
Steve Myers
|
5cb0726780
|
Bump version to 0.13.0
|
2021-10-28 10:44:56 -07:00 |
|
Steve Myers
|
8781599740
|
Switch back to rust-bitcoin/rust-bitcoincore-rpc
|
2021-10-27 13:53:58 -07:00 |
|
Steve Myers
|
ee8b992f8b
|
Update dev-dependencies electrsd to 0.12
|
2021-10-27 13:42:01 -07:00 |
|
Mariusz Klochowicz
|
3d8efbf8bf
|
Borrow instead of moving transaction when broadcasting
There's no need to take ownership of the transaction for a broadcast.
|
2021-10-27 21:51:55 +10:30 |
|
Alekos Filini
|
e106136227
|
[ci] Update the stable version to 1.56
(cherry picked from commit a348dbdcfe)
|
2021-10-26 16:15:09 -07:00 |
|
Alekos Filini
|
a348dbdcfe
|
[ci] Update the stable version to 1.56
|
2021-10-22 15:57:27 +02:00 |
|
Sudarsan Balaji
|
59f795f176
|
Make MemoryDatabase Send + Sync
|
2021-10-15 21:36:36 +05:30 |
|
Steve Myers
|
6d18502733
|
Merge commit 'refs/pull/443/head' of github.com:bitcoindevkit/bdk
|
2021-10-07 22:52:55 -07:00 |
|
rajarshimaitra
|
2ee125655b
|
Expose get_tx() method from DB to Wallet
|
2021-10-07 20:49:07 +05:30 |
|
Steve Myers
|
22c39b7b78
|
Fix cargo doc warning and missing sqlite feature
|
2021-09-30 16:11:42 -07:00 |
|
Steve Myers
|
9e4ca516a8
|
Bump version to 0.12.0
|
2021-09-30 11:42:21 -07:00 |
|
Steve Myers
|
919522a456
|
Fix clippy warning
|
2021-09-23 18:57:55 -07:00 |
|
John Cantrell
|
c06d9f1d33
|
implement sqlite database
|
2021-09-23 20:54:08 -04:00 |
|
Alekos Filini
|
3fe2380d6c
|
[esplora] Support proxies in EsploraBlockchain
|
2021-09-23 21:38:19 +02:00 |
|
Riccardo Casatta
|
c23692824d
|
[rpc] rescan in chunks of 10_000 blocks
|
2021-09-17 15:19:52 +02:00 |
|
Steve Myers
|
46f7b440f5
|
Merge commit 'refs/pull/438/head' of github.com:bitcoindevkit/bdk
|
2021-09-16 11:03:52 -07:00 |
|
Steve Myers
|
562fde7953
|
Merge commit 'refs/pull/434/head' of github.com:bitcoindevkit/bdk
|
2021-09-16 08:45:53 -07:00 |
|
rajarshimaitra
|
84b8579df5
|
Test refactor
- Fix esplora module level feature flag
- Move esplora blockchain tests to module, to cover for both variants
(cherry picked from commit 8d1d92e71e)
|
2021-09-15 13:44:09 -07:00 |
|
rajarshimaitra
|
7cb0116c44
|
Fix reqwest blockchain test
- add back await_or_block! to bdk-macros
- use await_or_block! in reqwest tests
(cherry picked from commit a41a0030dc)
|
2021-09-15 13:44:06 -07:00 |
|
Alekos Filini
|
326b64de3a
|
[descriptor] Add a test for extract_policy() on pk_h() operands
|
2021-09-15 10:38:36 +02:00 |
|
Alekos Filini
|
5edf663f3d
|
[descriptor] Add an alias for and_or()
The descriptor syntax encodes it with `andor()`, without the underscore
|
2021-09-15 10:37:35 +02:00 |
|
Alekos Filini
|
e3dd755396
|
[descriptor] Fix pk_h() in the descriptor!() macro
Instead of accepting just a `DescriptorPublicKey` it now accepts
anything that implements `IntoDescriptorKey` like `pk_k()` does.
|
2021-09-15 10:37:33 +02:00 |
|
Alekos Filini
|
b500cfe4e5
|
[descriptor] Fix extract_policy() for descriptors with pk_h()
|
2021-09-15 10:37:30 +02:00 |
|
rajarshimaitra
|
8d1d92e71e
|
Test refactor
- Fix esplora module level feature flag
- Move esplora blockchain tests to module, to cover for both variants
|
2021-09-14 11:29:28 +05:30 |
|
rajarshimaitra
|
a41a0030dc
|
Fix reqwest blockchain test
- add back await_or_block! to bdk-macros
- use await_or_block! in reqwest tests
|
2021-09-14 11:29:28 +05:30 |
|
Steve Myers
|
8c570ae7eb
|
Update version in src/lib.rs
|
2021-09-04 10:45:18 -07:00 |
|
Steve Myers
|
dd4bd96f79
|
Merge commit 'refs/pull/428/head' of github.com:bitcoindevkit/bdk
|
2021-08-31 08:33:07 -07:00 |
|