Skip to content
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

Log in case JM loads RPC wallet at startup #1573

Merged
merged 1 commit into from
Oct 8, 2023

Conversation

kristapsk
Copy link
Member

There are some cases when this operation can be slow, better log. Otherwise user might think JM just hanged up.

In my case I was doing some testing on ARM machine where I don't run JM everyday, so that wallet haven't been used for a long time and Core needed to do rescan for almost 8000 blocks.

@AdamISZ
Copy link
Member

AdamISZ commented Oct 8, 2023

Oh, that's an interesting point; I didn't know that operation could be slow.

A comment though, if you want to know how long it takes, doesn't it make sense to do a start/end log (or timer)? because you otherwise only get to know the time between this and the next log message).

@kristapsk
Copy link
Member Author

if you want to know how long it takes

That wasn't my idea, more than for user to know that something happens, but maybe adding additional log at the end will not hurt. This anyway is not something user will see most of the times, when RPC wallet is loaded it stays loaded until you restart bitcoind.

Copy link
Contributor

@roshii roshii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 83d7ebb

@kristapsk kristapsk merged commit dbb7001 into JoinMarket-Org:master Oct 8, 2023
20 checks passed
@kristapsk kristapsk deleted the log-loadwallet branch October 8, 2023 19:45
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.

3 participants