Questions tagged [spv]

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

1 vote
2 answers
35 views

Why would I prefer a full client over a light client that depends on a centralized server?

There are Bitcoin wallets like "Sparrow" which use a central service for maintaining the Blockchain, so I don't have to download 400GB to start using Bitcoin. Now, why should I use Bitcoin ...
1 vote
1 answer
69 views

Running Bitcoin SPV Node

How can I run a Bitcoin SPV node? Am I able to run SPV nodes with Bitcoin core? If so, can I use JSON-RPC by sending requests to full nodes? I couldn't find a good way to retrieve transaction data ...
  • 87
1 vote
0 answers
16 views

Speed of Merkle Root proofs in SPV

Is it really more efficient to use the Merkle Root proofs system to verify that a transaction is included in a block for SPV clients compared to Download the block and check if the transaction is ...
  • 71
0 votes
0 answers
22 views

Verifying a Merkle/SPV Proof (Bash Script)

I am trying to verify a SPV/Merkle Inclusion Proof. I have the TXid of the transaction, the intermediary nodes between the transaction and the root hash, and the merkle root itself. I need to ...
0 votes
1 answer
57 views

What are the detailed rules for Merkle tree generation? Specifically the order of the leaf nodes

As far as I know, the first one is the coinbase transaction
0 votes
1 answer
362 views

How to run Bitcoin-Qt over RPC to another machine

I have a full node running bitcoind on computer A. On computer B I have bitcoin-cli setup to connect to computer A over RPC. Computer A is a headless machine. I don't want to re-download the chain ...
  • 150
1 vote
1 answer
109 views

What guarantees the validity of merkle root used in the merkle inclusion proof?

I understand Merkle roots can be used for Merkle inclusion proofs, where a client/validator can quickly check if a transaction is part of the block without requesting all the transactions in the block....
0 votes
1 answer
106 views

How to use SPV to validate transactions NOT (yet) on the blockchain?

The SPV system (as described in the Bitcoin whitepaper) allows: "It is possible to verify payments without running a full network node." You only need the headers for the entire valid ...
  • 261
0 votes
2 answers
98 views

Why bitcoins storing on a smartphone are considered vulnerable?

Let's suppose, someone stores all their bitcoins in an Android or iOS wallet. he/she never stores a seed on the phone he/she uses different addresses for change wallet and gadget are password ...
user avatar
3 votes
1 answer
204 views

SPV wallet connecting to personal bitcoin node

I have decided I want to run a bitcoin node both to support the network, learn more about how it works and also so I can participate while minimising trust in external parties. I have a bitcoin core ...
  • 131
1 vote
1 answer
154 views

Best Practice for Using Btc

I have recently learned about best practice for storing private keys with hardware wallets. I understand the necessary information including backups from seed phrases, the concept of cold storage, ...
  • 320
1 vote
1 answer
85 views

How is BIP 158 wallet rescanning supposed to work with xpub keys?

A light client implementing BIP158 downloads filters and checks its addresses against that filter. If one matches, it downloads the block. Now, let's say we have an HD wallet (BIP32), and/or an xpub ...
  • 189
1 vote
1 answer
320 views

Why binary trees? Is there any particular benefit to using binary trees instead of some higher radix?

Bitcoin stores transactions in binary Merkle trees. They take O(log2 n) to traverse. If I used something like a ternary tree, where each node (including the root) references three branches/leaves ...
1 vote
2 answers
79 views

Why does a thin node need to know if a transaction is present in specific block's merkle tree?

I understand what a merkle root is and how merkle proofs work. It's all about thin nodes checking whether a specific transaction ID is in a specific block. So, thin node says: I have a transaction ID -...
1 vote
1 answer
221 views

SPV client TCP connection in python

I am trying to implement an SPV client in python (for my own learning). I want to start by making a simple TCP connection to a full node, but I either cannot get a response to my version message, or ...

15 30 50 per page
1
2 3 4 5
8