Re: Question about Hardware Comparison
ArtForz's reply in the thread "Question about Hardware Comparison".
built his own mining hardware and showed how to break difficulty retargeting

On September 9, 2011, in the thread for a new alternative currency called GeistGeld, a user named ArtForz posted seven lines of code. They set a block’s timestamp thirty minutes ahead once every sixteen blocks, and on the following block pulled it back to the lowest value the rules allowed. There was no explanation. Under the code was a single line: “walks away whistling”.
Three days later, in another thread, ArtForz explained what the code did:
AArtForz (BitcoinTalk post, September 12, 2011, 9:39:28 PM UTC)By exploiting the fact that retargeting ignores one block interval every period, it’s possible for an attackers’ fork chain to “jump backwards in time” and create lots of blocks at low difficulty without running nTime off into the far future.
Using a chain that retargets every four blocks as an example, he laid out in a table how the timestamps had to be arranged for difficulty to keep falling, and ended: “This was done on the GeistGeld chain yesterday/today, so it’s not a theoretical problem.” The technique later became known as the time warp attack.
ArtForz registered on BitcoinTalk at 22:51 on July 24, 2010. His first post, thirty-three minutes later, begins “The numbers don’t add up.” It was in a thread about someone who claimed to have shaken the network with a large number of machines. ArtForz set out how the hash rate of the whole network had moved: about 200 Mhash/s before the Slashdot story, about 1,200 in the 24 hours after it, about 1,700 ten days later. There was no dip anywhere, including the period when the machines had supposedly been switched off.
Red asked where the figure came from. ArtForz wrote out the calculation: take the block timestamps and the difficulty, find how many seconds 144 blocks took, and divide the number of tries a block needs by that. The answer was about 1,607 million tries per second.
On August 3, in a thread proposing to grow a long fake chain at low difficulty and swap it in for the real one, he answered by quoting the source code. The client does not compare chain length. It compares the sum of difficulty, so one block at difficulty 200 counts for as much as 200 blocks at difficulty 1.0.
On August 8, lfm reported that 0.3.8 had stopped generating blocks on 64-bit Linux. ArtForz worked out the odds: at about 8 Mhash/s combined, the chance of generating nothing for more than an hour at difficulty 1.0 was under 0.1 percent. It was not bad luck. Something was broken. The next day he ran the official 64-bit binary under a debugger and posted the cause. The output state on return from SHA256Transform was always the same as the initial state. Going by the svn log, the bug had probably been there since 0.3.6. He also swore at whoever had decided to strip the official binary, which had cost him half an hour in a disassembler.
The same day, Satoshi Nakamoto uploaded 0.3.8.1 with the 64-bit build redone. Eric Swanson sent ArtForz 5.01 BTC for the work.
On October 3, 2010, in a thread about how fees were handled, theymos wrote:
Ttheymos (BitcoinTalk post, October 03, 2010, 8:09:51 PM UTC)ArtForz is already running with no fees, and he has 20-30% of the network’s CPU power.
Satoshi quoted that sentence in his reply. On December 9, theymos again described ArtForz as “15+% of the network”.
For a long time ArtForz said little about where that hash power came from. In February 2011, asked about some unfamiliar names in a table comparing mining speeds, he answered briefly. clmine and clmine2 were his own OpenCL miners, and calmine was written in CAL IL, the intermediate language for ATI GPUs. All three were “my private miner versions.”
He gave a fuller account on September 6, 2011. Opening with “You forgot a few,” he listed:
AArtForz (BitcoinTalk post, September 06, 2011, 11:29:58 PM UTC)I never provided any proof I had a opencl miner capable of ~150Mh/s on a 5770 back in july 2010. I never provided any proof I had a CAL IL miner doing ~650Mh/s on a stock 5970 about 3 months later.
In the same post he wrote that he had started developing a miner on a structured ASIC (sASIC) around that time, that he had actual devices in early March 2011, and that he had got well over 200 Mh/s out of a Spartan-6 LX150 FPGA. The sASIC, he wrote, did very well in hashes per joule, but the clock speed it could reach was poor for what it cost.
For GPUs, the numbers are in the final post he made on the forum. He had 24 Radeon HD 5970s until about late summer 2011, and then sold them. At 0.22 euros per kWh, he wrote, keeping a mining farm after that would have been stupid.
In the summer of 2011, one alternative currency after another appeared, each copied from Bitcoin’s code. ArtForz mined them and found where they were broken.
SolidCoin had changed Bitcoin’s fee rules. According to ArtForz, the new rules let huge transactions through for almost nothing. He wrote:
AArtForz (BitcoinTalk post, September 03, 2011, 11:32:29 AM UTC)I told you about this problem in private and your response was calling me an idiot because it’s a total non-issue. I demonstrated why it’s an issue.
When a user called for him to be banned from the forum, ArtForz asked which part he should be banned for. For reporting the hole? For using the system within rules he had been told were fine? For finding, along the way, a lack of optimization inherited from Bitcoin? For telling the Bitcoin developers about it and submitting a patch?
The GeistGeld time warp came three days later, on September 9. ArtForz also wrote what the same technique meant for Bitcoin. An attacker would need more hash rate than the real network for at least four or five retargeting periods. Because of the scale and time required, it was not a big issue for Bitcoin, but it could be bad news for small alternative chains. On September 13 he wrote in the GeistGeld thread that the time warp exploit was fixed. A 51% attacker could now do only what a 51% attacker was supposed to be able to do.
At the end of the same month a currency for CPUs called Tenebrix appeared. It mined with scrypt, not SHA-256. Asked about the parameters, ArtForz set out the aim: memory use small enough to fit in a CPU’s L2 cache, but large enough that a GPU or FPGA would run out of on-chip memory before it could run many instances in parallel. The values chosen were N=1024, p=1, r=1, which use 128 KiB. Measured with a GPU version he had written himself, a GPU that was 120 times faster than one CPU core at double SHA-256 was only 5.2 times faster at this scrypt.
Another user took it that ArtForz, an FPGA expert, had written the algorithm himself. ArtForz denied it:
AArtForz (BitcoinTalk post, September 29, 2011, 4:54:41 AM UTC)Rule #1 of cryptography: do not design your own algorithms.
What I did was modify multicoin to make replacing the block PoW hashing function easier, then plugged in scrypt (
http://www.tarsnap.com/scrypt.html) with parameters of N=1024, p=1, r=1, feeding in the block header as password and salt, output size of 32 bytes.
He admitted that choosing values far too low for protecting passwords was “skirting the rule.” If future GPUs had several megabytes of fast on-chip memory, he wrote, the chain would have to switch to higher values.
In January 2012, a post grouped what ArtForz had done to SolidCoin with the work of “whitehat” hackers. ArtForz made a show of taking offense. If he had to wear a hat, it would be some shade of grey, and certainly not white. Then he listed what he had broken. GeistGeld, by using the time warp to drive difficulty to the minimum. SolidCoin, by bloating the chain with oversized transactions. And in late 2010 he had found a node-crashing bug in Bitcoin’s script interpreter and crashed every node on the test network. The post ends:
AArtForz (BitcoinTalk post, January 09, 2012, 6:56:16 PM UTC)So in case you haven’t noticed yet, I tend to break things for fun, not profit 😉
His last post came a month later, on February 11, 2012. The thread was titled “artforz and coblee gpu mining litecoin since the start?” His BitcoinTalk profile records 406 posts: 18 from 2010, 303 from 2011, and 85 from 2012. Twenty-one of them are on this site.
His first post pointed out numbers that did not add up. His last gives the number of GPUs he had owned and what he paid for electricity.
21 entries / 4 threads
ArtForz's reply in the thread "Question about Hardware Comparison".
ArtForz's reply in the thread "Let's recap on what we've seen in the past few months".
ArtForz's reply in the thread "Ruxum SolidCoin Trading....GONE!".
ArtForz's reply in the thread "[ANNOUNCE] New Solidcoin Client Fully Open-Source!".
ArtForz's reply in the thread "[ANNOUNCE] New alternate cryptocurrency - Geist Geld".
ArtForz's reply in the thread "Nenolod, the guy that wants to prove Bitcoin doesn't work.".
ArtForz's reply in the thread "Possible way to make a very profitable 50 plus ish attack for pools?".
ArtForz's reply in the thread "Tenebrix scaling questions".
ArtForz's reply in the thread "delete".
ArtForz's reply in the thread "Proposal for multigenerational token architecture".
ArtForz's reply in the thread "artforz and coblee gpu mining litecoin since the start?".
ArtForz's reply in the thread "Trojan Time Machine Chain".
ArtForz's reply in the thread "bitcoin generation broken in 0.3.8? (64-bit)".
ArtForz's post in BitcoinTalk topic 576, written shortly after a post by Satoshi.
ArtForz's post in BitcoinTalk topic 587, written shortly after a post by Satoshi.
ArtForz's post in BitcoinTalk topic 765, written shortly before a post by Satoshi.
ArtForz's post in BitcoinTalk topic 820, written shortly before a post by Satoshi.