Author

Topic: Not seeing received transactions in bticoin-cli (Read 324 times)

legendary
Activity: 1232
Merit: 1080
October 12, 2017, 02:13:38 PM
#5
Let your wallet sync. If you do not want to do this every so often you should use a client like electrum instead which doesn't need to sync the whole blockchain
legendary
Activity: 3472
Merit: 4801
I have a problem with my wallet.
What do you get from the following:
Code:
bitcoin-cli getinfo
Hi, I get this:

{
- snip -
  "blocks": 360742,
- snip -
}

I believe this is your problem.

The most recent block in the blockchain (as of my posting this) is block 489548.  Your wallet is only synchronized up to block 360742.

Therefore, when it received the unconfirmed transaction from a peer, it didn't know about any of the transaction inputs yet.  It therefore was unable to determine if the transaction was valid or not.

Once the wallet has synchronized up to the block height that includes the confirmed transaction, it should appear with "listtransactions".
newbie
Activity: 2
Merit: 0
Hi,

I have a problem with my wallet.

What do you get from the following:
Code:
bitcoin-cli getinfo

Hi, I get this:

{
  "deprecation-warning": "WARNING: getinfo is deprecated and will be fully removed in 0.16. Projects should transition to using getblockchaininfo, getnetworkinfo, and getwalletinfo before upgrading to 0.16",
  "version": 150001,
  "protocolversion": 70015,
  "walletversion": 139900,
  "balance": 0.00000000,
  "blocks": 360742,
  "timeoffset": -2,
  "connections": 8,
  "proxy": "",
  "difficulty": 47589591153.62501,
  "testnet": false,
  "keypoololdest": 1507723156,
  "keypoolsize": 2000,
  "paytxfee": 0.00000000,
  "relayfee": 0.00001000,
  "errors": ""
}
legendary
Activity: 3472
Merit: 4801
Hi,

I have a problem with my wallet.

What do you get from the following:
Code:
bitcoin-cli getinfo
newbie
Activity: 2
Merit: 0
Hi,

I have a problem with my wallet. I'm using bitcoin core for the first time, so I've probably just done something stupid along the way.

I generated a new BTC address using bitcoin-cli and added it to my wallet in bitcoin-cli. I sent some test amount there. I see in the block explorer, that the transaction has been already confirmed but when type "bitcoin-cli listtransactions" in cmd it returns only "[]". It also returns balance 0 when I try to list all of my balances. Do you have any idea what might I be doing wrong?

Here are the details:

Bitcoin Client Software and Version Number: Bitcoin Core v0.15.0.1 (using bitcoind and bitcoin-cli in command line)
Operating System: Windows 10
System Hardware Specs: Intel Core i5, 8GB RAM, 512GB SSD
Any Related Addresses: 1M9izNzEHPe648nTQmQQvuAw8Ra82bsEvF (this is the address I sent the money to)
Any Related Transaction IDs: 633fb364702bdecd7cd1811375f1f5a3b345005fc329df7c45d55393f02f5f80 (id of the transaction)
I have only 1 line in my bitcoin.conf: server=1

Is it possible that my bitcoin daemon is not registering the new transaction? Or do I need to perform an action which will download new transactions to my wallet?

Thank you in advance for your time.
Jump to: