Questions tagged [transaction-verification]

Refers to the process of checking the validity of transactions.

Filter by
Sorted by
Tagged with
3
votes
1answer
887 views

Verifying a bitcoin trx on the Unix cmd line with OpenSSL?

I want to use openssl on unixoide systems to verify a transaction. I step on errors, when trying to verify a bitcoin trx’s hash. Here I am working on Mac OSX and OpenSSL (1.0.2a 19 Mar 2015). I know ...
17
votes
1answer
2k views

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. ...
8
votes
4answers
17k views

Why is mining necessary for the Bitcoin network/system? [duplicate]

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 ...
21
votes
3answers
5k views

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 ...
18
votes
1answer
32k views

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 ...
9
votes
1answer
1k views

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 ...
3
votes
3answers
620 views

How it is possible to validate existing Pay to Public Key Hash transaction without public key?

These are my understanding or assumptions. Sign a document requires secret key and message only as below SignDocument(secret key, message) => signature And verification of signature requires ...
2
votes
2answers
167 views

How confirm my own doublespend transaction got confirmed

Transactions in the testnet are right now almost always double spent with a new txid (possible due to tx malleability). This is actually quite nice for testing purposes. So I'm wondering - when I ...
4
votes
1answer
362 views

How to calculate signature generation, signature verification, transaction verification speed?

I read this post on Bitcoin Scalability. As far as I understand sequence of steps in Bitcoin, simplified version of performing transaction should be following: On Sender's side: Create transaction ...
4
votes
1answer
1k views

Transaction's maximum size

Is there a maximum size for any given transaction? I just created this tx: http://blockexplorer.com/testnet/tx/194173dcc07b396433d5725abe76d52b10d42ebd3d1d10b465429f87fee12a52 and although it ...
2
votes
3answers
1k views

What counts as verification or validation of a transaction?

I understand the general ideas and properties of the block chain, but have not been able to understand how a transaction is created and gets to be verified or validated.
1
vote
2answers
2k views

How can transactions be verified without the private key?

Trying to get my head around her royal Bitcoin here... I understand that blocks of transactions are broadcast to the network, and that miners verify that the BC is 'spendable' by trawling the ...
13
votes
4answers
18k views

relationship between bitcoin miner and verification of transactions [closed]

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 ...
6
votes
1answer
661 views

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 ...
6
votes
1answer
207 views

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 ...
2
votes
1answer
317 views

Verification of transaction once trasaction is broadcasted

I have few doubts regarding verification of transaction and am trying to find answers from last few days. I agree similar post exist in this portal but I am not getting satisfactory answer for my ...
2
votes
2answers
218 views

Which kinds of transactions show quadratic signature-hashing scaling?

It has been stated: A major problem with simple approaches to increasing the Bitcoin blocksize is that for certain transactions, signature-hashing scales quadratically rather than linearly. https:/...
3
votes
1answer
776 views

Ethereum - how is the output of a contract computation verified?

This may be as simple as a pointer to some place in the docs I've missed, but how/where is the output of a contract's computation checked, or assured against a malicious miner with an intentionally ...
0
votes
1answer
75 views

How miners validate each transaction?

There is a locking to each transaction? and sender also attach his digital signature to that transaction? When this transaction comes to miners then how they validate this transaction is valid. ...
5
votes
1answer
371 views

Where the P2SH script gets written?

I understand that when I'm doing a transaction, I'm locking those bitcoins to whoever provide the solution to a script that has the hash I posted. But, where does the hash get written? I would ...
3
votes
1answer
215 views

How does Proof of Stake prevents dishonest behaviour compared to PoW?

I know that in Proof of Work (PoW) once a node has found the solution (the nonce) they announce it to the network. Then the rest of the nodes can easily verify the correctness of the block hash and ...
2
votes
3answers
367 views

Does the version prefix of an address force the type of transactions the address may treat?

A Bitcoin address is created with Base58Check encoding and it requires a version prefix, such as 0x00 for a P2PKH(pay-to-public-key-hash) address, 0x05 for a P2SH(pay-to-script-hash) address. Does ...
2
votes
1answer
212 views

“Instantaneous” transaction verification?

Jan Moritz Lindemann graciously educated me that difficulty is used not only to regulate the creation rate of a cryptocurrency but also to allow for block propagation thus prevent orphaned blocks. ...
2
votes
1answer
324 views

How does a non-upgraded node read a SegWit transaction? [duplicate]

I'm trying to understand how my node would interperet a SegWit transaction if I do not upgrade. Even if I do not upgrade, I should be ...
1
vote
2answers
540 views

Why does only the earliest transaction matter for double spending?

On page 2 of Bitcoin paper, it says: The problem of course is the payee can't verify that one of the owners did not double-spend the coin. A common solution is to introduce a trusted central ...
1
vote
2answers
190 views

How are transaction fees claimed from a technical point of view?

A typical transaction has one or more inputs and one or more outputs. Since there is no amount specified for inputs, the rule is that ALL of the inputs is always transferred. Any discrepancy between ...
0
votes
1answer
192 views

Does the miner first validate transaction before doing POW or he does not validate at all ? [duplicate]

Does the miner validate the transaction before putting it on the block for proof of work? my understanding is if the miner does not validate the transaction and published the block and the block gets ...
0
votes
2answers
92 views

P2SH secure spending. How?

Maybe my question is stupid, but imagine that I'm trying to spend inputs from p2sh. For example, p2sh scriptPubKey looks like: OP_SHA256 ...
0
votes
2answers
1k views

how to do address callbacks?

I'm building a webapp that needs to update account info and send a message when an account's address gets a deposit, and/or confirm withdrawals. I'm not sure what the best way to do this is. Would ...