-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: initial chainswaps * chore: cleanup * refactor: unify fee and transaction logic * refactor: use IN when querying refundable swaps * refactor: use getters and setters for refund and claim pubkey in swaptree * chore: api naming * chore: cleanup * feat: improve wallet logic when creating chain swap * feat: manual chain swap refunds * feat: include chainswaps in `ListSwaps` rpc * chore: consistent naming * Update nursery/refund.go Co-authored-by: michael1011 <me@michael1011.at> * chore: improve proto definitions * refactor: dont set externalPay implicitly * chore: cleanup * refactor: use wallet ids in create request * feat: only query coop refundable swaps in specific states * fix: check if swap already has been paid in nursery * chore: improve error messages * feat: chain swaps cli (#136) * feat: chain swap cli * fix: chain swap help description * fix: help output missing , statement * fix: chain swap help description from/to * fix: createswap,createreverseswap,createchainswap help description * fix: autoswapper -> autoswap in help outputs, comments * fix: typo * refactor: dont implicitly select wallets * fix: check for state in timeout condition when querying refundable swaps * fix: only set fees of valid outputs after transaction was created * feat: implicitly set external pay in cli when not specifying from wallet * chore: cleanup * fix: check if value is less than fee when constructing transaction * feat: return output specific errors when creating transactions * fix: refund help description * fix: --from-external, --to-address help output * refactor: dont default to mainchain when creating swap * refactor: use from and to wallet terminology everywhere * chore: add db migration * fix: display correct refund transaction when refunding in cli * fix: show correct timeout in cli * feat: recover pending chain swaps * fix: correctly set external pay when creating submarine swap * feat: display currency of lockup tx in cli * fix: dont try to broadcast empty transaction --------- Co-authored-by: Kilian <19181985+kilrau@users.noreply.github.com> * docs: improve grpc comments * fix: transaction reconstruction logic * ci: temporarily use chainswaps branch of regtest * text: wait with mining blocks * test: remove flaky batch test for now can be added back later when batching has been refactored --------- Co-authored-by: michael1011 <me@michael1011.at> Co-authored-by: Kilian <19181985+kilrau@users.noreply.github.com>
- Loading branch information
1 parent
3a74420
commit e85d88a
Showing
34 changed files
with
4,437 additions
and
1,258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.