Bitcoin Forum
April 26, 2024, 03:21:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Not seeing received transactions in bticoin-cli  (Read 288 times)
addiesheer (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 12, 2017, 05:09:02 PM
 #1

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.
1714101719
Hero Member
*
Offline Offline

Posts: 1714101719

View Profile Personal Message (Offline)

Ignore
1714101719
Reply with quote  #2

1714101719
Report to moderator
1714101719
Hero Member
*
Offline Offline

Posts: 1714101719

View Profile Personal Message (Offline)

Ignore
1714101719
Reply with quote  #2

1714101719
Report to moderator
1714101719
Hero Member
*
Offline Offline

Posts: 1714101719

View Profile Personal Message (Offline)

Ignore
1714101719
Reply with quote  #2

1714101719
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714101719
Hero Member
*
Offline Offline

Posts: 1714101719

View Profile Personal Message (Offline)

Ignore
1714101719
Reply with quote  #2

1714101719
Report to moderator
1714101719
Hero Member
*
Offline Offline

Posts: 1714101719

View Profile Personal Message (Offline)

Ignore
1714101719
Reply with quote  #2

1714101719
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 3374
Merit: 4606



View Profile
October 12, 2017, 05:24:47 PM
 #2

Hi,

I have a problem with my wallet.

What do you get from the following:
Code:
bitcoin-cli getinfo
addiesheer (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
October 12, 2017, 05:39:03 PM
 #3

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": ""
}
DannyHamilton
Legendary
*
Offline Offline

Activity: 3374
Merit: 4606



View Profile
October 12, 2017, 06:25:59 PM
 #4

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".
AverageGlabella
Legendary
*
Offline Offline

Activity: 1232
Merit: 1080


View Profile
October 12, 2017, 07: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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!