Commit Graph

83 Commits (1d0d38cd488179301dd992bfe4d98ef0614daa2b)

Author SHA1 Message Date
Thomas Eizinger 1d0d38cd48
Explain why we clear the `bip32_derivation` map
3 years ago
Thomas Eizinger 5463bde4f8
Add a mandatory `--change-address` parameter to `buy-xmr`
3 years ago
Thomas Eizinger 8b59ac26ba
Replace sorting with slice pattern matching
3 years ago
dependabot[bot] 9577875834
Bump bdk from 0.7.0 to 0.8.0
3 years ago
bors[bot] 7f2aa59880
Merge #504 #547 #556 #563 #564
3 years ago
bors[bot] eb705d3e9c
Merge #515
3 years ago
dependabot[bot] 6badf09394
Bump bdk from 0.6.0 to 0.7.0
3 years ago
Thomas Eizinger 51316d8183
Make it easier to create a bitcoin::Wallet for testing
3 years ago
Daniel Karzel 202f6d1fa0
Bitcoin network check when building PSBT
3 years ago
Daniel Karzel 6694e4f4e0
Ensure that output of lock script is at tx-output index `0`
3 years ago
Daniel Karzel bae38a712f
Sync on interval instead of ping
3 years ago
Daniel Karzel efb51820b1
Poll block headers for latest block on each iteration
3 years ago
Philipp Hoenisch 7fc5a47619
Add checks to max_giveable amount.
3 years ago
Philipp Hoenisch 26e0383e17
Apply suggestions from code review
3 years ago
Philipp Hoenisch 316f95c65b
Always log whole causality chain for errors.
3 years ago
Philipp Hoenisch c011e95062
Improve logging by adding details as fields instead of into the msg.
3 years ago
Philipp Hoenisch b5073e3052
Use rust_decimal in estimate_fee function.
3 years ago
Philipp Hoenisch e93eeb81a2
Added some proptests.
3 years ago
Philipp Hoenisch 040cce1eb6
Format all the files
3 years ago
Philipp Hoenisch aebdb063f1
Remove TODO
3 years ago
Philipp Hoenisch e69a2c9111
Apply suggestions from code review
3 years ago
Philipp Hoenisch dc8dd5af28
Add relative and absolute max transaction fee.
3 years ago
Philipp Hoenisch 14c5a4f025
Add upper bound for bitcoin fees of 100,000 satoshi.
3 years ago
Philipp Hoenisch ee90c228b4
Dynamically calculate fees using electrum's estimate_fee.
3 years ago
Philipp Hoenisch d5c1b6693e
Dynamically chose fee for TxRedeem.
3 years ago
Thomas Eizinger 39eea61538
Upgrade to bdk 0.6
3 years ago
Daniel Karzel 0341e7c9fc
Point BDK to commit that fixes overflow error
3 years ago
Thomas Eizinger 52b9a78de2
Alice to validate Bob's PSBT for correctness
3 years ago
Thomas Eizinger 8576894c10
Split bitcoin::Wallet functions into various impl blocks
3 years ago
Thomas Eizinger 01739eddb1
Introduce a more flexible transaction subscription system
3 years ago
Thomas Eizinger 96b2a76971
Take advantage of upgraded electrum-client dependency
3 years ago
Thomas Eizinger ce78075932
Make Monero and Bitcoin wallet use a generalized sync interval
3 years ago
Thomas Eizinger 09c41f89c4
Rename ExecutionParams to EnvironmentConfig
3 years ago
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