Bitcoin Forum
May 05, 2024, 10:02:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What is the number of transactions that Bitcoin can hande?  (Read 1584 times)
mestar (OP)
Sr. Member
****
Offline Offline

Activity: 407
Merit: 250


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?

1714903340
Hero Member
*
Offline Offline

Posts: 1714903340

View Profile Personal Message (Offline)

Ignore
1714903340
Reply with quote  #2

1714903340
Report to moderator
1714903340
Hero Member
*
Offline Offline

Posts: 1714903340

View Profile Personal Message (Offline)

Ignore
1714903340
Reply with quote  #2

1714903340
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714903340
Hero Member
*
Offline Offline

Posts: 1714903340

View Profile Personal Message (Offline)

Ignore
1714903340
Reply with quote  #2

1714903340
Report to moderator
1714903340
Hero Member
*
Offline Offline

Posts: 1714903340

View Profile Personal Message (Offline)

Ignore
1714903340
Reply with quote  #2

1714903340
Report to moderator
Gavin Andresen
Legendary
*
Offline Offline

Activity: 1652
Merit: 2216


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: 434
Merit: 250


Every saint has a past. Every sinner has a future.


View Profile
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?
BioMike
Legendary
*
Offline Offline

Activity: 1658
Merit: 1001


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:  

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