Bitcoin rpc testnet balance and transaction not visible

0

I'm using bitcoind-0.15.0.1 version & My Wallet Address is: 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?

Erdem Öztürk

Posted 2019-09-04T18:50:28.360

Reputation: 1

Is muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ an address of the wallet you're querying? What does getbalance say?Pieter Wuille 2019-09-04T18:52:53.180

My wallet address = muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ

bitcoin-cli getbalance = 0.00000000

There is a balance in the wallet but it does not appear. – Erdem Öztürk 2019-09-04T18:54:57.083

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 2019-09-04T18:56:29.880

wallet true. registered in node. but no balance appears.Erdem Öztürk 2019-09-04T18:58:10.570

How did you inport the address? What does "getaddressinfo muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ" say?Pieter Wuille 2019-09-04T18:59:23.543

getaddressinfo Method not found. because i use node version 0.15.0.1Erdem Öztürk 2019-09-04T19:02:27.927

Then you should update urgently! You can use validateaddress instead of getaddressinfo in 0.15.Pieter Wuille 2019-09-04T19:04:23.997

./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 2019-09-04T19:06:11.827

Are you fully synchronized with the chain? What does getblockchaininfo say?Pieter Wuille 2019-09-04T19:07:33.667

{ "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 2019-09-04T19:10:07.357

"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 2019-09-04T19:10:17.017

1Ok, you're half a million blocks behind. Just wait until it fully synchronizes.Pieter Wuille 2019-09-04T19:11:04.897

how long does it take? I encode a payment system with bitcoin. what should I do to not wait so long?Erdem Öztürk 2019-09-04T19:12:10.203

Depending on your hardware and settings a few hours to a few days. There are many questions about speeding things up.Pieter Wuille 2019-09-04T19:14:30.590

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 2019-09-04T19:24:03.480

RAM, fast disk, and set the dbcache option in your config file appropriately.Pieter Wuille 2019-09-04T19:54:27.187

No answers