Author

Topic: How to mine Bitcoin, by hand! Keep in mind that i know is nothing practically.. (Read 1443 times)

member
Activity: 60
Merit: 10
Ok. To try to answer the question: You can NOT mine by hand. You need a shovel.

I experienced this last time I tried to mine by hand.

Word for thought:
If you read the source code, you should see the algorithms and patterns. You have what you perceive as abstract but in reality the exact blueprints for the process. I'd love to have the easy answer too, but what has stopped me from learning too much about the under the hood components to BTC is that I haven't desired to take the time to decipher "what is really happening".

Honestly, you have the best answer before you, just not the easy one.
sr. member
Activity: 252
Merit: 250
How to mine Bitcoin, by hand! Keep in mind that i know is nothing practically, i wanna know how so i can make my own simple app to mine...
....
PLus, any help is a help, so Thax in advance for it!
i may start with CPU, since is more hard to crash the system...i hate when i have to rebook my PC Cheesy

If you really want to do it then it will take you about a month with a simple calculator and quick fingers. Oh, and as you have chosen scrypt as your algorithm I take it you know you are mining LTC rather than BTC you will also need a couple of reams of paper to handle the Salsa 20,80 and the intermediary storage of 1024 strings of 128 bytes before you can begin the second set of SHA256 rounds.

The easiest way is to look at a copy of scrypt.c from the cgminer source and follow the scrypt_regenhash function logic using the pure data from your example into the work->data parameter but skipping the initial big endian conversion be32enc_vect.

It works out to be 
     16 SHA256 calculations for the SHA rounds before the Salsa, allow a day for each.
     1024 x 4 Salsa 20,80 run against the 128 byte strings storing the intermediary output of each, allow a couple of weeks
     11 SHA256 calculations for the SHA rounds before the Salsa, allow a day for each.
All you have to do then is compare the result against the target to see if it meets the difficulty

Have fun  Smiley
legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
Ok. To try to answer the question: You can NOT mine by hand. You need a shovel.
legendary
Activity: 2674
Merit: 1083
Legendary Escrow Service - Tip Jar in Profile
You dont await to calculate something like that by hand dont you?

The best bet you have is to check out all the code examples in the wild and find out the workflow from that.

if i can do it by hand, i can apply that to any app...
even if by hand is hard and take like 10 minutes or even more...

I think i know what you mean but i once tried to build up a hashing algo in a small language. I believe Purebasic. But i gave up at the end since i didnt understood it fully even with sourcecodes and all. And i dont think im a bad coder.
Again... the best bet for you is checking out the examples. There should be a language you understand.
legendary
Activity: 3416
Merit: 1912
The Concierge of Crypto
The built in CPU miner in the bitcoin-qt client works, although I don't think it is updated. There is also source code for all the other miner software out there.
sr. member
Activity: 294
Merit: 250
You dont await to calculate something like that by hand dont you?

The best bet you have is to check out all the code examples in the wild and find out the workflow from that.

if i can do it by hand, i can apply that to any app...
even if by hand is hard and take like 10 minutes or even more...
legendary
Activity: 2674
Merit: 1083
Legendary Escrow Service - Tip Jar in Profile
You dont await to calculate something like that by hand dont you?

The best bet you have is to check out all the code examples in the wild and find out the workflow from that.
sr. member
Activity: 294
Merit: 250
sr. member
Activity: 294
Merit: 250
How to mine Bitcoin, by hand! Keep in mind that i know is nothing practically, i wanna know how so i can make my own simple app to mine...
i'll start with PHP, simple PHP miner, i see that if i write down on console 'getwork' i got this

--------------------------------------------------------------------------------------------------------------------------
getwork

{
"midstate" : "f7d06d8bd7e590a5c4eba518d065c44aaf0748669cbbfe1c5d23cff355ae72dd",
"data" : "0000000191b7545aae5c31a35972d1f866a53ca84113c982fdeaee238f9d6f6ce83ea4a80ee2b16 3c5e082bfbf8c3594e068346fb9491d80ad7c175b773b862c85cf11a3527976511d0106ce000000 0000000080000000000000000000000000000000000000000000000000000000000000000000000 0000000000080020000",
"hash1" : "0000000000000000000000000000000000000000000000000000000000000000000000800000000 0000000000000000000000000000000000000000000010000",
"target" : "0000000000000000000000000000000000000000000000000000ce0601000000",
"algorithm" : "scrypt:1024,1,1"
}

--------------------------------------------------------------------------------------------------------------------------
so what math can i do by hand to do that, i know that by the time i finish it by own hand, some one already have done that(1zillion times faster with any card...or CPU Cheesy )...keep in mind that i wanan learn, that only why i'm asking....
i don't know THATTTTT much of programming, i know some basics and little advanced stuff on PHP, so i'll start from there, even that PHP can't do so much work...is nothing compared to openCL or CUDA....
i'll try that later...on other stuffs....

Please, don't come here and say "ThAT's crazy talk", "u're insane dude", "or holly shit", or anything like that...

I wanna do my own miner Cheesy

PLus, any help is a help, so Thax in advance for it!
i may start with CPU, since is more hard to crash the system...i hate when i have to rebook my PC Cheesy

Anyone? Any help, link, video or info it's a big help already...i'm Googling btw
sr. member
Activity: 294
Merit: 250
How to mine Bitcoin, by hand! Keep in mind that i know is nothing practically, i wanna know how so i can make my own simple app to mine...
i'll start with PHP, simple PHP miner, i see that if i write down on console 'getwork' i got this

--------------------------------------------------------------------------------------------------------------------------
getwork

{
"midstate" : "f7d06d8bd7e590a5c4eba518d065c44aaf0748669cbbfe1c5d23cff355ae72dd",
"data" : "0000000191b7545aae5c31a35972d1f866a53ca84113c982fdeaee238f9d6f6ce83ea4a80ee2b16 3c5e082bfbf8c3594e068346fb9491d80ad7c175b773b862c85cf11a3527976511d0106ce000000 0000000080000000000000000000000000000000000000000000000000000000000000000000000 0000000000080020000",
"hash1" : "0000000000000000000000000000000000000000000000000000000000000000000000800000000 0000000000000000000000000000000000000000000010000",
"target" : "0000000000000000000000000000000000000000000000000000ce0601000000",
"algorithm" : "scrypt:1024,1,1"
}

--------------------------------------------------------------------------------------------------------------------------
so what math can i do by hand to do that, i know that by the time i finish it by own hand, some one already have done that(1zillion times faster with any card...or CPU Cheesy )...keep in mind that i wanan learn, that only why i'm asking....
i don't know THATTTTT much of programming, i know some basics and little advanced stuff on PHP, so i'll start from there, even that PHP can't do so much work...is nothing compared to openCL or CUDA....
i'll try that later...on other stuffs....

Please, don't come here and say "ThAT's crazy talk", "u're insane dude", "or holly shit", or anything like that...

I wanna do my own miner Cheesy

PLus, any help is a help, so Thax in advance for it!
i may start with CPU, since is more hard to crash the system...i hate when i have to rebook my PC Cheesy
Jump to: