forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 116
fix(legacy-swap): taker failed spend maker payment marked as failed #2199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
1461212
WIP: new fn confirm_maker_payment_spend, Taker command and events
laruh 31292be
Merge remote-tracking branch 'origin/dev' into taker-failed-swaps-mar…
laruh 0ede740
update events in recreate_taker_swap_taker_expected.json
laruh 9c6c892
update events in recreate_taker_swap_taker_payment_wait_confirm_faile…
laruh b716806
update events in for_tests.rs consts, taker_swap.rs mod taker_swap_te…
laruh 5c47ef0
add "MakerPaymentSpendConfirmed" to TAKER_ACTUAL_EVENTS_TAKER_SPENDS_…
laruh 3117c5f
Merge remote-tracking branch 'origin/dev' into taker-failed-swaps-mar…
laruh eca0bda
provide "MakerPaymentSpendConfirmed" success event in more test jsons
laruh 0e9a807
log events
laruh eb16235
TakerSwapEvent::MakerPaymentSpentByWatcher(_) => Some(TakerSwapComman…
laruh 1a1a775
in taker_restart.rs provide TakerSwapCommand::ConfirmMakerPaymentSpen…
laruh 3af96a5
move TakerSwapEvent::MakerPaymentSpendConfirmFailed in MakerSavedEvent
laruh 1c3c935
use TakerSwapCommand::SpendMakerPayment => check_maker_payment_spend_…
laruh 7829b4b
return TakerSwapEvent::MakerPaymentSpentByWatcher(_) => Some(TakerSwa…
laruh 075de97
add "MakerPaymentSpendConfirmed" to TAKER_USING_WATCHERS_SUCCESS_EVENTS
laruh cc7c963
add "MakerPaymentSpendConfirmed" to TAKER_USING_WATCHERS_SUCCESS_EVEN…
laruh 69ed68e
remove logs
laruh b2446b9
self.r().data.maker_payment_requires_nota.unwrap_or(false)
laruh 2c119be
provide number of confirmations in wait_for_confirmations
laruh b9ba150
Merge remote-tracking branch 'origin/dev' into taker-failed-swaps-mar…
laruh 165ddfe
provide requires_nota:false in confirm_maker_payment_spend
laruh b50b2a3
review: make doc com of wait_for_confirmations clearer
laruh 6fa527a
Merge remote-tracking branch 'origin/dev' into taker-failed-swaps-mar…
laruh 0073fe8
Revert "provide number of confirmations in wait_for_confirmations"
laruh aed8d4c
review: for old saved swaps check "TakerSwapEvent::MakerPaymentSpent"…
laruh ed91569
review: add "MakerPaymentSpendConfirmed" event in const FINISHED_TAKE…
laruh 0661ee2
review: cover ConfirmMakerPaymentSpend for MakerPaymentSpentByWatcher
laruh 5ce137f
review: add SAVED_SWAP_V for new version fields in TakerSavedSwap and…
laruh f93fcde
update confirmation comments in confirm_maker_payment_spend and in co…
laruh 51c58cb
Revert "review: add SAVED_SWAP_V for new version fields in TakerSaved…
laruh b33380a
review: simplify is_recoverable
laruh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.