• workerONE@lemmy.world
    link
    fedilink
    arrow-up
    97
    arrow-down
    1
    ·
    edit-2
    2 days ago

    Bitcoin isn’t good for making little purchases, firstly because it takes so long to get confirmations, if each block is 10 minutes and you need like 3 blocks to consider it confirmed that’s 30 minutes. But that ties into the second issue which is that you probably don’t want millions of tiny transactions on the Blockchain, you want them processed off-chain and then settled in bulk (to the Blockchain) periodically as a single transaction.

    • AHemlocksLie@lemmy.zip
      link
      fedilink
      arrow-up
      25
      arrow-down
      6
      ·
      1 day ago

      Bitcoin is great for little transactions if you use the lightning network. Sending on the lightning network means instant payments with no confirmation required and absolutely tiny fees. And the only thing that shows up on the blockchain is the transactions to initially start using lightning network and to take your coins back off the lightning network. Transactions made over the lightning network aren’t recorded anywhere other than maybe by the people transacting.

      • fishos@lemmy.world
        link
        fedilink
        English
        arrow-up
        63
        arrow-down
        4
        ·
        1 day ago

        “Bitcoin is great if you don’t use the block chain”

        That’s what you just said. So why even use it in the first place?

        • AHemlocksLie@lemmy.zip
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          21 hours ago

          You still use it as a settlement and security layer. The lightning network is made up of pairs of people that both lock money in a new account with a transaction. Both people get a fully signed copy of a second transaction to reclaim the money, but they don’t publish it immediately. If they need to make a new transaction between each other, they just replace the second fully signed transaction with a new one that divides the money according to the new balance. They can do this as many times as they want for as long as they want, and they only have to make two transactions: one to start and one to stop. If anyone tries to cheat, the only thing they can do is publish an older version of that second transaction that favors them, but you have… I think a day or three, I forget, to publish a newer version that proves they cheated, and if you do, you get ALL the money even if some was owed to them, so cheating won’t go well. The down side is you need a node that’s always online or connects to the network frequently so you can be ready to catch a cheater.

          To make a network, they use some fancy cryptography to send money to someone if and only if they send it (minus very, very, very small fees) to the next person in line towards the destination. If anyone in the chain refuses or fails to commit, the transaction fails and no money moves at all. Because it’s all secured by the blockchain, you can trust that everyone both can and will complete the transaction exactly as requested, or the whole thing fails and nothing happens.

          • fishos@lemmy.world
            link
            fedilink
            English
            arrow-up
            9
            arrow-down
            1
            ·
            17 hours ago

            You realize “it’s so energy and time consuming that we had to create a secondary layer to try and make it actually usable” isn’t the defense you think it is, right?

            • AHemlocksLie@lemmy.zip
              link
              fedilink
              arrow-up
              2
              arrow-down
              2
              ·
              10 hours ago

              Sure glad that’s not why they did it because you’re right, that’d be kinda stupid. That’s not why they made a secondary layer, though. They made a secondary layer so transaction throughput can grow exponentially while maintaining the security of the blockchain without significantly impacting fees or requiring the blockchain itself to become proportionally larger.

              That last part is the real motivation. The goal is to above all else, remain decentralized. That means the average user needs to be able to run a full node capable of verifying any transaction it needs to. To do that, the blockchain can’t grow too quickly, or people will get forced out. If it grew exponentially faster as transactions grew likewise, nodes would eventually centralize in fewer and fewer hands until someone could exert control over the network.

              The blockchain is currently something like 650-700 GB, which is a lot, but most people can manage it, even if it might be pushing it for poorer regions. Without the lightning network and with substantial user growth, the only option is to increase the block size, and to achieve an actually usable capacity of strictly on-chain transactions, you’d be looking at sizes on the order of hundreds of TB or pushing into PB territory. Nobody would be able to store the blockchain without a dedicated server rack. Not a single server, a whole rack. It’d costs thousands and thousands of dollars to run a node. Instead, we acknowledge that you purchasing a pack of gum at the convenience store doesn’t need to be immortalized on the blockchain and use the lightning network to secure your transaction without having to create a permanent record.

        • PrettyFlyForAFatGuy@feddit.uk
          link
          fedilink
          arrow-up
          12
          arrow-down
          3
          ·
          edit-2
          1 day ago

          the lightning network still uses the blockchain, just less. it’s acts like an immutable public bar tab you can’t default on. once you have spent enough with another person that it is worth them conducting the transaction on chain then it does it. usually when fees are low too.

          That is an extremely simplified explanation of how it works though, it is more complex than that.

          Edit: another analogy i have just read is it’s like cashing in at a casino. you put some money in the house (the blockchain) and get some chips, you go in and transact with loads of people, then when it’s advantageous you can cash out and get your BTC on chain; to the house that is two transactions, cash in and then out, rather than a transaction for everyone you exchanged with on the network. that’s probs a better analogy than the bar tab one… but again, oversimplified

          bar tab is more accurate, casino is easier to understand.

          the actual functionality doesn’t really matter to the layperson though. basically, you put some of your bitcoin on the network (minimum amounts apply), and then you can spend that with very fast transactions and low fees. when you’re ready you can send what you have back to the chain

        • workerONE@lemmy.world
          link
          fedilink
          arrow-up
          3
          arrow-down
          3
          ·
          edit-2
          1 day ago

          Bitcoin is a great alternative to something like Western Union that charges high transaction fees. It’s time to transmit is comparable to a traditional back wire, but days faster than an EFT.

          Everybody knows Bitcoin is too slow to process point of sale transactions on-chain but there are other Blockchain solutions that can do it. Another user mentioned the lightning network which still actually is Bitcoin but it’s another layer.

          Also, I’ve just ignored the environmental impact of Bitcoin, which probably needs to move away from proof of work, or some other solution is required to lower the every requirements.

          • fishos@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            2
            ·
            24 hours ago

            Yeah, and Zelle, Cashapp, venmo, PayPal all do the same and don’t have that environmental impact you so easily dismissed.

            It’s been great watching Bitcoin grow from this digital currency for buying drugs online to having all these layers added on to almost sort of make it comparable to the systems we already have. By the time you guys actually make something that isn’t just stocks with no backing but faith, we’ll have moved on to a post-money society(probably not but I have more faith in that than blockchain ever being a useful currency.

            • workerONE@lemmy.world
              link
              fedilink
              arrow-up
              3
              arrow-down
              5
              ·
              edit-2
              22 hours ago

              The fact that one anonymous person could create a solution that “almost sort of make(s) it comparable to the systems we already have” is fucking amazing since all of humanity worked for like 70 years since the invention of the computer to create those systems.

              • fishos@lemmy.world
                link
                fedilink
                English
                arrow-up
                2
                arrow-down
                3
                ·
                17 hours ago

                Remind me again where Bitcoin is actually used vs actual databases. It didn’t solve anything and did it in an energy hungry way. It’s not “almost sort of comparable”. All of the scams that immediately came about because it doesn’t have the numerous regulations regular financial instruments have is proof. For the last decade Bitcoin has been struggling to reach parity with financial regulations. Ffs, the US PRESIDENT JUST PULLED A RUG PULL.

                Blockchain is just digital speculation.

                • workerONE@lemmy.world
                  link
                  fedilink
                  arrow-up
                  2
                  arrow-down
                  1
                  ·
                  14 hours ago

                  You’re the one who said it was “almost sort of comparable” to the systems we already have, I was literally quoting you. Then you disagree with yourself? Argue with yourself then, you don’t need me.

                  • fishos@lemmy.world
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    arrow-down
                    2
                    ·
                    4 hours ago

                    No, originally I said “Bitcoin is great if you don’t use the blockchain”, mocking the lightning networks existence because blockchain on its own is terrible for transactions. I never said they were almost comparable. They’re not. One is a database that’s been proven to work for all kinds of things, and the other is a techbros fantasy that wastes energy and is basically just tech stocks at this point.

                    Keep up.

      • PrettyFlyForAFatGuy@feddit.uk
        link
        fedilink
        arrow-up
        14
        ·
        edit-2
        1 day ago

        i got back into bitcoin recently and decided to move the contents of my old wallet to a new SegWit one and look into using lightning.

        To open a lightning channel i have to stake £170 up front though which is crazy, how are people in poorer countries supposed to do that?

        or even here. poverty is on the rise, a lot of people are living hand to mouth and just having that kind of money lying around isnt a thing.

        i like the idea of bitcoin but i worry it doesn’t scale well.

        Add to that that virtually nowhere accepts it. The value of bitcoin comes from its use as a currency. if it doesn’t have that then it’s entirely speculation.

        oh well, i have £2k in there and i’m not turning it back into fiat. I’ll spend it if i can or ride it all the way to 0 if that’s the way it goes

        edit: if BTC does hit $1m a coin as the hodlers hope then that would amount to $2000 to open a lightning channel (or more realistically $2400 as electrum wouldnt let me open a channel with the supposed minimum 0.002 BTC, i had to make it 0.0024). I hope that the minimum amount to open a channel will be updated long before that happens though, but i guess we’ll see

        • Sheldan@lemmy.world
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          edit-2
          24 hours ago

          if it doesn’t have that then it’s entirely speculation.

          You are very close

        • AHemlocksLie@lemmy.zip
          link
          fedilink
          arrow-up
          2
          ·
          21 hours ago

          There are no hard coded minimums. Some providers may demand a minimum commitment, but there’s nothing to stop people in poorer regions from opening smaller channels, especially between individuals. Any business attempting to operate in the region will have to work with that.

          There is also a lot of work being done on… I think they call them channel factories? Might be off on the name, but basically create as many channels as possible in as little space as possible to keep it efficient and minimize costs for individuals.

        • Preflight_Tomato@lemm.ee
          link
          fedilink
          arrow-up
          3
          arrow-down
          2
          ·
          21 hours ago

          An infinitely growing blockchain will inevitably fail by centralizing. Crypto-currencies as they exist today are doomed, but the protocols and tech created now may hopefully inform the design of something that is useful as a currency.

          Also, high transaction fees make it useless for small (normal, everyday) amounts, so it can only be used as a store of value. It’s really more analogous to gold or a stock, with the one significant benefit that it’s harder to steal than gold and can’t be lost stolen institutionally.

        • 31337@sh.itjust.works
          link
          fedilink
          arrow-up
          6
          ·
          1 day ago

          IIRC, a deposit is made by two parties to create a lightning network channel that’s enough to cover all transactions (kinda like a multi-sig escrow), and both parties have to sign-off on their balances after every transaction (the last balance signed by both parties is the only valid state). I think most people would use a custodial wallet where the custodian already has channels set up, and this would require trust in the custodian. Lightning networks didn’t exist, and wasn’t fully spec’d out the last time I looked into it though.

        • AHemlocksLie@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          21 hours ago

          Nope, everything gets the full security of the blockchain without having to record every last transaction. The lightning network is basically just a huge network of people with unfinalized transactions. As long as you don’t finalize by publishing the final balance to the blockchain, you and whoever else is involved can keep transacting by just agreeing on a new current balance. The only catch is you need to stay online or get online frequently so you can make sure the other parties only publish the latest version to the blockchain. If they do and you catch them, you can prove they’re cheating and take everything.

          It’s sort of like if two friends are always paying each other back, so they each take $50 out of the bank and put it in a box and just keep track of who’s owed how much of it. You’re only supposed to keep a copy of the current balance that’s been time stamped and signed by both of you. At any point, they can finalize by taking the box to the bank with their copy of the debt history and depositing everyone’s money where it belongs. If anyone cheats by using an outdated debt history, you can take the latest version to the bank, prove they cheated you, and take ALL the money that was in the box.

    • Evotech@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      8
      ·
      1 day ago

      That’s the same way as the economic system works though

      Each bank and creditor keeps track of if what they owe each other and then they settle the balancebetween them periodically (depends on the country)

      If assume you could do something similar with bitcoin, but you would need an overlay