• BleatingZombie@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    9 months ago

    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?

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

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

      • emergencyfood@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 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
          ·
          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.