Bitcoin Institute

ByteCoin

probed Bitcoin's weak points in 2010, from block timing to a mining cartel

People

The name "ByteCoin" appears at the top left of a navy background, with the subtitle "A fixed beat for blocks, from relay timing to hidden chains." In the center a large gold clock face sits on a row of orange blocks, labeled "3 min" on one side and "2+ hours" on the other. Two blocks float off on a dotted path above the quote "We can't safely do OP_BLOCKNUMBER." (November 15). Other labels: July 17, joined; 40 minutes later, fixed rate; July 21, balance hash; December 14, hidden blocks.

On July 17, 2010, a little over forty minutes after joining BitcoinTalk, ByteCoin opened a thread titled “Get rid of ‘difficulty’ and maintain a constant rate.” A sudden rush of new miners had sped up block generation. The difficulty would rise and slow it down again, ByteCoin reasoned, but by then the newcomers would be discouraged and leave, and a stretch of very slow blocks would follow.

The alternative went like this. Just before ten minutes were up, each mining computer would broadcast the block with the lowest hash it had found. The others would broadcast theirs only if it had a lower hash still. At the ten-minute mark the lowest one would be taken to continue the chain, and blocks would arrive at fixed intervals. Two days later ByteCoin pointed to one block whose transactions were confirmed in under three minutes and another that took over two hours. If merchants could not tell customers how long they would have to wait for their goods, ByteCoin wrote, that would be a major barrier to adoption.

2010Joins and proposesgetting rid of difficulty(Jul 17)Proposes balancesheets so old blockscan be forgotten (Jul21)Proposes hiding therecipient and amountuntil spent (Aug 15)Shows that data can behidden insidesignatures (Oct 24)Proposes movingprivate keys into aseparate process (Nov8)Satoshi turns downOP_BLOCKNUMBER(Nov 15)Describes a cartelmining on hiddenblocks (Dec 14)

Balance sheets (July 21, 2010)

Four days later ByteCoin started a second thread, “With “Balance sheets” most of the block chain can be forgotten.” Working out a balance does not require the details of transactions from a year ago. Make a “balance sheet” listing every public key with a positive balance and the amount, and put its hash into the next block. A new client could then fetch only the current balance sheet and the most recent blocks, undo the transactions, and check that the hashes matched. Clients could also delete old blocks and free the disk space.

The proposals came up in other people’s threads as well. In August ByteCoin pointed gebler, who had laid out how the difficulty adjustment could backfire, to the fixed-interval scheme. gebler answered that it would solve the problem, but would change the system too much.

Hiding things, and what can be hidden anyway (August–October 2010)

On August 15 ByteCoin proposed a way to keep the recipient and the amount secret until the recipient spent the money. The sender would include in the transaction a message stating the amount, encrypted with the recipient’s public key. Every node would try to decrypt it with its own keys, and only the node that succeeded would know the payment was its own. The same day, in another thread, ByteCoin wrote that someone else’s anonymity proposal could only go so far, because the network has to be able to check that no one is spending someone else’s coins.

In October, someone suggested letting short messages travel with transactions. Satoshi Nakamoto objected:

Satoshi Nakamoto (BitcoinTalk post, October 23, 2010, 7:02:57 PM UTC)

It would be unwise to have permanently recorded plaintext messages for everyone to see. It would be an accident waiting to happen.

The next day ByteCoin asked what harm he expected, and wrote that something similar was already possible. Part of every ECDSA signature comes from a random number. Once the private key is revealed, anyone can recover that number with a little algebra. So someone could hide data in the signatures of ordinary transactions for days or months, then reveal the key and make all of it readable at once.

Guarding keys, and counting blocks (November 2010)

On November 8 ByteCoin opened a thread titled “‘wallet’ handling code should be a separate process.” In the current client, a single process takes in data from anywhere on the network, processes it in complicated ways, and has the private keys within reach. One buffer overflow, and a remote attacker could steal your bitcoins. The private keys should be handled by a separate process that accepted only two commands: sign a message, and add a new key.

That same month, in a thread about flooding the test network with transactions, ByteCoin and Satoshi went back and forth on when a wallet should spend its older, higher-priority coins and when it should save them. When ByteCoin wrote that priority could still be gamed, Satoshi answered that there was a wide enough difference between normal users and flooders.

On November 15 ByteCoin asked for OP_BLOCKNUMBER, which would let a script use the current block number. With it, a payment could return to the sender if the recipient had not spent it by a given block, so coins sent to someone who had wiped their wallet would not be lost forever. Satoshi said no the same day:

Satoshi Nakamoto (BitcoinTalk post, November 15, 2010, 6:37:44 PM UTC)

We can’t safely do OP_BLOCKNUMBER.

If the network split and the chain was later reorganized, a transaction might end up in a later block, and the OP_BLOCKNUMBER transaction and everything that depended on it would become invalid. Three days later ByteCoin argued back. Fraud through a network split was already possible. An attacker with clients around the world, on noticing the split, could send coins to himself on the larger side and spend the same coins on goods on the smaller side. Once the network rejoined, the smaller side’s transactions would disappear. OP_BLOCKNUMBER added no new risk, ByteCoin wrote; what was needed was some way to detect that mining power had gone missing. No answer from Satoshi survives in the archive.

The cartel (December 14, 2010)

On December 12, RHorning started a thread called “Mining cartel attack.” Could a group of miners with less than half the computing power shut other miners out by recognizing only one another’s blocks?

Two days later ByteCoin took it a step further. Cartel miners would share newly found blocks only with one another and, without publishing them, mine the next block on top. When an outside miner found a block, the cartel would release its hidden blocks to override it. If the cartel was two or more blocks ahead, its chain would be longer and the outsider’s work would be wasted. Those who thought honest mining paid better, ByteCoin wrote, were forgetting what the cartel gained by punishing everyone else.

Withholding blocks so that other miners’ work goes to waste was named selfish mining and became the subject of a paper in 2013.

In less than six months ByteCoin wrote up weak points across the system: block timing, the size of the block chain, hiding the recipient, where private keys live, a script command for counting blocks, and collusion among miners. Satoshi answered some of these posts. For others, no answer survives.

Reference external source

https://bitcointalk.org/index.php?action=profile;u=490
BitcoinTalk profile (checked November 23, 2026). Registered July 17, 2010, 02:38:57; 416 posts; last active May 30, 2014.

Primary sources

24 entries / 4 threads