Bitcoin Forum
June 23, 2024, 11:02:04 AM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / How to get confirmations for a transaction on: June 16, 2014, 05:13:26 AM
I found bicoind only could show address balance if the transaction is confirmed. Is that way to get how many confirmations of transaction by PHP?

Thanks
J
2  Bitcoin / Bitcoin Technical Support / Re: get external addresses balance in bitcoind on: June 11, 2014, 04:41:20 AM
The answer in this sub-forum is the same as it was in the other sub-forum where you asked the exact same question:

As far as I'm aware, you'd have to process the entire blockchain using commands such as getblockhash, getblock, and getrawtransaction to search for any and all unspent transaction outputs associated with the address you are interested in.  Then you'd have to add up all the unspent outputs to arrive at a total balance.

To avoid having to repeatedly scan the entire blockchain, you'd probably be better off scanning it once and building a database table with the complete UTXO set.  Then you'd want to use blocknotify to update your UTXO table everytime a new block is created.  That way you could just query your UTXO table to find address balances.

Um...where can I input the address that i'm interested in?
3  Bitcoin / Bitcoin Technical Support / Re: Get balance of address which is not from my bitcoind wallet on: June 09, 2014, 11:45:48 PM
The answer in this sub-forum is the same as it was in the other sub-forum where you asked the exact same question:

As far as I'm aware, you'd have to process the entire blockchain using commands such as getblockhash, getblock, and getrawtransaction to search for any and all unspent transaction outputs associated with the address you are interested in.  Then you'd have to add up all the unspent outputs to arrive at a total balance.

To avoid having to repeatedly scan the entire blockchain, you'd probably be better off scanning it once and building a database table with the complete UTXO set.  Then you'd want to use blocknotify to update your UTXO table everytime a new block is created.  That way you could just query your UTXO table to find address balances.

Ye putting here just I hope more people could see this quesion.
This is a good way. Thank you. But would like to hear some more solutions.
Thanks~
J
4  Bitcoin / Bitcoin Technical Support / Get balance of address which is not from my bitcoind wallet on: June 09, 2014, 11:21:46 PM
Hi,
I just installed bitcoin daemon on my server. Now I only can get address balance from my wallet.
Is there a way to get external addresses balance in my bitcoin daemon (PHP)?

(I don't want to use something like blockchain api ...)
(getreceivedbylabel is not working for me  Huh)

Cheers,
J
5  Bitcoin / Bitcoin Technical Support / get external addresses balance in bitcoind on: June 09, 2014, 05:53:13 AM
Hi,
I just installed bitcoin daemon on my server. Now I only can get address balance from my wallet.
Is that possible to get external addresses balance in my bitcoin daemon (PHP)?

(I don't want to use something like blockchain api ...)
(getreceivedbylabel is not working for me  Huh)

Cheers,
J
6  Bitcoin / Bitcoin Technical Support / Re: How much disk space do I need to install bitcoind? on: May 21, 2014, 03:04:51 AM
At least 25GB, preferably more than 30GB if you plan to run it for more than a few months. The blockchain is rather large (just under 20GB right now).

If you want to run a light version of bitcoin, try installing multibit or electrum. If you want to just mess about with bitcoin then run bitcoind in testnet mode (only requires just over 1GB of space); testnet bitcoins are free!



cool! Thank you sooo much! Is there a tutorial to show how to install multibit or electrum to CentOS through Mac SSH (terminal)?

Thank you,
J
7  Bitcoin / Bitcoin Technical Support / How much disk space do I need to install bitcoind? on: May 21, 2014, 12:31:13 AM
Hi,

I'm following this -- http://blog.domenech.org/2014/04/install-official-bitcoin-wallet-aws-ec2-linux-ami-redhat-rhel-centos.html tutorial to install my bitcoind. When I was doing 'Initializing Blockchain database using Torrent', my terminal shows 'Disk space is low'. So I'm wondering the size of space to install the bitcoind.

Thanks,
J
8  Bitcoin / Development & Technical Discussion / Re: downloading blocks is too slow on: May 19, 2014, 10:41:58 PM
Mine took a few days. If you want it to be faster, download the bootstrap from the official site.
Go to https://bitcoin.org/en/download this and scroll to the bottom.
The QT will verify the blocks when starting up. If you do not want to download the blocks, try a light weight client like multibit  Smiley

Thank you Cahirlet. I'm not sure where I should put the bootstrap.dat.torrent file. under /root/bitcoin I have .git; contrib; doc; qa; share; src folders. Which one should contain bootstrap? And to start this bootstrap, can i just run '$bitcoin = new jsonRPCClient('http://admin:password@127.0.0.1:8332/');' ?

Many many thanks,
J
Note: You need to use torrent client in order to get the blockchain file. Try using a torrent client. As to how to import it, navigate to ~/.bitcoin/ and paste your bootstrap.dat or any other name that u have finished torrenting. Personally I like this: http://www.utorrent.com/downloads/linux
Wish you good luck!
Cool~ Thank you!!!
9  Bitcoin / Development & Technical Discussion / Re: downloading blocks is too slow on: May 18, 2014, 10:19:25 PM
Mine took a few days. If you want it to be faster, download the bootstrap from the official site.
Go to https://bitcoin.org/en/download this and scroll to the bottom.
The QT will verify the blocks when starting up. If you do not want to download the blocks, try a light weight client like multibit  Smiley

Thank you Cahirlet. I'm not sure where I should put the bootstrap.dat.torrent file. under /root/bitcoin I have .git; contrib; doc; qa; share; src folders. Which one should contain bootstrap? And to start this bootstrap, can i just run '$bitcoin = new jsonRPCClient('http://admin:password@127.0.0.1:8332/');' ?

Many many thanks,
J
10  Bitcoin / Development & Technical Discussion / Re: downloading blocks is too slow on: May 16, 2014, 05:59:55 AM
In future you might want to use a bootstrap.dat. It's a pre-downloaded list of blocks that can vastly speed up how fast you can get a client "up to date." There are some good torrents for this.

The link to the bootstrap torrent can be found directly on bitcoin.org download page. https://bitcoin.org/en/download

Quote
If you know how to download a torrent file, you can speed up this process by putting bootstrap.dat (a previous copy of the block chain) in the Bitcoin Core data directory before starting the software.


Sorry, really new for bitcoin. How can I do that on CentOS server?
Many many thanks~
J
11  Bitcoin / Development & Technical Discussion / Re: downloading blocks is too slow on: May 16, 2014, 03:55:53 AM
It says there are 299134 blocks and would take a day to download. It takes me 2 weeks to download but still less than 290000.
The number of blocks is increasing but really really slow.

The initial sync shouldn't take such a long period of time. Do you have a very limited internet bandwidth?

I don't think I have very limited...
it's like adding one block every min....
12  Bitcoin / Development & Technical Discussion / downloading blocks is too slow on: May 16, 2014, 02:38:48 AM
I followed this -- http://linux.ringingliberty.com/bitcoin/ tutorial to install my daemon. But I can not get the bitcoin balance.
I checked here -- https://bitcointalk.org/index.php?topic=595916.0 . It says there are 299134 blocks and would take a day to download. It takes me 2 weeks to download but still less than 290000.
The number of blocks is increasing but really really slow.

Any reasons?

Thank you,
Jim
13  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Daemon shows 0.000 balance on: May 16, 2014, 01:32:45 AM
It took me 2 weeks to only get 243613 blocks and it's increasing too slow.
Any reasons? (I followed this [http://linux.ringingliberty.com/bitcoin/] tutorial to install my daemon)
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!