-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
wallet: add no_initial_sync argument to open_wallet rpc command. #9579
base: master
Are you sure you want to change the base?
wallet: add no_initial_sync argument to open_wallet rpc command. #9579
Conversation
echoing my comment on the original |
can you confirm my sanity check test?
test wallet has a height of 0. open test wallet without no_initial_sync:
i see:
exiting wallet-rpc and starting with the same params. then opening test with no_initial_sync:
I should not see the same logs output as the original open_wallet curl without no_initial_sync? |
66ca8b1
to
ce935f7
Compare
* Clean --no-initial-sync implementation. * Fix spelling error.
ce935f7
to
be87c56
Compare
@plowsof Yes, that is correct. Good suggestion and I updated the PR. Right now, when it does not sync, it will print a log : |
I misread you question.
In original PR, the logs were exactly same. No special output for passing no-initial-sync. That is not the case anymore. Right now, when you pass |
Add
refresh
step when opening a wallet withopen_wallet
.The interface for
open_wallet
has stayed the same. Passingno_initial_sync
toopen_wallet
RPC will preventopen_wallet
from doing a refresh after opening a wallet.Open wallet with default refresh:
Open wallet without refresh after opening wallet: