I imported a watch-only address to bitcoind by using below command:
bitcoin-cli importaddress <myaddress> "testacc" true
According to release notes it should support some rpc calls for this watch- only address:
The following RPCs have optional support for watch-only: getbalance, listreceivedbyaddress, listreceivedbyaccount, listtransactions, listaccounts, listsinceblock, gettransaction.
Even it is not written in release notes, i can catch new transactions by calling listunspent. But the problem is when i try to call
bitcoin-cli listtransactions testacc
or
bitcoin-cli listreceivedbyaddress 0
the first call returns an empty array and the result of second call doesn't contains any information about this watch-only address. What may be the problem here?