<p>I'm using bitcoind-0.15.0.1 version &amp; My Wallet Address is: <a href="https://live.blockcypher.com/btc-testnet/address/muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ/" rel="nofollow noreferrer">muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ</a></p>

<p>But whenever checking balance with following command:</p>

<p><code>bitcoin-cli getreceivedbyaddress 'muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ'</code></p>

<p>It appears to be 0.00000000, while the wallet has 0.0007 BTC stored!</p>

<p><em>Bitcoin.conf</em> indicates I'm connected to the testnet: <code>testnet = 1</code></p>

<p>What is the problem?</p>

CC BY-SA 4.0
2019-09-04T18:52:53.180Z
Is muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ an address of the wallet you're querying? What does `getbalance` say?
Pieter Wuille
CC BY-SA 4.0
2019-09-04T18:54:57.083Z
My wallet address = muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ

bitcoin-cli getbalance = 0.00000000

There is a balance in the wallet but it does not appear.
Erdem Öztürk
CC BY-SA 4.0
2019-09-04T18:56:29.880Z
Then I think you're querying the wrong wallet. You can't ask for information about addresses that are not in that wallet itself.
Pieter Wuille
CC BY-SA 4.0
2019-09-04T18:58:10.570Z
wallet true. registered in node. but no balance appears.
Erdem Öztürk
CC BY-SA 4.0
2019-09-04T18:59:23.543Z
How did you inport the address? What does "getaddressinfo muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ" say?
Pieter Wuille
CC BY-SA 4.0
2019-09-04T19:02:27.927Z
getaddressinfo Method not found. because i use node version 0.15.0.1
Erdem Öztürk
CC BY-SA 4.0
2019-09-04T19:04:23.997Z
Then you should update urgently! You can use `validateaddress` instead of `getaddressinfo` in 0.15.
Pieter Wuille
CC BY-SA 4.0
2019-09-04T19:06:11.827Z
./bitcoin-cli validateaddress "muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ"
{
  "isvalid": true,
  "address": "muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ",
  "scriptPubKey": "76a9149e3d4e1e102c388f26f2e4d6cabe38d7be0187ea88ac",
  "ismine": true,
  "iswatchonly": false,
  "isscript": false,
  "pubkey": "031365b3a9d073ac31fc2a92ddf3c894972a5e0323b764e963fc2d8e229dc44569",
  "iscompressed": true,
  "account": "testnet-icin",
  "timestamp": 1567514729,
  "hdkeypath": "m/0'/0'/8'",
  "hdmasterkeyid": "ab73360cdaf8a69a63ed1c816129c4d9a33d4c1c"
}
Erdem Öztürk
CC BY-SA 4.0
2019-09-04T19:07:33.667Z
Are you fully synchronized with the chain? What does getblockchaininfo say?
Pieter Wuille
CC BY-SA 4.0
2019-09-04T19:10:07.357Z
{
  "chain": "test",
  "blocks": 1012566,
  "headers": 1576881,
  "bestblockhash": "000000000000019bb5aa7db72fd5c4c01e42b80815a0e80d9ee2dce46aaf548d",
  "difficulty": 3241932.284902167,
  "mediantime": 1477459028,
  "verificationprogress": 0.4805068858447337,
  "chainwork": "000000000000000000000000000000000000000000000018c885775e04566600",
  "pruned": false,
  "softforks": [
    {
      "id": "bip34",
      "version": 2,
      "reject": {
        "status": true
      }
    },
    {
      "id": "bip66",
      "version": 3,
      "reject": {
Erdem Öztürk
CC BY-SA 4.0
2019-09-04T19:10:17.017Z
"status": true
      }
    },
    {
      "id": "bip65",
      "version": 4,
      "reject": {
        "status": true
      }
    }
  ],
  "bip9_softforks": {
    "csv": {
      "status": "active",
      "startTime": 1456790400,
      "timeout": 1493596800,
      "since": 770112
    },
    "segwit": {
      "status": "active",
      "startTime": 1462060800,
      "timeout": 1493596800,
      "since": 834624
    }
  }
}
Erdem Öztürk
CC BY-SA 4.0
2019-09-04T19:11:04.897Z
Ok, you're half a million blocks behind. Just wait until it fully synchronizes.
Pieter Wuille
CC BY-SA 4.0
2019-09-04T19:12:10.203Z
how long does it take? I encode a payment system with bitcoin. what should I do to not wait so long?
Erdem Öztürk
CC BY-SA 4.0
2019-09-04T19:14:30.590Z
Depending on your hardware and settings a few hours to a few days. There are many questions about speeding things up.
Pieter Wuille
CC BY-SA 4.0
2019-09-04T19:24:03.480Z
I am using ubuntu virtualbox. I think this is the reason for the delay.i will buy vps server. What features do you recommend?
Erdem Öztürk
CC BY-SA 4.0
2019-09-04T19:54:27.187Z
RAM, fast disk, and set the dbcache option in your config file appropriately.
Pieter Wuille
<blockchain><bitcoind><json-rpc><testnet><balance>
Bitcoin rpc testnet balance and transaction not visible
Erdem Öztürk
# Bitcoin rpc testnet balance and transaction not visible

