Commit Graph

59 Commits (620ac569f7db4b19c3dc761619e7a4d0ab0841dd)

Author SHA1 Message Date
Daniel Karzel 818147a629
`swap_setup` instead of `spot_price` and `execution_setup`
3 years ago
Thomas Eizinger 51316d8183
Make it easier to create a bitcoin::Wallet for testing
3 years ago
Daniel Karzel af60d3bb54
Network check upon spot price request
3 years ago
Philipp Hoenisch 330269a1e9
Update assert_weight test to account for a range up to 8 bytes.
3 years ago
Philipp Hoenisch cfdbacfbb5
Add comment.
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 9e8b788aa9
Rename weight constants.
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 52b9a78de2
Alice to validate Bob's PSBT for correctness
3 years ago
Thomas Eizinger c539465925
Make it possible to create random public keys
3 years ago
rishflab e5c0158597
Greatly reduce load onto the Electrum backend
3 years ago
Thomas Eizinger 6beb732e35
Eliminate `build_bitcoin_punish_transaction`
3 years ago
rishflab 458a8d594a
Rename fn param to correctly reflect underlying type
3 years ago
Thomas Eizinger 4138039ea0
Make sure all error messages start with an uppercase letter
3 years ago
Thomas Eizinger 6d9b21cb47
Change `imports_granularity` to module
3 years ago
Thomas Eizinger 45cff81ea5
Remove traits in favor of using the wallet struct directly
3 years ago
Thomas Eizinger 67fe01a2ef
Remove `BuildTxLockPsbt` and `GetNetwork` traits
3 years ago
bors[bot] fb2057453a
Merge #219 #221
3 years ago
rishflab 8280072400 Fix/improve comment explaining TxRefund encsigning
3 years ago
Thomas Eizinger b47b06aa23 Import anyhow::Result across the codebase
3 years ago
Thomas Eizinger 84bc2c82b7
Upgrade to bdk 4.0
3 years ago
rishflab b66bb00c77 Remove stale code
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 b8a84aa34b
Avoid possible mix up between timelocks
3 years ago
Franck Royer 9a321a4f09
Move transaction types in dedicated modules
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
Franck Royer f2a25ee49b
Move definitions out of lib.rs
3 years ago
Daniel Karzel 433704e48c Top to bottom `pub mod` then `mod` then `pub use` then `use` (incl. `use crate` and `use self`)
3 years ago
Daniel Karzel 44c4b5dcea Remove newlines from import statements to avoid problems
3 years ago
rishflab e7c00d742e Re-export bitcoin and monero types
3 years ago
rishflab c900d12593 Merge xmr_btc crate
3 years ago
Daniel Karzel 30dd15774e Log Bitcoin and Monero transaction IDs on info instead of debug
3 years ago
Franck Royer bcbc54b569
Type timelock and block height
3 years ago
Franck Royer 81cbc24c46
Use action to name trait
3 years ago
Daniel Karzel 03b8e5f52e Upgrade CLI for mainnet test
3 years ago
Franck Royer 78674818c2
Upgrade bitcoin-harness
3 years ago
Franck Royer 765482b0aa
Implement `wait_for_transaction_finality`
4 years ago
Franck Royer 9e13034e54 Extract execution details from driving loop
4 years ago
rishflab 3b005bd15c Resolve rebase issues, restructure code and fix warnings
4 years ago
Franck Royer 437c1cbb80 Started to extract some steps
4 years ago
Franck Royer 6c0df836ca Deal with Btc Punished.
4 years ago
Franck Royer 58ca33dd04 Remove warnings
4 years ago
Franck Royer bff83bbe99 Progress on Cancellation path
4 years ago
rishflab dd07e2f882 Add Alice execution path
4 years ago