this post was submitted on 09 Feb 2024
923 points (97.1% liked)
Technology
59219 readers
3230 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
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?
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).
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).