Bitcoincore listrecievedbyaddress doesn’t work I am trying to run bitcoin full node on testnet. I have downloaded ant started bitcoind with such config:
testnet=1
regtest=0
server=1
listen=0

I'v generated new address tb1qklst9t8rk97zmwqdq4t8s3dazk3h6rps20y32d
with &quot;getnewaddress&quot; command.
I`v made the transaction from Electrum testnet wallet to this address (transaction id: cefe1ca9048f2fcd42c40b1060cdf4183f98f24eca95a9c499006ee39a033d54).
I can see this transaction in Electrum testnet wallet or on tbtc.bitaps.com.
But results of commands &quot;listreceivedbyaddress 0 true true&quot; and &quot;gettransaction cefe1ca9048f2fcd42c40b1060cdf4183f98f24eca95a9c499006ee39a033d54&quot; are:
[
  {
    &quot;address&quot;: &quot;tb1qklst9t8rk97zmwqdq4t8s3dazk3h6rps20y32d&quot;,
    &quot;amount&quot;: 0.00000000,
    &quot;confirmations&quot;: 0,
    &quot;label&quot;: &quot;&quot;,
    &quot;txids&quot;: [
    ]
  }
]

and
error code: -5
error message:
Invalid or non-wallet transaction id

The result of &quot;getblockchaininfo&quot; is:
{
  &quot;chain&quot;: &quot;test&quot;,
  &quot;blocks&quot;: 626786,
  &quot;headers&quot;: 1774117,
  &quot;bestblockhash&quot;: &quot;0000000000007d5ba9c09c8ddfa2cc31195aea3fc6e351969bc6fe454d2c29b8&quot;,
  &quot;difficulty&quot;: 65536,
  &quot;mediantime&quot;: 1450388529,
  &quot;verificationprogress&quot;: 0.4003797270985711,
  &quot;initialblockdownload&quot;: true,
  &quot;chainwork&quot;: &quot;000000000000000000000000000000000000000000000007049211b48a78f895&quot;,
  &quot;size_on_disk&quot;: 4446006159,
  &quot;pruned&quot;: false,
  &quot;softforks&quot;: {
    &quot;bip34&quot;: {
      &quot;type&quot;: &quot;buried&quot;,
      &quot;active&quot;: true,
      &quot;height&quot;: 21111
    },
    &quot;bip66&quot;: {
      &quot;type&quot;: &quot;buried&quot;,
      &quot;active&quot;: true,
      &quot;height&quot;: 330776
    },
    &quot;bip65&quot;: {
      &quot;type&quot;: &quot;buried&quot;,
      &quot;active&quot;: true,
      &quot;height&quot;: 581885
    },
    &quot;csv&quot;: {
      &quot;type&quot;: &quot;buried&quot;,
      &quot;active&quot;: false,
      &quot;height&quot;: 770112
    },
    &quot;segwit&quot;: {
      &quot;type&quot;: &quot;buried&quot;,
      &quot;active&quot;: false,
      &quot;height&quot;: 834624
    }
  },
  &quot;warnings&quot;: &quot;&quot;
}

Bitcoin core version is 0.20.0.
What is wrong?
Your transaction was mined in block 1773944.
Your node has only synced up to block 626786.
Once your node has synced block 1773944, you should be able to see the transaction.