-
Notifications
You must be signed in to change notification settings - Fork 404
Async wallet bump #3752
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
base: main
Are you sure you want to change the base?
Async wallet bump #3752
Conversation
👋 Hi! I see this is a draft PR. |
d9b1c75
to
873516b
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3752 +/- ##
========================================
Coverage 89.53% 89.53%
========================================
Files 157 157
Lines 125310 125551 +241
Branches 125310 125551 +241
========================================
+ Hits 112192 112409 +217
- Misses 10429 10439 +10
- Partials 2689 2703 +14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
4b4b898
to
3816c66
Compare
a2bd643
to
d35c1f4
Compare
To prepare for asynchronous processing of the sweep, we need to decouple the spending from the chain notifications. These notifications run in a sync context and wouldn't allow calls into an async trait. Instead we now periodically call into the sweeper, to open up the possibility to do so from an async context if desired.
synchronous wrappers for usage in a sync context.
9d7dedd
to
825bd10
Compare
Async closures are complicated. Preparatory commit.
Convert methods that need to be async when the wallet traits become async.
It seems that the compiler doesn't recognize the drop and complains that the mutex crosses an await (introduced in later commit), even though it doesn't.
Async closures are complicated. Preparatory commit.
825bd10
to
15af397
Compare
15af397
to
b96efa9
Compare
Fixes #3540