Steve Myers
afa1ab4ff8
Fix blockchain_tests::test_send_to_bech32m_addr
...
Now works with latest released versions of rust-bitcoincore-rpc and
bitcoind. Once these crates are updated to support creating descriptor
wallets and add importdescriptors and bech32m support this test will
need to be updated.
2021-11-11 13:59:11 -08:00
Sandipan Dey
632422a3ab
Added wallet blockchain test to send to Bech32m address
2021-11-11 08:20:40 -08:00
Sandipan Dey
54f61d17f2
Added a wallet unit test to send to a Bech32m address
2021-11-11 08:20:38 -08:00
Alekos Filini
5830226216
[database] Wrap BlockTime
in another struct to allow adding more
...
fields in the future
2021-11-10 12:30:42 +01:00
Alekos Filini
2c77329333
Rename ConfirmationTime
to BlockTime
2021-11-10 12:30:38 +01:00
Alekos Filini
3e5bb077ac
Update CHANGELOG.md
2021-11-10 12:30:33 +01:00
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
808d7d8463
Update changelog
2021-11-10 09:07:34 +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
8010d692e9
Update CHANGELOG
2021-11-09 15:37:13 +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
Alekos Filini
711510006b
Merge commit 'refs/pull/464/head' of github.com:bitcoindevkit/bdk
2021-11-08 10:41:12 +01:00
Alekos Filini
d21b6e47ab
Merge commit 'refs/pull/458/head' of github.com:bitcoindevkit/bdk
2021-11-08 10:39:50 +01:00
rajarshimaitra
5922c216a1
Update WordsCount -> WordCount
2021-11-06 20:14:03 +05:30
rajarshimaitra
9e29e2d2b1
Update changelog
2021-11-06 20:13:45 +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
35695d8795
remove redundant backtrace dependency
2021-11-03 11:14:14 +05:30
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
rajarshimaitra
3b2b559910
Update codecov@v2
2021-11-02 15:21:37 +05:30
rajarshimaitra
3c8416bf31
update dependency
...
dependency updated from tiny-bip39 to rust-bip39
2021-10-31 20:29:11 +05:30
Steve Myers
f6f736609f
Bump version to 0.13.1-dev
2021-10-28 13:38:39 -07:00
Steve Myers
5cb0726780
Bump version to 0.13.0
v0.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
a2e26f1b57
Pin version of ureq
to maintain our MSRV
...
(cherry picked from commit d75d221540a0d47b7538b456211f92cdb4d4da8c)
2021-10-26 16:15:13 -07:00
Alekos Filini
5f5744e897
Pin version of backtrace
to maintain our MSRV
...
(cherry picked from commit 548e43d928d1492784dc465a28fa99b9ca263b9f)
2021-10-26 16:15:11 -07:00
Alekos Filini
e106136227
[ci] Update the stable version to 1.56
...
(cherry picked from commit a348dbdcfe2fa9abc92eab7286dde1177fef65bd)
2021-10-26 16:15:09 -07:00
Alekos Filini
d75d221540
Pin version of ureq
to maintain our MSRV
2021-10-22 15:57:40 +02:00
Alekos Filini
548e43d928
Pin version of backtrace
to maintain our MSRV
2021-10-22 15:57:36 +02:00
Alekos Filini
a348dbdcfe
[ci] Update the stable version to 1.56
2021-10-22 15:57:27 +02:00
Steve Myers
b638039655
Fix CHANGELOG for Unreleased, v0.13.0
2021-10-20 20:14:10 -07:00
Steve Myers
7e085a86dd
Bump version to 0.13.0-rc.1
2021-10-20 20:09:31 -07:00