this post was submitted on 09 Feb 2024
987 points (97.1% liked)

Technology

59398 readers
2914 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 9 months ago (2 children)

Holy shit. 7 transactions a second is horrible and pretty much definitively proves (to me) that it's not currently used as a currency

By chance, do you have a source for that or know where I would go looking?

[–] [email protected] 3 points 9 months ago

You can look how much space a transaction requires, how much size is available per block and how many blocks per time are being created (at average).
The only way to exceed the figure is by creating transactions with 1 (or few) input(s) and a lot of outputs as they are more efficient in terms of space per tx. Individuals rarely have use for that, but exchanges tend to do that.
If you want to do your own research, start with the fundamentals and investigate the numbers (size per tx depending on type of tx, size per block, blocks per time).

[–] [email protected] 3 points 9 months ago (2 children)

Because the max blocksize of BTC is heavily crippled, max transactions per block is around 3,500ish. That puts us at about 500k transactions max per day (1 block every 10 min). So divide 500k by how many seconds are in a day (86,400) and you get slightly under 6 TPS. Whoever came up with 7 TPS probably did more accurate math than me.

[–] [email protected] 3 points 9 months ago (1 children)

Different transactions use different amounts of space so it's always going to be a rough estimate.

[–] [email protected] 3 points 9 months ago

Yep. That 3.5k I pulled out of my ass was just by looking at a graph of max transactions per block thus far. It highly depends on the efficiency of the transactions and size of each.

[–] [email protected] 2 points 9 months ago (2 children)

So what happens if a lot of people want to make transactions at the same time? Do they have to queue? Also, this sounds like anyone can cripple the system by scheduling a few thousand tiny transactions.

[–] [email protected] 4 points 9 months ago

Yes, there's a queue called mempool.
Clogging up the network is possible, but costs money (BTC), because transaction fees need to be added to the transactions and those fees need to be higher than those of the highest not yet processed transactions if "regular" users' transactions shall be delayed.
Miners prefer transactions with higher fees (to be precise: higher fees per occupied block space), because they earn them when creating the block successfully - together with the BTC that get issued when a block gets created.

[–] [email protected] 3 points 9 months ago

There's a transaction fee, the higher you pay the more priority you have (since miners get a cut).