this post was submitted on 09 Feb 2024
989 points (97.1% liked)
Technology
59534 readers
3195 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- 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
view the rest of the comments
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.
Different transactions use different amounts of space so it's always going to be a rough estimate.
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.
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.
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.
There's a transaction fee, the higher you pay the more priority you have (since miners get a cut).