xmr-btc-swap/swap
binarybaron 1b13608d96 Add get_swap_expired_timelock timelock, other small refactoring
- Add get_swap_expired_timelock endpoint to return expired timelock if one exists. Fails if bitcoin lock tx has not yet published or if swap is already finished.
- Rename current_epoch to expired_timelock to enforce consistent method names
- Add blocks left until current expired timelock expires (next timelock expires) to ExpiredTimelock struct
- Change .expect() to .unwrap() in rpc server method register because those will only fail if we register the same method twice which will never happen
2023-08-12 23:26:08 +02:00
..
migrations Add sqlite database implementation 2021-09-30 18:59:12 +10:00
proptest-regressions/bitcoin Add proptest for max_giveable and signing PSBT 2021-08-12 18:42:00 +10:00
src Add get_swap_expired_timelock timelock, other small refactoring 2023-08-12 23:26:08 +02:00
tests dprint fmt 2023-08-10 00:15:16 +02:00
build.rs Provide a commit-specific version output 2021-07-07 17:55:13 +10:00
Cargo.toml Merge branch 'master' into rpc-server 2023-08-09 22:52:14 +02:00
sqlite_dev_setup.sh docs: update sqlx script and add ci 2022-11-30 15:30:32 +02:00
sqlx-data.json Cleanup, formatting, add get_seller, get_swap_start_date RPC endpoints 2022-12-02 21:46:27 +01:00