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
0
votes
1answer
31 views

ElectrumX server as a Tor hidden service

I am trying to run an ElectrumX server on my PC. I run it on a docker container with the following Dockerfile configuration: FROM python:3.7-alpine3.11 LABEL maintainer="Luke Childs <...
1
vote
1answer
57 views

How do SPV clients acquire transactions from other nodes and verify that they are part of the blockchain?

I explored SPV clients as a subject from a lot of different resources, but there are a few of things that are keeping me confused: I found out that SPV clients have no mempool even though SPV clients ...
1
vote
1answer
39 views

How Does the SPV merkle path form of multiple transactions in Merkle block looks like?

While I'm studying about the Bitcoin, I've wondered how many merkle paths should be contained in merkle block. From the point of view of Merkle path, it is generated as the form of containing hashes ...
1
vote
1answer
23 views

Provide Services to many Lightweigh Nodes (SPVs) and Save The Communication History

I am investigating on privacy violations of the current communication protocol between lightweight clients and full nodes in the Bitcoin network, which utilizes Bloom filters. I run a full node on my ...
0
votes
0answers
16 views

Can I get all block header data like the SPV node?

It hasn't been long since I studied Blockchain. I only need header data, not all block data, for study purposes. As far as I know, the SPV node stores only the block's header information. Can i get ...
2
votes
1answer
32 views

How to fetch all UTXO from a SPV wallet using bitcoin-filter.js (or other lib)?

I am using bitcoinjs-lib to create private key (WIF), addresses and sign the transactions. I would like to fetch all transactions (UTXOs) associated with a wallet. I found these libs: bitcoin-filter ...
1
vote
1answer
53 views

How to getheaders from blockchain?

I have run a full node on linux now I can run commands with bitcoin-cli like: bitcoin-cli getbestblockhash it returns: 0000000000344240308f54ded700542571b3df9efe05fab92e669099e20e0d92 or bitcoin-...
2
votes
1answer
56 views

Step by step to make a SPV bitcoin node

As I know, there is a light node version called SPV. for now I have started a full node and it has downloaded 82222 blocks, but I don't want to have a full node with full blockchain, my purpose is to ...
1
vote
1answer
37 views

Is the contest period really necessary for cross-chain transactions in 2-way-peg sidechains?

According to the first sidechain article (Link), the cross chain transaction process can be briefly describe as follows: Alice has a wallet on sidechain S1. She wants to send some coins to sidechain ...
0
votes
1answer
36 views

How do people using thin clients know the correct merkle path of transactions they've sent without knowing the full block?

User A send a transaction to user B. Those transactions are bundled together into a merkle tree. User A and B can both use the transaction plus the merkle root, plus the merkle path to prove the ...
0
votes
0answers
16 views

Mathematics behind sidechain SPV skiplist proof attack

I am reading about verifying SPV proofs of a sidechain where we don't want to verify all N blocks of the sidechain. In the example instead of verifying that each block meets the target difficulty (...
2
votes
1answer
128 views

RSA accumulator vs Merkle Proofs

For proof of inclusion (used by SPV nodes) Bitcoin relies on Merkle proofs. Why Merkle trees were chosen and not RSA accumulators, as they can be used to provide a shorter proof? What are the ...
1
vote
2answers
44 views

Passing incomplete information to an SPV node

I am wondering how SPV handles the following scenario: A transaction has been confirmed by some block X, and funds address y. At some later block, the transaction's output are spent again SPV node ...
2
votes
2answers
634 views

Does every node has a whole copy of the blockchain?

As i read here, in a blockchain "each node the has a copy of all transactions ever made". This to me seems impossible, bitcoin exists for a long time, and the memory size of the intere blockchain ...
1
vote
0answers
59 views

Unused Output Tree in the Blockchain

I have been reading about the security of thin clients and I came across the section that discusses the proposal of Unused Output Tree in the Block chain. Unused Output Tree in the Block chain (UOT)...
0
votes
0answers
20 views

Bloom Filter Response Processing In terms of Full-node

A SPV node have to work somethings to see whether his transaction is exist or not. Construct his filter with hash of transactions {his transactions, other1, other2, ..., otherN} filterload is filled ...
0
votes
2answers
124 views

How can I run a light (SPV) node on Linux?

I tried to sync the blockchain and, though I have ample free disk space (>500 GB on my computer, the chain is ~265) I've been having a hard time. So, how can I use an SPV node to send transactions and/...
1
vote
0answers
30 views

Bitcoin SPV not able to fetch transactions

I am developing a Bitcoin wallet SPV and using 3rd party SDK for the same. However, I tried to create wallet and it gets successfully created and I can also restore those wallets but amount and ...
0
votes
0answers
27 views

How do lightweight nodes and SPV wallets calculate balances?

Can they do it? Or they "talk" to a full node for that purpose and are used only for mining purposes? Thanks in advance for your answers.
1
vote
1answer
30 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
127 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 ...
7
votes
1answer
385 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
42 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
375 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
172 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 ...
2
votes
1answer
115 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
68 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
47 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
68 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
91 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-...
1
vote
1answer
98 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 ...
1
vote
1answer
185 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
60 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
151 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
163 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
215 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
41 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
1answer
262 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
24 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
152 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
476 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
441 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
48 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
110 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
372 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
71 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
93 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
341 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
31 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 ...