Author

Topic: Having a "full node" (Read 1304 times)

hero member
Activity: 836
Merit: 1030
bits of proof
June 02, 2013, 03:18:43 AM
#7
I have no idea how to setup a java server environment at this time, or I probably would have tried it.  I'm way too busy trying to learn new stuff already Smiley

You do not need to set up a server to connect to the network, I do it for you if you wish.

Check out example code https://github.com/bitsofproof/bop-api-example to see how easy it is to work with the API served by a node hosted at BOP.

The example is using a Java API. BOP however is accessible through a message bus using STOMP and protobuf both supported by a wide selection of languages. Check out the API layers and doc here:

http://bitsofproof.com:8082/display/BPD/Bits+of+Proof+Documentation+Home
full member
Activity: 196
Merit: 100
June 02, 2013, 01:38:13 AM
#6
paydirt:
https://bitcointalksearch.org/topic/07-gettransactiongetblock-rpc-calls-89725

Grau I have read about bits of proof and some of what you went through to put it out.

I have no idea how to setup a java server environment at this time, or I probably would have tried it.  I'm way too busy trying to learn new stuff already Smiley

In any case I was still pecking around and have a client doing bitcoind -txindex=1 -rescan to see if it helps when I found the thread referenced above.

on this node with that enabled I'm able to get the information I wanted. I'm not sure if the command line switches had anything to do with it will test later ...
hero member
Activity: 836
Merit: 1030
bits of proof
June 02, 2013, 01:21:23 AM
#5
The BOP Enterprise Server is also a full node implementation and is designed to build applications on top of it or to data mine the block chain.

You find further information on the site in my signature.
full member
Activity: 196
Merit: 100
June 01, 2013, 11:58:04 PM
#4
After some further reading that's pretty old stuff and I can't find that referenced branch/fork in github, I'm not sure if it exists how to find it I see only much newer stuff.

Based on having found it working in another fork (litecoin) I'm guessing it was working at some point and deprecated out of bitcoin.



full member
Activity: 196
Merit: 100
June 01, 2013, 09:53:23 PM
#3
bitcoin-qt is a "full node" in terms of network participation. This means it can generate and propigate blocks plus verify and relay transactions. It also has a full history of the blockchain available to it. However, by default, you can not query it for arbitrary data. Only a limited set of data is available using the standard json-rpc API. If you need additional data, you'll need to use a third party API provider, or patch your client. https://bitcointalksearch.org/topic/patch-getblockbycount-getblockbyhash-rpcs-724

Ok thanks, especially for the link.

Is there any actual use case for the "gettransaction" function of the json-RPC api?
legendary
Activity: 2058
Merit: 1452
June 01, 2013, 09:28:03 PM
#2
bitcoin-qt is a "full node" in terms of network participation. This means it can generate and propigate blocks plus verify and relay transactions. It also has a full history of the blockchain available to it. However, by default, you can not query it for arbitrary data. Only a limited set of data is available using the standard json-rpc API. If you need additional data, you'll need to use a third party API provider, or patch your client. https://bitcointalksearch.org/topic/patch-getblockbycount-getblockbyhash-rpcs-724
full member
Activity: 196
Merit: 100
June 01, 2013, 08:27:17 PM
#1
Hi I've been looking around to sort this out, and I can't find an answer.

I thought the bitcoind/bitcoin-qt clients were basically identical in function and ran a "full node" storing the entire block chain.

Is this wrong?  Even in what seem to be recent threads stating that the software is a full node but if I query it for transaction data it tells me nothing. I get an error that it doesn't have any info about that transaction, this despite saying it has the block chain.

IS there something that I'm missing, or is that information not available via JSON-RPC?  (In thich case what is gettransaction actually for?)

Also if bitcoind can't be made to operate as a "full node" what sort of software should I use?
Thanks for any help.
Jump to: