Search content
Sort by

Showing 6 of 6 results by ebyccc
Post
Topic
Board Mining
Topic OP
where to find a guide for writing a mining software
by
ebyccc
on 29/05/2016, 06:08:01 UTC
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
Post
Topic
Board Mining software (miners)
Re: does miner software need to check whether a transaction or a block is valid?
by
ebyccc
on 25/05/2016, 06:01:29 UTC
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.
Post
Topic
Board Mining software (miners)
Topic OP
does miner software need to check whether a transaction or a block is valid?
by
ebyccc
on 24/05/2016, 07:52:33 UTC
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?
Post
Topic
Board Bitcoin Discussion
Topic OP
How could a miner know he is in the best block chain
by
ebyccc
on 19/05/2016, 01:54:34 UTC
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)?
Post
Topic
Board Bitcoin Discussion
Re: why cant people spend other's money
by
ebyccc
on 15/05/2016, 08:01:58 UTC
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
Post
Topic
Board Bitcoin Discussion
Topic OP
why cant people spend other's money
by
ebyccc
on 15/05/2016, 07:38:10 UTC
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?