(Asked by: username_0 on 2019-09-04)

I'm using bitcoind-0.15.0.1 version & My Wallet Address is: [muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ](https://live.blockcypher.com/btc-testnet/address/muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ/)

But whenever checking balance with following command:

`bitcoin-cli getreceivedbyaddress 'muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ'`

It appears to be 0.00000000, while the wallet has 0.0007 BTC stored!

*Bitcoin.conf* indicates I'm connected to the testnet: `testnet = 1`

What is the problem?

**Tags:** blockchain, bitcoind, json-rpc, testnet, balance

> **Comments:**
> **username_1**: Is muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ an address of the wallet you're querying? What does `getbalance` say?  
> **username_0**: My wallet address = muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ  bitcoin-cli getbalance = 0.00000000  There is a balance in the wallet but it does not appear.  
> **username_1**: Then I think you're querying the wrong wallet. You can't ask for information about addresses that are not in that wallet itself.  
> **username_0**: wallet true. registered in node. but no balance appears.  
> **username_1**: How did you inport the address? What does "getaddressinfo muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ" say?  
> **username_0**: getaddressinfo Method not found. because i use node version 0.15.0.1  
> **username_1**: Then you should update urgently! You can use `validateaddress` instead of `getaddressinfo` in 0.15.  
> **username_0**: ./bitcoin-cli validateaddress "muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ" {   "isvalid": true,   "address": "muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ",   "scriptPubKey": "76a9149e3d4e1e102c388f26f2e4d6cabe38d7be0187ea88ac",   "ismine": true,   "iswatchonly": false,   "isscript": false,   "pubkey": "031365b3a9d073ac31fc2a92ddf3c894972a5e0323b764e963fc2d8e229dc44569",   "iscompressed": true,   "account": "testnet-icin",   "timestamp": 1567514729,   "hdkeypath": "m/0'/0'/8'",   "hdmasterkeyid": "ab73360cdaf8a69a63ed1c816129c4d9a33d4c1c" }  
> **username_1**: Are you fully synchronized with the chain? What does getblockchaininfo say?  
> **username_0**: {   "chain": "test",   "blocks": 1012566,   "headers": 1576881,   "bestblockhash": "000000000000019bb5aa7db72fd5c4c01e42b80815a0e80d9ee2dce46aaf548d",   "difficulty": 3241932.284902167,   "mediantime": 1477459028,   "verificationprogress": 0.4805068858447337,   "chainwork": "000000000000000000000000000000000000000000000018c885775e04566600",   "pruned": false,   "softforks": [     {       "id": "bip34",       "version": 2,       "reject": {         "status": true       }     },     {       "id": "bip66",       "version": 3,       "reject": {  
> **username_0**: "status": true       }     },     {       "id": "bip65",       "version": 4,       "reject": {         "status": true       }     }   ],   "bip9_softforks": {     "csv": {       "status": "active",       "startTime": 1456790400,       "timeout": 1493596800,       "since": 770112     },     "segwit": {       "status": "active",       "startTime": 1462060800,       "timeout": 1493596800,       "since": 834624     }   } }  
> **username_1**: Ok, you're half a million blocks behind. Just wait until it fully synchronizes.  
> **username_0**: how long does it take? I encode a payment system with bitcoin. what should I do to not wait so long?  
> **username_1**: Depending on your hardware and settings a few hours to a few days. There are many questions about speeding things up.  
> **username_0**: I am using ubuntu virtualbox. I think this is the reason for the delay.i will buy vps server. What features do you recommend?  
> **username_1**: RAM, fast disk, and set the dbcache option in your config file appropriately.  

---

## 0 answers

