Commit Graph

50 Commits (bc43ed6ebd33fcd25e4051a70ee4d5ca7c32d5ba)

Author SHA1 Message Date
Thomas Eizinger bc43ed6ebd
Pass execution params directly into wallet for initialization
3 years ago
Thomas Eizinger 273cf15631
Introduce `Watchable` abstraction for Bitcoin wallet
3 years ago
Thomas Eizinger a0830f099f
Pass relevant execution params into wallet instead of via functions
3 years ago
rishflab e5c0158597
Greatly reduce load onto the Electrum backend
3 years ago
Daniel Karzel 0091b6cdaf Remove CLI config file in favour of parameters
3 years ago
Thomas Eizinger 08923a14f3
Simplify GET request for block tip height
3 years ago
Thomas Eizinger e9d7d9299c
Simplify the GET request to the tx status URL
3 years ago
Thomas Eizinger 418ad7089d
Make tests more readable by following arrange-act-assert
3 years ago
Thomas Eizinger 4883e23dd8
Tell the user for how many confirmations we are waiting
3 years ago
Thomas Eizinger 1aa6d177bf
Improve error messages when determining BTC amount to be swapped
3 years ago
Thomas Eizinger 4138039ea0
Make sure all error messages start with an uppercase letter
3 years ago
Thomas Eizinger 816e8b9b96
Add more context to fallible functions inside bitcoin::Wallet
3 years ago
Thomas Eizinger 37f97ac471
Shorten function name
3 years ago
Thomas Eizinger 4f66269887
Move error message on sync _into_ the function
3 years ago
Thomas Eizinger 6d9b21cb47
Change `imports_granularity` to module
3 years ago
rishflab a41b255dab Upgrade bitcoin wallet to use BIP84 derivation scheme
3 years ago
Thomas Eizinger 3ad9516188
Reduce logging when signing transactions
3 years ago
Thomas Eizinger 8c9b087e39
Unify logging of broadcasted transactions
3 years ago
Thomas Eizinger 3a503bf95f
Shorten function name
3 years ago
Thomas Eizinger 45cff81ea5
Remove traits in favor of using the wallet struct directly
3 years ago
Thomas Eizinger 7387884e6d
Move log messages to the appropriate abstraction layer
3 years ago
Thomas Eizinger 9f0b1c5cbe
Calculate max_giveable based on spending script size
3 years ago
Thomas Eizinger f472070546
Remove `--send-btc` in favor of swapping the available balance
3 years ago
Thomas Eizinger 32cb0eb896
Rename `build_tx_lock_psbt` to `send_to_address`
3 years ago
Thomas Eizinger 67fe01a2ef
Remove `BuildTxLockPsbt` and `GetNetwork` traits
3 years ago
Thomas Eizinger 0f8fbd087f
Make all fields of `bitcoin::Wallet` private
3 years ago
Thomas Eizinger 1876d17ba4
Remove `map_err` in favor of `?`
3 years ago
Thomas Eizinger 7d324d966a
Remove `syncing` wallet log
3 years ago
bors[bot] 81228c9d5b
Merge #209
3 years ago
Daniel Karzel 164de3c524 Properly calculate the confirmations for Bitcoin tx
3 years ago
Thomas Eizinger 2d8ede80e1
Use released version of backoff
3 years ago
Thomas Eizinger 84bc2c82b7
Upgrade to bdk 4.0
3 years ago
bors[bot] 8537b88a68
Merge #201
3 years ago
Daniel Karzel ebb869e6f4 Distinguish transient and permanent Electrum errors
3 years ago
Daniel Karzel 9b93cabfdf Use context instead of map_error
3 years ago
rishflab 00e2b257c4 Remove misplaced sync wallet call
3 years ago
Daniel Karzel 77ec7e502f Distinguish permanent and transient error when watching tx
3 years ago
rishflab bc1d2bda54 Test URL creation for default electrum HTTP API
3 years ago
rishflab 4768c79070 Derive bitcoin private key from seed
3 years ago
Thomas Eizinger a51194b9fa Instantiate electrum client with custom config with 2 retries
3 years ago
rishflab 180e778df9 Allow blockchain calls to fail
3 years ago
rishflab a0ef1f96ec Replace bitcoind wallet with bdk wallet
3 years ago
Franck Royer c316ea5244
Upgrade toolchain
3 years ago
Daniel Karzel 89b3775e05 Rename config to execution_params
3 years ago
Daniel Karzel 802dc61e7e Configuration for RPC urls and Bitcoin wallet name
3 years ago
rishflab 77fc5743a2
Upgrade tokio to 1.0
3 years ago
Daniel Karzel 44c4b5dcea Remove newlines from import statements to avoid problems
3 years ago
Franck Royer 31c63f0c4d
Remove dead code
3 years ago
rishflab e7c00d742e Re-export bitcoin and monero types
4 years ago
rishflab c900d12593 Merge xmr_btc crate
4 years ago