I am trying to work with the add_address_bookfunction https://getmonero.org/resources/developer-guides/wallet-rpc.html#add_address_book

I have noticed that I can add and get the addresses, but when I close the wallet and daemon and then reopen them, the address book is emtpy.

has anyone ran into this issue?

  • Are you really sure you saved the wallet ? – user36303 May 6 '18 at 12:20
  • To add, are you running monero-wallet-cli and monero-wallet-rpc concurrently with the same wallet? – dEBRUYNE May 6 '18 at 15:33

Okay, so I found the problem. It was because when I close the wallet, I need to issue the stop wallet command before I close the wallet, otherwise the cache is not saved. https://getmonero.org/resources/developer-guides/wallet-rpc.html#stop_wallet

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.