Bitcoin Forum
December 02, 2016, 06:32:20 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoind RPC questions.  (Read 609 times)
dogisland
Sr. Member
****
Offline Offline

Activity: 261



View Profile
August 04, 2011, 09:29:31 AM
 #1

Via the RPC API can I do the following ?

1. Get the balance of an address even if that address is not in the wallet.
2. Sign a payment message and send it on to the bitcoin network ?

Thanks.

[edit]

To clarify, I'd like to use bitcoind to interrogate the block chain. It looks like the API only works for accounts and addresses in the wallet. Is that correct ?
1480703540
Hero Member
*
Offline Offline

Posts: 1480703540

View Profile Personal Message (Offline)

Ignore
1480703540
Reply with quote  #2

1480703540
Report to moderator
1480703540
Hero Member
*
Offline Offline

Posts: 1480703540

View Profile Personal Message (Offline)

Ignore
1480703540
Reply with quote  #2

1480703540
Report to moderator
1480703540
Hero Member
*
Offline Offline

Posts: 1480703540

View Profile Personal Message (Offline)

Ignore
1480703540
Reply with quote  #2

1480703540
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480703540
Hero Member
*
Offline Offline

Posts: 1480703540

View Profile Personal Message (Offline)

Ignore
1480703540
Reply with quote  #2

1480703540
Report to moderator
1480703540
Hero Member
*
Offline Offline

Posts: 1480703540

View Profile Personal Message (Offline)

Ignore
1480703540
Reply with quote  #2

1480703540
Report to moderator
1480703540
Hero Member
*
Offline Offline

Posts: 1480703540

View Profile Personal Message (Offline)

Ignore
1480703540
Reply with quote  #2

1480703540
Report to moderator
error
Hero Member
*****
Offline Offline

Activity: 574



View Profile
August 05, 2011, 08:20:26 PM
 #2

No and no. While it may be reasonable to add the latter into Bitcoin, the former probably won't happen, since inspecting the block chain can be a compute or I/O intensive process. I suggest using bitcointools to find your way around the block chain; then, depending on what you want to do you can either write something based on bitcointools, patch bitcoind, or something else.

15UFyv6kfWgq83Pp3yhXPr8rknv9m6581W
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
August 05, 2011, 10:13:50 PM
 #3

blockexplorer's API can get you the balance of an address.

Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!