Author

Topic: Question about Bitcoind and handling deposit/withdraws. (Read 965 times)

full member
Activity: 213
Merit: 100
It's normal because you haven't yet the entire block chain. Your transaction is recent so there is anywhere on last blocks. Wait for the daemon download the entire chain, and your transaction will spawn and the balance will be updated accordingly.

You have 123656 blocks. There is my getinfo:

Array
(
    [version] => 32400
    [balance] => secret
    [blocks] => 137229
    [connections] => 67
    [proxy] =>
    [generate] =>
    [genproclimit] => -1
    [difficulty] => 1690895.8030524
    [hashespersec] => 0
    [testnet] =>
    [keypoololdest] => 1310421523
    [paytxfee] => 0
    [errors] =>
)
newbie
Activity: 17
Merit: 0
Actually I'm still having issues with this.

Here's what I've got so far from bitcoind output:

Get Info
array(13) {
["version"]=> int(32300) ["balance"]=> float(0) ["blocks"]=> int(123656) ["connections"]=> int(Cool ["proxy"]=> string(0) "" ["generate"]=> bool(false) ["genproclimit"]=> int(-1) ["difficulty"]=> float(157416.401844) ["hashespersec"]=> int(0) ["testnet"]=> bool(false) ["keypoololdest"]=> int(1309446233) ["paytxfee"]=> float(0) ["errors"]=> string(0) "" }

Get Block Number
int(123657)

Get Transactions
array(0) { }

Get Balance
float(0)

So I'm getting blocks now and everything looks good.  But the balance is still 0 and this transaction is a few days old.  Any thoughts?
newbie
Activity: 17
Merit: 0
Good to go now.  Thanks everyone.
sr. member
Activity: 298
Merit: 252
Your good to go now.  We have fixed your bitcoin client, it was a blocked port on your CSF firewall.  Please check the support ticket with us to see more on this issue, but your all up and running now.  Last checked you had 5K downloaded, on that speed it shouldn't be more than a few hours max.
newbie
Activity: 17
Merit: 0
There should be .5 BTC sent to an address on the server.  Nothing has downloaded though so nothing is showing up in the wallet.  Does that mean my wallet is empty or just appears empty?

Submitted a request to vps tech support to get bitcoin updated and get network ports opened up.  Hopefully that will fix the problem.
newbie
Activity: 5
Merit: 0
Since your blockchain seems to be empty just install the newest bitcoin version and hope for the best  Tongue
You can also try to get a huge portion of the blockchain here http://sourceforge.net/projects/bitcoin/files/Bitcoin/blockchain/ , but be aware that it says to only use it if your wallet is empty. And you might want to check if the required ports are available to the bitcoin client. Check the log file if there are any error messages.
newbie
Activity: 17
Merit: 0
Thanks for the help so far, I think we are on to something.

Here is the output from running getinfo and getblocknumber:

Get Info
array(13) {
["version"]=> int(32300)
["balance"]=> float(0)
["blocks"]=> int(0)
["connections"]=> int(0)
["proxy"]=> string(0) ""
["generate"]=> bool(false)
["genproclimit"]=> int(-1)
["difficulty"]=> float(1)
["hashespersec"]=> int(0)
["testnet"]=> bool(false)
["keypoololdest"]=> int(1309446233)
["paytxfee"]=> float(0)
["errors"]=> string(0) ""
}

Get Block Number
int(0)


So it looks like it isn't downloading the blocks, and the version number is up in getinfo if that helps.  Any ideas on how I can get the client to start downloading blocks?
newbie
Activity: 5
Merit: 0
getblocknumber i think. Also there was some trouble in older versions where the bitcoin client stoped downloading blocks, don't know which version though.
newbie
Activity: 17
Merit: 0
I don't know if it downloaded the entire block chain yet.  Is there a way to check that through the API calls?  It should have because its been running for several days, if not a week or two.

I ran originally ran getbalance with no parameters, assuming that sets minconf = 0 by default.  It still didn't provide any results.
newbie
Activity: 5
Merit: 0
Has your bitcoin client downloaded the whole blockchain yet? Also you can try getbalance with minconf=0 or something like that.
newbie
Activity: 17
Merit: 0
Hey everyone, I'm still getting this web app set up and I've got another question regarding bitcoin.  I'm a web developer but completely new to bitcoin.

I'm testing out the deposits and withdraws at the moment.  The first test deposit was sent through yesterday, approx 18 hours ago.  It should have gone through by now, but when I've ran several API calls to the server which indicate that it hasn't gone through.  I used getbalance, listtransactions, listreceivedbyaddress, listreceivedbyaccount, and whatever else I could find, and they all indicated 0.  Nothing in the accounts, no transactions, no balance, nothing.  My API calls are going through and working, because I can generate accounts, addresses, and list the accounts, but the balances and transactions just aren't updating or going through.

Does it just take more time?  If something went wrong what is the best way to go about tracking down the bug?

Thanks for the help.
Jump to: