Lightning Labs Releases Light-Client Protocol Neutrino

Lightning Labs Releases Light-Client Protocol Neutrino

Developed by Lightning Labs, the Neutrino protocol is the first implementation of BIP 157 and BIP 158. The developer claims its protocol provides a lightweight and scalable solution for mobile bitcoin apps without trade-offs in centralization and privacy

What is Neutrino?

Neutrino is a new light-client protocol optimized for devices with low-power processors, limited storage, limited bandwidth, intermittent power, and erratic connectivity. Based on BIP 157/158, Neutrino has a number of advantages over implementations of the popular BIP 37. With Neutrino, the control of private keys stays with their user, which also improves censorship-resistance. Unlike SPV clients, the Neutrino-based apps, Lightning Labs claims, do not leak user information and preserve personal transaction history hidden. The protocol requires less computation and thus boasts a higher level of decentralization and scaling compared to SPV/BIP 37 protocols.

How does it work?

Neutrino is based on the chain of ‘filters’ that each correspond to a block in the Bitcoin blockchain. These filters use a special compression algorithm called Golomb-Rice coding to represent the addresses contained in a block. Neutrino filters (called GCS filters, for 'Golomb-Coded Set') are a much more compressed way of representing a block and are ~15KB each, whereas the source blocks can be over 250 times as large (up to ~4MB).

Procedure

The protocol allows low-power devices to observe the blockchain, extract transactions that are relevant to the user’s wallet and update the balance. This process includes four steps:

  • As each new block is found, full nodes derive corresponding GCS filters and broadcast them to Neutrino nodes;
  • the Neutrino client receives the filter and compares it to the user’s wallet to see if there are any relevant transactions;
  • If a filter does show relevant transactions, the client downloads the stripped version of the block that contains all transaction data but excludes signatures;
  • After scanning the block, the client updates the user’s balance.

Syncing

Of course, the client cannot do it in real-time if the Neutrino-based app is closed. When the user first opens the app, it will have to download and validate the entire chain of block headers that adds up to about 40MB for the current Bitcoin blockchain. After that, the client downloads the chain of filter headers. After validation, headers from blocks prior to the wallet’s creation are deleted. The third step is to download all the GCS filters for the blocks starting from when the wallet was created. Finally, the client scans all of the downloaded filters, discards of those that do not contain relevant transactions and downloads the stripped blocks of those that do. Now the client is up to date and ready to be used. The whole initial syncing process, Lightning Labs assure, does not take more than a few minutes on a typical smartphone.

Conclusion

Currently, Neutrino is live in lnd 0.5 and in the Lightning App alpha. For more information, read the official blog post by Lightning Labs.

In the longer term, we hope to see Neutrino supported by many more node operators and Bitcoin wallet developers so that users can enjoy a better user experience while preserving privacy and mitigating security risks. We believe Neutrino will provide a much improved foundation for the next generation of mobile wallets that will allow Alice to finally succeed in her quest.

Bryan Vu of Lightning Labs

Bitcoin

BTC
Price
3,610 USD 1.38%
Volume, 24h
1,039,381,918 USD
16.68%
Marketcap
62,781,516,252 USD
52%
Emission
83%

Related news

Blockchain vs. PayPal: Understanding the Difference and Evolution

In today’s world, everyone wants everything in a hurry. The faster, the better. In the world of digital payments, a major competition is underway between the blockchain and PayPal. The blockchain is the relative newcomer, while PayPal has been around for about two decades. Here’s a look at some of the pros and cons of both money transfer systems to help you decide the long-term winner in the blockchain vs. PayPal debate. Blockchain Technology and Other World-Changers Blockchain technology is one of those digital revolutions that only comes around once or twice every generation. It’s as important an invention as the integrated circuit (1958), the microprocessor (1971), the personal computer (MITS Altair 8800, 1975), the internet (ARPANET, 1969), Windows (1985) and smartphones (2007). Blockchain’s distributed-ledger technology (DLT) offers a new, decentralized infrastructure for payment processing, financial markets transactions, accounting tasks, and many other data-driven functions, both personal and public. PayPal might also be included in the above-mentioned tech honor roll, as it certainly paved the way for e-commerce to grow at breakneck speed. It also provided the world with an alternative to traditional bank wire services, Western Union and the like. PayPal also helped consumers and businesses become more comfortable with the idea of electronic money, weaning them away from a reliance on cash. The Pros and Cons of Blockchain Payments vs. PayPal Blockchain Payment Advantages: Decentralization: No single point of failure can destroy the ledger’s contents. Immutability: Once data is entered into the blockchain, it cannot be altered except in rare instances, and then only by agreement of all parties affected. Peer-to-peer: Cross-border payments take less time with blockchain due to fewer checkpoints. Permissionless: Payments don’t need a bank’s approval before they can be sent. The payor and payee control the transaction process, not a third party. No limit on payment size: Need to send someone five million dollars worth of Bitcoin, pronto? You can do it on the blockchain. Just make sure you’re aware of any applicable fiat-to crypto (and vice-versa) costs. Blockchain technology is what makes peer-to-peer international payments happen quickly and efficiently. Photo by Craig Cooper on Unsplash Blockchain Payment Disadvantages Slower transaction speeds (transactions per second) compared to PayPal, Visa, and Mastercard. Costly mistakes: If you make a mistake and send funds (crypto) to the wrong address, don’t look for any government regulator to bail you out. Fiat-to-crypto conversion costs: Unless all of your payments occur within the crypto ecosystem, you’ll need to convert your USD, EUR or GBP, etc. to Bitcoin, Ether, etc. When you receive payments in crypto, you’ll also incur transaction costs to convert the funds back to fiat. Transparency: Blockchain ledgers are public knowledge, inasmuch as anyone with the correct access codes can view the details of each transaction within. Privacy-minded individuals and companies may not be cozy with that arrangement. PayPal Advantages Send money to anyone in up to 26 different (fiat) currencies with an email address. Well, as long as they have a bank account and have signed up for PayPal, that is. Regulation and oversight: PayPal users are protected by at least some of the rules and regs that govern traditional banks, such as Regulation E and the USA PATRIOT Act. Paying via a credit card in your PayPal account provides far greater consumer protection than does paying via debit card or PayPal cash balances. Fast transactions: PayPal offers users the ability to transfer their PayPal funds to their bank account in as little as 30 minutes when done via debit card. Fixed fees: Receiving payments for your goods and services will cost you a flat 2.9 percent fee, plus 30 cents per transaction. However, there is zero charge to purchase goods and services via PayPal. Sending money to family and friends is also free. However, currency conversion fees will apply if you send funds internationally. eCheck: This is another free PayPal payment option. It’s similar to an ACH transaction at a traditional bank but can take several more days to complete. This is an excellent choice for payees who want to avoid getting hit with the 2.9 percent fee. You can always ask your payor to use an eCheck instead of a regular PayPal payment. PayPal continues to grow its client base, which now connects users in 200 nations with millions of merchant websites. Image: mohamed_hassan on Pixabay PayPal Disadvantages Currency conversion rates: PayPal will determine the exchange rate you’ll receive. You must factor this additional cost into consideration when calculating your ultimate PayPal transaction fees. Payment limits: You can send only a maximum of $10,000 in any one PayPal transaction. Funds on hold: When receiving funds via eCheck, expect your money to remain in limbo for at least several business days. This is the downside of receiving your funds without any fees. It’s also a huge money-maker for PayPal, as they collect interest on the float. Blockchain vs. PayPal, or a New Hybrid? Today, PayPal can still process transactions faster than blockchain, but that may not be the case in the future. In fact, PayPal is definitely interested in blockchain and its potential for disruption in the financial world. Might PayPal payments be sent via DLT in the near future? No one knows, but it’s certainly a possibility worth contemplating as this decade rapidly draws to a close. For all anyone knows, blockchain vs. PayPal might morph into something like BlockPal or PayChain. The Wild Card in the Mix Bitcoin hash rates continue to climb, albeit slowly as of early 2019. More and more merchants are willing to accept cryptos as payment. With the possibility of a major US (worldwide?) recession looming in 2019-2020, it’s possible that revenue-hungry retailers will welcome any form of payment they can get, including major cryptos. However, what happens if 100 million Americans decide to use crypto every day to complete their personal and business transactions? Further, what if most of those consumers simply choose to keep their funds within the crypto ecosystem, never again converting their coins to fiat? Be Optimistic, yet Ever-Vigilant Overall, the future looks great for both blockchain and PayPal as world-class payment systems, worldwide. However, always be aware of the potential for government restrictions on crypto use (on consumer purchases, not on actual crypto trading). If crypto purchases are limited by government decree, then the blockchain will also be affected and its development could be slowed down. PayPal appears to be immune from such a hypothetical crackdown unless they begin offering cryptos as an additional currency. Regardless of future events, the blockchain vs. PayPal saga should prove to be an interesting competition in the 2020s and beyond. The post Blockchain vs. PayPal: Understanding the Difference and Evolution appeared first on CoinCentral.
Coin Central

Hot news

By continuing to browse, you agree to the use of cookies. Read Privacy Policy to know more or withdraw your consent.