Questions tagged [spv]

refers to Simplified Payment Verification, a scheme by which thin clients can check whether the network trusts a transaction.

Filter by
Sorted by
Tagged with
1
vote
1answer
27 views

Why a specific bitcoin value of a tx message appears in source IP address and then comes to same IP address as the destination address?

Sometime back, I created two wallets on two distinct cellphones. I sent a specific bitcoin value (A bitcoin) from one cellphone to another one. During this process, I captured the entire traffic. ...
0
votes
1answer
77 views

Curl bitcoin protocol for learning?

I'm trying to understand bitcoin RPC Peer to Peer protocol to implement SPV on a web-application that should receive crypto payments. The problem is that on the examples I found, examples are about ...
5
votes
1answer
72 views

What's the distinction between BIP 157 and BIP 158? Are they supported by Bitcoin Core?

BIP 157 and BIP 158 are both concerned with Compact Block filters. What is the distinction between them, and which of them does Bitcoin Core currently support?
0
votes
0answers
31 views

Do SPV nodes sync “headers-first”?

Headers-first sync is defined somewhat by BIP 130 and expanded upon with compact block relay in BIP 152. I believe this is the commit in which it was added to Bitcoin Core. The result is that Bitcoin ...
-1
votes
1answer
93 views

How to setup a testnet full node on Windows 10?

I'm trying to implement an SPV and I'd like to test it on a testnet full node but can't really understand how to do it from what I've found.
1
vote
1answer
66 views

Lightning node on a Bitcoin SPV

is there a way to run a Lightning node on a Bitcoin SPV node at the moment? I've read that both lnd and c-lightning need a Bitcoin Fullnode at this time. This might seem ignorant but i don't want to ...
1
vote
1answer
49 views

How do I connect my `bcoin` wallet to `bitcoind`?

I have bitcoind running in regtest mode. I want to connect my bcoin wallet to it and retrieve all UTXOs relevant to the sender's address. How can I do that?
0
votes
1answer
23 views

How to create an application which constructs a transaction using `bcoin` (javascript)?

I am new to development. I am working on a project and I am trying to use bcoin. I want to create an application which has a UI, where the user will be asked to enter Destination address and amount. ...
2
votes
0answers
31 views

Why should SPV nodes operate on the P2P network?

I understand there are advantages for the SPV client to acquire header-chain and subsequent inclusion proofs over the p2p network: Peer discovery P2P node interface is public Reuse of P2P messaging ...
0
votes
1answer
38 views

How does an SPV client forms a transaction which is then Broadcasted?

As per my understanding, an SPV client only keeps a track of the block headers in its own database. So when a user tries to send bitcoins using that particular SPV client, how is the transaction ...
0
votes
2answers
61 views

How could a lightweight wallet determine the validity of 0-conf transaction?

