Bitcoin Forum
June 08, 2024, 01:58:12 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Mining / where to find a guide for writing a mining software on: May 29, 2016, 06:08:01 AM
I just wish to try to write a toy mining software myself, are there any guide or documents beside the source codes? Thank you so much
2  Bitcoin / Mining software (miners) / Re: does miner software need to check whether a transaction or a block is valid? on: May 25, 2016, 06:01:29 AM
No. That's all done at the pool level for pooled mining and at bitcoind level for solo mining.

So the miner is only responsible for finding a hash to meet the target? And, maybe this is a quite silly question, is the bitcoind sourced in the bitcoin-master project? I always assume that it is only a wallet program.
3  Bitcoin / Mining software (miners) / does miner software need to check whether a transaction or a block is valid? on: May 24, 2016, 07:52:33 AM
I am now reading the source code of cgminer, trying to figure out how it checks blocks and transactions, but still can't find the right place.
So is the software responsible for the checking?
4  Bitcoin / Bitcoin Discussion / How could a miner know he is in the best block chain on: May 19, 2016, 01:54:34 AM
I have finished reading the bitcoin developer guide but still confused. Like you are a head first miner, and received a block inventory (broadcasted by its inventor), then you would reply a getheader to the peer, and he would response a sequence of headers. What if you find that sequence cannot match your own block chain, and judge whether the peer  or yourself is wrong (by which i mean not on the longest chain)?
5  Bitcoin / Bitcoin Discussion / Re: why cant people spend other's money on: May 15, 2016, 08:01:58 AM
I really have no idea. I never thought of that actually. But I am pretty sure that it is very hard for you to get the same address as someone else. Maybe I am wrong and this could be a huge problem. Huh
yes this maybe not a problem, after some calculation I find that the thief has to generate on average 7*10^41 keys to make a successful theft
6  Bitcoin / Bitcoin Discussion / why cant people spend other's money on: May 15, 2016, 07:38:10 AM
I am quite new to bitcoin, still reading the guide, and being puzzled about this. For example, if somebody just create one million private keys and run one million wallet programs at the same time, he would much likely receive some output that paid to one or more private keys (addresses maybe) he generated, and thus steals others' money
Could this be a problem?
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!