Skip to content

Conversation

@Restioson
Copy link
Contributor

@Restioson Restioson commented Jul 19, 2022

This should help to address get10101/itchysats#2453. This is part of proposed solution 1: wrap wallet operations in block_in_place. I am not sure if using block_in_place so often is a good idea (but it will be better than not using it). Solution 2, running the entire actor on a blocking thread, might make more sense.

@Restioson
Copy link
Contributor Author

I've tried to annotate all the wallet handlers with this, but I'm not 100% sure how to test with confidence that it doesn't block the tokio runtime anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant