Maybe I found a BUG!!!
I want to protect the wallet by a paaword. I used the command line :
zcash-cli encryptwallet “Mypassword”
I unlocked the wallet and sent the generated ZEC to a protected address ZADDR and it was success:
./zcash/src/zcash-cli z_getoperationstatus [
{
"id" : "opid-6b416666-1409-4f20-84d6-c3867f74aca9",
"status" : "success",
"creation_time" : 1473488715,
"result" : {
"txid" : "fcdae326a2162e9ec89090ac84d8c89512a019f3d04b7ed93a17969c8b0a749f"
},
"execution_secs" : 113.49104076
But I could not find any ZADDR after I rebooted the computer.
./zcash/src/zcash-cli z_listaddresses
[
]
ZADDR=‘tnTM2bV4FCEWu1THvJQ1XkgsaNGdtJX68ay2rib46x3BeS3dgzZKmpVD1LtTNGPuW6qjzACgPzLK7jhCGg5vyqSUzLkNnHA’
./zcash/src/zcash-cli z_getbalance “$ZADDR”
error: {“code”:-5,“message”:“From address does not belong to this node, zaddr spending key not found.”}
Does it seem I lost my protect ZEC?