I found that a lot of people are interested about security of 0-confirmation payments. But, it seems that most discussions focused on double-spending (like broadcasting two or more conflicting-but-...
0
votes
1answer
83 views

Is the idea of fraud proofs possible in reality?

I once read this on Twitter, which is said by Luke Dashjr, a Core dev: The original design was to have full nodes create proofs of invalid blocks, to alert SPV nodes to them. SPV nodes would then ...
0
votes
0answers
19 views

SPV node in local machine [duplicate]

I have fullnode in my local machine, I'd like to have SPV node to understand how SPV works with merkle tree. With Bitcoin Core 0.17.1 I can have only full node?
1
vote
1answer
80 views

Could bitcoind support SPV mode by setting different args

There are multi nodes type could be used in bitcoin network. Could bitcoind support running different types of nodes by different sets of args? I found many discussion here, but seems no clear ...
0
votes
1answer
39 views

Arbitrary access to already confirmed transactions

This link mentions that "[getdata] can be used to retrieve transactions, but only if they are in the memory pool or relay set - arbitrary access to transactions in the chain is not allowed..." But ...
0
votes
1answer
93 views

SPV clients querying the full node

Is there a way currently where an SPV client can send a TxID to a full node which is present in the UTXO set of the full node and have the full node not scan its entire blockchain to fetch the ...
1
vote
1answer
97 views

SPV clients and full nodes

Suppose an SPV client goes offline at block X (meaning it has block headers until block X) and then comes back online when the blockchain is at block Y. At that point, it needs to resynchronise its ...
0
votes
2answers
104 views

Light clients transaction verification

How does a light node know which block its transaction got included in? Say a light node sends out a transaction spending its UTXO. Does it get some sort of notification when its transaction is mined ...
1
vote
1answer
33 views

How to get output linked to input in SPV node?

We're working on bitcoin SPV wallet. After setting bloom filter, we only get merkle blocks, and transactions that match the hashes we set plus some false positives. If a transaction is where we SEND ...
0
votes
0answers
9 views

What are the lightest (smallest) SPV clients available?

I need to embed a Bitcoin client into another P2P program so I need it to occupy the least disk space possible. What are the best options around? How do they compare (in terms of space) to Bitcoin in ...
0
votes
1answer
198 views

How to make a persistent SPV wallet? (bcoin)

I created a wallet on a SPV node. The wallet is initialized from a mnemonic. After receiving some transactions, the wallet's balance looks like: { account: -1, tx: 3, coin: 3, unconfirmed: 136300, ...
1
vote
0answers
22 views

How does supporting additional 'Address Chains' impact resource usage for an SPV wallet?

On Reddit I encountered a user claiming that implementing Segwit support for an SPV wallet would require supporting an 'additional address chain', but I'm not sure what exactly that entails. I would ...
3
votes
2answers
131 views

Can SPV clients offer “proof of absence” of a transaction?

So light SPV clients give the user the ability to obtain merkle proofs (from a full node) that a given transaction is included in a block. Is there some cryptographic mechanism by which an SPV client ...
1
vote
1answer
325 views

How exactly does SPV work?

Here is what I have so far: A mobile connects to a node using rpc. The mobile then asks the node, to give him a set of transactions for a set of public keys. The node, then looks for any ...
3
votes
1answer
268 views

How is the Leaf node weakness in Merkle Trees exploitable?

Recently a weakness in leaf nodes of merkle trees was disclosed and it is claimed that this issue is exploitable to trick SPV nodes. How does the weakness make SPV nodes vulnerable to attack? What ...
0
votes
1answer
45 views

My spv node received in a nTx = 2 in headers message

I am coding an spv node for dogecoin. I am syncing the headers and I am exceping to have nTx=0 for all the headers received but for one of the headers i have a nTx = 2 and some weird data following... ...
2
votes
1answer
99 views

does bcoin support simplified payment verification (SPV)?

Does bcoin support simplified payment verification (SPV)? I can't seem to find anything about it online
2
votes
2answers
266 views

Who gives SPV nodes merkle path to do validation for small subset of transaction?

From Mastering bitcoin: Merkle trees are used extensively by SPV nodes. SPV nodes don’t have all transactions and do not download full blocks, just block headers. In order to verify that a transaction ...
0
votes
0answers
29 views

What are the proposed solution for SPV scaling?

Apart from Client Side filtering, are there any other solutions regarding how to scale light clients? Maybe having centralised services hold the UTXO list, the problem would then be how to anonymise ...
1
vote
1answer
64 views

On SPV clients and Segwit

An article released by Blockstream claims that after Segwit, SPV clients can verify that transactions have been accepted by the network without having to download the signatures/witness-data. I'm ...
2
votes
1answer
76 views

If 30% of the network are malicious, how many nodes would an SPV need to connect to, to be sure?

If we assume that 30% of the network is malicious and colluding together to trick an SPV client, by telling him wrong information. How many random connections would the SPV client, need to connect to ...
0
votes
1answer
264 views

SPV Wallets vs API Wallets - Pragmatic

From what I know, the only advantage of an SPV node compared to a API Node, is the increase in privacy. SPV nodes take up more bandwidth, in order to stay synced with the current chain and in some ...
1
vote
0answers
30 views

State of privacy-preserving light clients

Currently, it is trivial to operate a SPV wallet in Bitcoin at the cost of a lot of privacy due to the necessity to connect to full nodes that offer SPV services. Neutrino, currently being worked on ...
1
vote
1answer
155 views

Bitcoin wallet on smart phone drains battery a lot?

I downloaded Android Bitcoin Wallet (version 6.17) on my android phone, and realized that the app drains battery a lot. The system showed 40% of battery was used to the wallet. Does anyone have same ...
0
votes
1answer
263 views

What is the difference between an SPV wallet and an API wallet?

I understand what an api wallet is, but I'm unfamiliar with what an SPV wallet details. I'd like a technical explanation on what an SPV wallet is, how it differs from traditional thin clients and how ...
1
vote
2answers
319 views

Query publicly available full nodes

I don't want to run a full node yet, but I want to build an application. How and what do I use to query publicly available nodes? What nodes besides blockchain.info are publicly available for me to ...
1
vote
2answers
145 views

Deserializing merkleblock message

I've been struggling the past couple of days to deserialize a merkleblock message. I'm writing a go app that uses the bitcoin rpc client to call gettxoutproof, but only need the merkle proof (array of ...
1
vote
1answer
344 views

how does a node searches a transaction among various blocks in blockchain?

Let me express what I have got to know about blockchain and where am I stuck. Transactions are stored in the form of merkel trees inside a block. (I know how a merkel tree is made). A merkel root is ...
0
votes
1answer
69 views

How could the Bitcoin protocol be modified so that pruned nodes could still participate in BIP 37 SPV?

According to Jameson Lopp (https://www.coindesk.com/spv-support-billion-bitcoin-users-sizing-scaling-claim/), allowing pruned nodes to advertise that they support BIP 37 would be impossible without "...
0
votes
1answer
83 views

Bitcoin full clients checks all the blockchain every time they receive bloom filter?

I assume that an spv client like bitcoinJ requested transactions related to the client one week before and the client has been offline for a week. When the spv client come online, does it just request ...
1
vote
2answers
550 views

Why does Electrum's SPV require proprietary servers?

What does an Electrum server do that a regular Core full node doesn't do? If the wallet downloads block headers and verifies transactions using SPV and bloom filters, why does it require special ...
2
votes
1answer
736 views

BTG wallet or exchange with BIP39 seed import

Can anyone recommend a Bitcoin Gold exchange or SPV wallet for Linux that supports importing wallets from a BIP39 seed? The best I’ve found so far is a fork of Electrum that supports BTG for Windows ...
2
votes
2answers
143 views

Segwit2x/btc1 block header changes: wipeout protection for SPV nodes?

Are there any current plans for segwit2x/btc1 to change the block header in a backward-incompatible way, either permanently or with a signal block (e.g., "hard fork bit"), before it goes live? This is ...
0
votes
1answer
158 views

What indexes does a Bitcoin Core node maintain to serve Bloom-filtered requests and SPV peers?

The Wiki makes this statement: It [getdata message] can be used to retrieve transactions, but only if they are in the memory pool or relay set - arbitrary access to transactions in the chain is not ...
1
vote
1answer
888 views

Understanding SPV, pruning and its downsides, as well

First of all, sorry by not asking an objective question, it's because I can't resume this one and I didn't find information even in the "mastering bitcoin" book. The large texts in this question are ...
7
votes
1answer
2k views

The use of Bloom filter in SPV nodes

I know what Bloom Filter (BF) is, and I'm aware of this post and this paper. But I don't understand how it's used in bitcoin. I can imagine that an SPV node encodes the transaction(s) it's ...
2
votes
0answers
297 views

Understanding simplifying payment verification

I'm studying the paper "Bitcoin: A Peer-to-Peer Electronic Cash System" and I've gone through many questions on this site. Still I cannot fully understand the contents of the Simplified Payment ...
3
votes
1answer
738 views

How does SPV prevent double spending of UTXO?

I am new to Bitcoins. I have read about how double spending is prevented in Bitcoins. Suppose A, a peer, receives 'B' BTCs from various transactions: B1,B2,B3, etc. Also, A had spent 'S' BTCs in ...
1
vote
0answers
912 views

How does merkle tree verification of transaction work?

From what I have read, suppose B sends 1 bitcoin to C. C wishes to verify B's payment and asks C for the block number (location) that input transaction is located at. (Is this correct understanding/...
2
votes
1answer
543 views

Bitcore full node list with Wallet service enabled?

Is there any Bitcore full node list out there? I wanted that in order to use the Wallet Service while not being dependant on only one server. edit: quote on their website: You should now be able ...