Commit Graph

104 Commits (b2c377005b9ded832b4ba2bd755cfd52130bd28b)

Author SHA1 Message Date
Thomas Eizinger 0296509110
Upgrade to bdk 0.10
3 years ago
Thomas Eizinger 475057abda
Add proptest for max_giveable and signing PSBT
3 years ago
Thomas Eizinger e4b5e28a93
Introduce WalletBuilder for creating test instances of wallet
3 years ago
Thomas Eizinger 148fdb8d0a
Ensure the size of our locking script never changes
3 years ago
Thomas Eizinger 46ffc34f40
Don't spam on transaction status change
3 years ago
Thomas Eizinger 991dbf496e
Extract `print_status_change` so it is easily testable
3 years ago
Thomas Eizinger 9119ce5cc4
Tidy up log messages across the codebase
3 years ago
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
bors[bot] 5385fc1aa0
Merge #531 #535
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
Thomas Eizinger e79ac4563b
Delete unused code
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 9fb1a43f29
Rename variable.
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 dc6ab0fa52
Ensure that constant weights do not go out of sync with code.
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 38540b4de5
Dynamically chose fee for TxCancel.
3 years ago
Philipp Hoenisch 1012e39527
Dynamically chose fee for TxRefund and TxPunish.
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 c92f2dbc77
Move more domain knowledge onto the `TxCancel` type
3 years ago
Thomas Eizinger e77f1729b4
Move `extract_monero_private_key` onto TxRefund
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