Questions tagged [transaction-verification]

The process in which every Bitcoin node checks every part of every Bitcoin transaction worldwide for conformance to standard rules and uses the complete history of all previous Bitcoin transactions to check that money being spent in a transaction has not previously been spent in any earlier transaction since the beginning of Bitcoin.

286 questions
25
votes
3 answers

How are bitcoin transactions and the blockchain transferred over the internet?

So I have several specific question connected to this topic and I'm aware of the conceptual answers and I'm only interested in the technical details (with programming terms and concepts as I'm a developer). My questions are: If I'm sending a…
Balázs Sáros
  • 353
  • 3
  • 7
21
votes
1 answer

How is SegWit a soft fork?

Reading this section of BIP144, I noticed the followng statement: Parsers supporting this BIP will be able to distinguish between the old serialization format (without the witness) and this one. The marker byte is set to zero so that this structure…
19
votes
1 answer

How do nodes verify Bitcoin Transactions?

I am trying to understand the role played by various nodes in the Bitcoin Network in verifying the transactions that are taking place in real time. I think that I understand the process of Transaction (using Input and Output Scripts) and how the…
Neon Flash
  • 1,033
  • 2
  • 10
  • 10
15
votes
1 answer

How many bitcoin transactions can be verified per second on commodity hardware in 2020?

I am trying to figure out how many Bitcoin transactions could be verified per second. Am I correct that signature verification is more expensive than computing Merkletrees and hashes and therefore constitutes the bottleneck of the verification…
15
votes
1 answer

What are the advantages of Schnorr vs ECDSA?

I understand that Schnorr signatures provide an improvement on ECDSA in that they are a fixed 64 bytes instead of the longer ECDSA sig format, however, I don't see how this is an advantage over ECDSA in any situation except multisig. With ECDSA,…
14
votes
4 answers

relationship between bitcoin miner and verification of transactions

Bitcoin miner mines a block, which can't be submitted to the network without proof of work. And the new block contains all of the new transactions. Hence the new block acts as a security measure, and authority. My puzzle is following: In the…
10
votes
3 answers

If Bitcoin transactions require ~10 min to clear, how can payments get recognized within seconds?

Bitcoin Monitor offers to issue a notification moments after a payment is sent to a Bitcoin address. Yet if Bitcoin transactions require ~10 min to get written into the blockchain and confirmed as official, how can payments get recognized within…
10
votes
1 answer

Full list of "special cases" during Bitcoin Script execution (p2sh, p2wsh, etc.)?

When executing a Bitcoin Script, there are some "special cases" where the interpreter performs extra verification beyond just executing scriptSig and then scriptPubKey. For example, if the scriptPubKey has the following specific format: OP_HASH160…
Elliott
  • 227
  • 1
  • 5
8
votes
1 answer

Why is there no such thing as a redirected, forged, or fake transaction?

In the past, we had numerous questions about "fake" or "forged" transactions. Such transactions could supposedly be created even without holding any bitcoins, yet would end up in the mempool or even get accepted by the network once they are mined…
Murch
  • 71,155
  • 33
  • 180
  • 600
8
votes
2 answers

Different error messages under "Mandatory script verify flag failed."

I've been playing with raw transactions and signed transaction and I've noticed that the error "Mandatory script verify flag failed" comes in two variations. script failed on OP_EQUALVERIFY OP Script evaluated without error but finished with a…
8
votes
4 answers

Why is mining necessary for the Bitcoin network/system?

I understand that a transaction is a record of 1+ Bitcoins being given from one party to another. I understand that a block is a collection of unverified (pending) transactions that gets verified every ~10 mins or so. I understand that mining is the…
TicketMonster
  • 287
  • 1
  • 4
  • 7
7
votes
1 answer

Is the SPV client model scalable?

SPV clients typically connect to full node peers and set filters on what information they download. How many SPV peers can a single full node support, typically? Is it reasonable to expect millions of SPV node users connecting to ~6,000 full nodes?
morsecoder
  • 14,008
  • 2
  • 42
  • 92
6
votes
1 answer

Transaction verification by miner VS full node with & without SegWit

I'm trying to fill a few gaps in my understanding of transaction verification and would appreciate any insight. Without SegWit Miners broadcast new blocks which contain the signature(s) with every transaction. Miners can choose to decide whether or…
6
votes
1 answer

Does every full node verify every transaction TWO separate times?

I am building my Bitcoin expertise, and want to verify my understanding on a specific point: at what point(s) do all full nodes verifies a new transaction? Here is my understanding in a nutshell, please confirm or correct: [1] Upon receiving each…
Pressed250
  • 351
  • 1
  • 8
6
votes
1 answer

What happens in detail, when Bitcoin Core verifies a block during synchronization?

Since version 0.10.x, block headers are acquired separately, and therefore download is not delayed until previous blocks have been verified. Previous questions about synchronization mention that the verification takes the most time: How does Bitcoin…
Murch
  • 71,155
  • 33
  • 180
  • 600
1
2 3
19 20