{"repo":"lightninglabs/neutrino","free":true,"listed":false,"github":"https://github.com/lightninglabs/neutrino","clone":"git clone https://github.com/lightninglabs/neutrino.git","description":"Privacy-Preserving Bitcoin Light Client","language":"Go","stars":978,"topics":["bitcoin","cryptocurrency","peer-to-peer","distributed-systems","mobile","lightning-network"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Neutrino: Privacy-Preserving Bitcoin Light Client Neutrino is a Bitcoin light client written in Go and designed with mobile Lightning Network clients in mind. It uses a new proposal for compact block filters to minimize bandwidth and storage use on the client side, while attempting to preserve privacy and minimize processor load on full nodes serving light clients. Mechanism of operation The light client synchronizes only block headers and a chain of compact block filter headers specifying the correct filters for each block. Filters are loaded lazily and stored in the database upon request; blocks are loaded lazily and not saved. Usage The client is instantiated as an object using NewChainService and then started. Upon start, the client sets up its database and other relevant files and connects to the p2p network. At this point, it becomes possible to query the client. Queries There are various types of queries supported by the client. There are many ways to access the database, for example, to get block headers by height and hash; in addition, it's possible to get a full block from the network using GetBlockFromNetwork by hash. However, the most useful methods are specifically tailored to scan the blockchain for data relevant to a wallet or a smart contract platform such as a Lightning Network node like lnd . These are described below. Rescan Rescan allows a wallet to scan a chain for specific TXIDs, outputs, and addresses. A start and end block may be specified along with o","default_branch":null,"files":null,"tree":[],"storefront":"/r/lightninglabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lightninglabs/neutrino/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}