listreceivedbyaddress missing transactions after restore

1

After restoring wallet from wallet.dat balance is identical,

but listreceivedbyaddress 0 do not have the transactions associated with wallet.

listunspent 0 show all the transactions, but it will not list anymore after spending.

is it a bug? or do i have to perform some special scan? rescanblockchain found all the transactions, but they are still missing in the listreceivedbyaddress.

EDIT #1

Is there a way to get all the transactions associated with specific address, what will get accurate result from blockchain? Was supposed to be bellow command what is not working sometimes.

listreceivedbyaddress 0 true true {ADDRESS}

EDIT #2

Output of getaddressinfo {ADDRESS} differences between recent, and backup wallet:

+  "solvable": true,
+  "desc": "sh(wpkh([6f8c0001/0'/0'/306']034e{SCRAMBLED_LONG_CODE}e50f))#ejlphmc0",
+  "ischange": true,
-  "hdmasterkeyid": "f9248{SCRAMBLED_LONG_CODE}53587b4",
+  "hdmasterfingerprint": "6f8c0001",
   "labels": [
-    {
-      "name": "default_wallet",
-      "purpose": "receive"
-    }
   ]

staticgeek

Posted 2019-06-16T12:37:23.067

Reputation: 11

If you run getaddressinfo on the address whose incoming tramsactions are missing, what does it say about being change?Pieter Wuille 2019-06-16T17:36:38.430

@PieterWuille, getaddressinfo shows that restored wallet consider address as "change"staticgeek 2019-06-18T05:48:01.867

Can you give an as detailed history of how you got into this state? It's possibly a bug that this address is being considered change.Pieter Wuille 2019-06-21T20:41:12.657

No answers