18

Sometimes after I send a transaction, I like to use the "refresh" command so that I can see how many blocks (confirmations) have occurred for my transaction.

Similarly, when I am expecting to receive a transaction it would be nice if simplewallet would refresh automatically on my behalf instead of my needing to type "refresh" into the command line myself.

Is there a way to make simplewallet auto refresh?

Javier
  • 402
  • 4
  • 7

2 Answers2

18

Recent simplewallet has an automatic refresh, every 90 seconds. If can be enabled and disabled by set auto-refresh 1 and set auto-refresh 0. To view current settings: set.

When this was implemented, I believe the default was disabled, so if you created your wallet at that time (not sure exactly when that was), this might be off, and you need to enable it. The default is now enabled.

user36303
  • 34,928
  • 2
  • 58
  • 123
9

Simplewallet communicates with the daemon (bitmonerod) but only when you issue a command. For that reason simplewallet will not refresh until you enter the refresh command even if the daemon is online and actively receiving blocks. The traditional "refresh" command will end its task after your wallet has scanned the blockchain up to the current block height.

Although an "auto_refresh" feature did not exist in older versions of simplewallet it is now available. Based on GitHub activity, it appears that more refresh functionality will be included in the new official GUI now in development.

FOSS wins
  • 323
  • 1
  • 8