Author

Topic: Help with bitcoin minimal mining software using libblkmaker (Read 1165 times)

newbie
Activity: 2
Merit: 0

Thank you, I had already read these links before asking my question.
I understand the process starting from the GBT request, as this question said http://bitcoin.stackexchange.com/a/13397.
The thing I can't understand is what to do BEFORE sending the GBT request. Is there any particular procedure to connect to the server?

For example, after subscribing to a mining pool from its website, what do I have to do to connect to its server?
I suppose I need to login in some way, giving my username or a password or something like that. Isn't it?
What kind of request should I send? An HTTP POST request? I can't find any way to understand this.

Please sorry me if I am asking silly questions.

EDIT: I have been noticed about the stratum protocol. Seems to be lightweight and this page seems to talk about everything I need.
Is there any C library for this? http://mining.bitcoin.cz/stratum-mining
newbie
Activity: 2
Merit: 0
Hello guys,
I am involved in a project based on the Altera DE2-115 board.

The goal of the project is to learn soft core embedded systems design techniques, so we have decided to build a little bitcoin miner.
We don't care about performances, we know that it will be impossibile to reach good results with our platform. The only thing we are interested in is to show how to build a soft core system with a custom coprocessor and connected to the internet, so we have decided to make something about bitcoins which seems to fit perfectly this request.

The SHA256 coprocessor and the network interface are ready and linked to the soft core on which runs an embedded operating system provided with the NicheStack TCP/IP stack, now we have to deal with the Bitcoin protocol. We have decided to use libblkmaker but we could not understand the way we can use it. Watching the example.c file it does not show any network handshaking procedure with the mining pool server, it just show how the library processes the data, when received from the server, but it only sends and receive them from and to the stdin/stdout.

So the question is: where can we find informations about the "handshaking" with the mining pool server?
How does the connection is realized before sending the first JSON data package with the getblocktemplate method etc.?
Is there any technical guide to do it?

I am sorry, I have not been able to search the forum for such an information because the search engine kept refusing search telling me to wait 90 seconds even when many minutes have passed.
Jump to: