• ililiililiililiilili@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 months ago

    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.

    • FaceDeer@kbin.social
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      5 months ago

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

      • ililiililiililiilili@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 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.

    • emergencyfood@sh.itjust.works
      cake
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      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.

      • zergtoshi@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 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.