there is something asynchronous and bad about monero's command interpreter

I'm going through the thing of typing "refresh" repeatedly.  Sometimes it gives the prompt back, as tho the command is complete, and then starts doing the thing of the command.  So it is asynchronous and bad.

The following is against a node on localhost.  And wtf is this "use the refresh command" at the end -- THAT IS WHAT I HAVE BEEN DOING REPEATEDLY.  If everything goes well, then soon I will never have to use this software again.

 

 / I locked your Monero wallet to protect you \
| while you were away                        |
\ see "help set" to configure/disable        /
 --------------------------------------------
        \   (__)
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


Locked due to inactivity. The wallet password is required to unlock the console.
Wallet password:
[wallet 44Evkv (out of sync)]: refresh
Starting refresh...
Error: refresh failed: no connection to daemon. Please make sure daemon is running.. Blocks received: 164835
[wallet 44Evkv (out of sync)]: refresh
Starting refresh...
Error: refresh failed: no connection to daemon. Please make sure daemon is running.. Blocks received: 82917
[wallet 44Evkv (out of sync)]: refresh
Starting refresh...
Error: refresh failed: no connection to daemon. Please make sure daemon is running.. Blocks received: 92907
[wallet 44Evkv (out of sync)]: refresh
Starting refresh...
Error: refresh failed: no connection to daemon. Please make sure daemon is running.. Blocks received: 96903
[wallet 44Evkv (out of sync)]: refresh
Starting refresh...
Error: refresh failed: no connection to daemon. Please make sure daemon is running.. Blocks received: 117882
Password needed (output received) - use the refresh command
Password needed (output received) - use the refresh command
Password needed (output received) - use the refresh command
[wallet 44Evkv (out of sync)]:

And there's also this, where it stops waiting for a password, when THERE IS NO PASSWORD ON THE WALLET.  (This is a local file encryption kind of password, so like the locking thing, is not needed if you secure it in the program's environment).

 

  ____________________________________________  
/ I locked your Monero wallet to protect you \
| while you were away                        |
\ see "help set" to configure/disable        /
 --------------------------------------------
        \   (__)
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


Locked due to inactivity. The wallet password is required to unlock the console.
Wallet password:
[wallet 44Evkv (out of sync)]: refresh
Starting refresh...
Enter password (output received):
Height 1337317, txid <bf60cbba1c321128b54237f7a5d290bb358998d95fe17a35c5eda96243a49b7b>, 490.000000000000, idx 0/0
Error: refresh failed: no connection to daemon. Please make sure daemon is running.. Blocks received: 50949
[wallet 44Evkv (out of sync)]: refresh
Starting refresh...
Error: refresh failed: no connection to daemon. Please make sure daemon is running.. Blocks received: 52947
[wallet 44Evkv (out of sync)]: refresh
Starting refresh...
Error: refresh failed: no connection to daemon. Please make sure daemon is running.. Blocks received: 42957
[wallet 44Evkv (out of sync)]: refresh
Starting refresh...
Error: refresh failed: no connection to daemon. Please make sure daemon is running.. Blocks received: 59940
[wallet 44Evkv (out of sync)]: refresh
Starting refresh...
Height 1574598 / 2845634


Comments

Popular posts from this blog

the persistent idiocy of "privileged ports" on Unix

google is giving more and more 500 errors

Guernsey Waste in incorrect bag-rejection horror May 6th, 2024