Bitcoin Forum
December 04, 2016, 12:37:37 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: What is the number of transactions that Bitcoin can hande?  (Read 1372 times)
mestar
Sr. Member
****
Offline Offline

Activity: 364


View Profile
December 19, 2010, 04:37:16 PM
 #1

As I understand it, every client receives every transaction in the system, so it can check later if transactions are valid.  What happens when the number of transactions gets very large?  Does the client have to keep them all in the memory at once?  If not, how can the client check if somebody actually owns the coin?

1480855057
Hero Member
*
Offline Offline

Posts: 1480855057

View Profile Personal Message (Offline)

Ignore
1480855057
Reply with quote  #2

1480855057
Report to moderator
1480855057
Hero Member
*
Offline Offline

Posts: 1480855057

View Profile Personal Message (Offline)

Ignore
1480855057
Reply with quote  #2

1480855057
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480855057
Hero Member
*
Offline Offline

Posts: 1480855057

View Profile Personal Message (Offline)

Ignore
1480855057
Reply with quote  #2

1480855057
Report to moderator
1480855057
Hero Member
*
Offline Offline

Posts: 1480855057

View Profile Personal Message (Offline)

Ignore
1480855057
Reply with quote  #2

1480855057
Report to moderator
Gavin Andresen
Legendary
*
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
December 19, 2010, 05:16:35 PM
 #2

As I understand it, every client receives every transaction in the system, so it can check later if transactions are valid.  What happens when the number of transactions gets very large?
When that happens, I think most people using bitcoin will not be running always-connected-to-the-bitcoin-network software.  I think there will be at least three different sets of people:

1. People who trust a web site to keep their wallet safe more than they trust themselves.  They'll use sites like MyBitcoin or MtGox, which give them an online wallet.

2. People who don't or won't trust anybody to keep their wallets safe, but don't have a high-speed, always-on Internet connection.  They will use a 'payment gateway', where they submit transactions that are signed by their own computer (they don't have to trust the payment gateway to keep their wallet, the gateway just forwards relevant transactions onto the bitcoin network for the user).

This doesn't exist yet, but writing the code to support this isn't terribly hard.

3. People who DO have always-on high-speed network connections; they'll run bitcoin just like they do today.  But, assuming the volume
of bitcoin transactions continues to increase faster than the cost of network bandwidth declines, that will become increasingly expensive,
so I think more and more users will choose option 1 or 2.

Quote
Does the client have to keep them all in the memory at once?  If not, how can the client check if somebody actually owns the coin?

The current bitcoin doesn't keep all transactions in memory at once--  the blkindex.dat and blk0001.dat files in your bitcoin data directory stores them on disk.

How often do you get the chance to work on a potentially world-changing project?
Mahkul
Sr. Member
****
Offline Offline

Activity: 420


Be silent, or be silenced.


View Profile WWW
December 19, 2010, 05:49:16 PM
 #3

The current bitcoin doesn't keep all transactions in memory at once--  the blkindex.dat and blk0001.dat files in your bitcoin data directory stores them on disk.

What happens if one deletes these files or if they get corrupt? Will the client still work?

Bitalo.com coming soon!

1MAHKULzqZb4evFFg9157LvnJhJQQbeYo7
BioMike
Legendary
*
Offline Offline

Activity: 1256


View Profile
December 19, 2010, 06:16:31 PM
 #4

The current bitcoin doesn't keep all transactions in memory at once--  the blkindex.dat and blk0001.dat files in your bitcoin data directory stores them on disk.

What happens if one deletes these files or if they get corrupt? Will the client still work?

Just delete them and see what happens. Wink (They will be re-downloaded from the network).
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!