Bitcoin Forum
July 18, 2025, 11:02:09 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Altcoin Discussion / JAVA LTC miner target comparing question on: December 22, 2013, 11:00:06 PM
Hi!

I've been looking at the code for a LTC miner written in java(https://github.com/pooler/JMiner). And have a question

Is the way he compares the target and hash correct? I thought you had to compare them as numbers not individual bits

Code:

 for (int i = hash.length - 1; i >= 0; i--) {
                        if ((hash[i] & 0xff) > (target[i] & 0xff))
                                return false;
                        if ((hash[i] & 0xff) < (target[i] & 0xff))
                                return true;
                }
                return true;

The whole code https://github.com/pooler/JMiner/blob/master/src/org/litecoinpool/miner/Work.java
2  Economy / Scam Accusations / bitcoinplus scam on: November 28, 2012, 07:08:06 PM
Looks like bitcoinplus is a scam. I worked up 0,11 BTC on that page, trough the browser believe it or not (took a long time). Sep 28, 2012 I tried to get the BTC out, and now 28/11 it still says processing. I've sent them two mails no answer. Luckily not a big sum but still irritating.

Just wanted to warn the rest of you.
3  Economy / Trading Discussion / Problem with sealswithclubs?? on: April 19, 2012, 09:07:07 AM
I’ve deposited an amount of BTC to sealswithclubs.eu but nothing shows up in the account. I’ve checked in bitcoin explorer and everything looks good on my side, and the money put in to the address has gone out again (http://blockexplorer.com/a/39ybYYmZC1). I’ve also tried ones more with a smaller amount (different address), and sent them a mail about this but nothing.

Is this site a scam? If others have experienced this a warning should be put out.
4  Bitcoin / Development & Technical Discussion / merkel root on: March 10, 2012, 12:35:44 PM
Hi

I've been trying to understand more about how bitcoin works. But I can't find much information on how the merkel root is calculated. I understand it's a coinbase script and the transactions from this block, but not much more. Any one know of some place I can read up on this.
5  Bitcoin / Mining / Coordination of mining pools on: March 06, 2012, 02:47:12 PM
I know the answer is out there but I can’t find it.
As I understand it, when you do mining you send a getwork(), get data back and do a sha256(sha256()) of the first 80 bytes (of the data part). If it’s not below the target you increase the nonce and try again. Everyone is not working on the same thing since merkle root is different for everyone.

My question is for mining pools, I guess everyone gets the same data from GetWrok(). How is it then coordinated so that they all don’t just tests the same hashes??
6  Other / Beginners & Help / How do bitcoin deal with "lost" coins on: February 05, 2012, 10:22:25 AM
There are a finite amount of bitcoins, so what happens when someone "loses" there coins. I mean due to hard drive failure and so on. This is not often but over time this means coins are lost for ever??
7  Bitcoin / Mining / Browser based mining on: January 09, 2012, 10:48:51 AM
Any one know of a good browser based miner?? I’m currently using bitcoinplus.com but I’d like one I can point at and pool.
I know it’s slow, but I get a couple of MH/s out of it..
8  Other / Beginners & Help / Technical bitcoin paper on: January 05, 2012, 09:56:33 AM
Is there any good in dept bitcoin papers out there? I mean how it works form a technical perspective.
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!