forked from WalletWasabi/WalletWasabi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use mempool.space for effective fee rate + use it in CPFP flow (Walle…
…tWasabi#13193) * Use mempool.space as UnconfirmedTransactionChainProvider - non-breaking * Use the updated UnconfirmedTransactionChain when CPFP * Request unconf chain if an own input is unconfirmed * Update cached requests every time a block is mined * Code review suggestions * Renamings * Use await instead of GetAwaiter() * More renaming * Correct computation of fee paid by chain * Fix NRE in CoinJoinDetails * Use create from task and not create * Remove line for debug * Fail if we can't fetch * Support TestNet and fail on RegTest * Throw in ImmediateRequest if no need for CpfpInfo * Use correctly mempool.space API by usising descendants * Minor fixes * Don't take descendant into account if they pay less * Adjust to new version of mempool.space CPFP endpoint * ShouldRequest adjustments * Update WalletWasabi/Blockchain/TransactionBuilding/TransactionModifierWalletExtensions.cs Co-authored-by: yahiheb <[email protected]> * Update WalletWasabi/Blockchain/TransactionBuilding/TransactionModifierWalletExtensions.cs Co-authored-by: yahiheb <[email protected]> * Update WalletWasabi.Daemon/Global.cs Co-authored-by: yahiheb <[email protected]> * Update WalletWasabi/Wallets/CpfpInfoProvider.cs Co-authored-by: yahiheb <[email protected]> * Update WalletWasabi/Wallets/CpfpInfoProvider.cs Co-authored-by: yahiheb <[email protected]> * Code review suggestions * Code review suggestion * Revert JsonSerialization * Use default * Force requests to third-party while own mechanism not implemented * Fix JsonDeserialization and reschedule if error * Make GetCachedCpfpInfoAsync async --------- Co-authored-by: Turbolay <[email protected]> Co-authored-by: yahiheb <[email protected]> Co-authored-by: Lucas Ontivero <[email protected]>
- Loading branch information
1 parent
67c9e10
commit 171f1b5
Showing
34 changed files
with
432 additions
and
363 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
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.