Bitcoin Forum
December 11, 2024, 06:47:38 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: An idea to speed up bitcoin transactions  (Read 2487 times)
DannyHamilton
Legendary
*
Offline Offline

Activity: 3514
Merit: 4894



View Profile
November 17, 2012, 05:12:13 PM
 #21

. . . maybe bitcoin could be speed up, like they did with http://litecoin.org/
It could, but then it wouldn't be bitcoin, it would be litecoin.  Bitcoin is intentionally designed for confirmations to take 10 minutes.  As more processing power is added to the network, the protocol adjusts the difficulty to ensure that it continues to take about 10 minutes per block.
 
It's strange that bitcoin got so much computing power and use it to solve a mathematical problem, while that power could be used to make transactions instantly, in my humble opinion.
Transactions are already made nearly instantly.  Then, every ten minutes or so those almost instantly created transactions are collected together and a mathematical process that includes those transactions is worked out.  It is the difficulty and slowness of this process that prevents an attacker from modifying past transactions in the blockchain.

Because this process is very difficult and takes the entirety of all bitcoin miners approximately 10 minutes to complete, it becomes pretty much impossible for any individual person who does not have as much processing power as total of all the miners on the network to replace any of those transactions with a new block of their own.  Each new block contains a portion of the previous block in its mathematical process.  Therefore, to change a transaction in the past, the attacker would have to be able to recreate valid blocks to replace all the past blocks back to the one with the transaction they want to replace faster than the rest of the miners are creating new blocks.  Since the difficulty adjusts to keep the block creation near 10 minutes, this means that the attacker would have to maintain more processing power than the entire network for an extended time so that they could create each of these blocks before the rest of the network can.

The difficulty and slowness of the "mathematical problem" is the reason that bitcoin works.  It is called "proof of work" and is used to prevent people from spending digital copies of the same output (coin) more than once.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3514
Merit: 4894



View Profile
November 17, 2012, 05:22:00 PM
 #22

I agree. Maybe this will change with the coming reward drop from 50 BTC to 25 BTC for generated blocks, because it would be more profitable for miners to expedite transactions rather than mine new bitcoins. Could this be the case?
No.  When a miner adds a block to the blockchain they get the block reward (currently 50 BTC, soon to be 25 BTC) AND all the transaction fees for the transactions that they include in the block they created.  The protocol is designed to make sure that this process always takes approximately 10 minutes.  If many new faster miners start mining and creating blocks speeds up, then the protocol requires that the difficulty target on the new blocks be increased so that it still takes about 10 minutes. If a bunch of miners suddenly quit mining and it starts taking more than 10 minutes for all the processing power in the network to create the next block, then the protocol requires that the difficulty be decreased so that it still takes about 10 minutes.

So, as you can see, miners don't get the new coins unless they create a block of transactions.  Reducing the reward doesn't make it more profitable for miners to process transactions, it makes it less profitable.  But that doesn't matter as far as the time for transactions to be "confirmed", because if miners quit when the profitability drops, then the difficulty will drop, keeping the confirmations around 10 minutes.
usafinders
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 08, 2013, 10:38:01 AM
 #23

As far as I understand it, you can send out two transactions for the same bitcoin, it's just that only one of them will be confirmed by the network.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!