Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [transaction-verification]

Refers to the process of checking the validity of transactions.

1
vote
1answer
17 views

Is it posible to create a transaction output that can either be reddemed by privK of Addr A or by privK of Addr B AFTER certain blockheight?

I am thinking about how to secure your Bitcoin savings. One idea I had was to create sort of a "backup" address B for an address A which stores the bitcoins. So what I want to achieve is that you ...
0
votes
1answer
10 views

When do scripts executed?

Can anyone explain when does a script executed exactly? There are several information about "how scripts are executed" but no information about "when".
1
vote
2answers
167 views

Bitcoin transaction fee calculator

I'm new to bitcoin. Is there a website where I can type amount of BTC I want to send and type of transaction - Urgent, Normal, Economic and they give me the price in USD how much the transaction fee ...
0
votes
2answers
61 views

How does blockchain technology handle the actual transaction data?

My understanding of how a transaction is secured in blockchain, especially in bitcoin, is that the output of transaction data is locked to the recipient's address (a shorter version of his public key)....
1
vote
1answer
42 views

May it be a risk to use the origin as the change address?

Follow scenario: The balance of my origin address is 1 BTC. I'm transfering 0.1 BTC to a shop where I'm buying some goods, my wallet returns the change to my origin address. Now my origin address has ...
0
votes
1answer
33 views

How do you get Sibling Hashed Values in a Merkle Proof?

Merkle Proofs are one of the main reasons that people attribute Bitcoin's use of Merkle Trees. But I'm struggling to understand how these work in practice. Please explain theoretically as well as ...
0
votes
3answers
49 views

Reject or refuse to relay a valid transaction

Under the Bitcoin protocol, how much control does a node have on how a transaction is dealt with once received? Can a node reject a valid transaction? Can a node refuse to relay a valid transaction to ...
2
votes
3answers
52 views

When a node receives a transaction, what steps does it do to verify that transaction?

I know that it verifies the block hash by calculating each hash of the contiguous blocks in order, but does it verify the balance of each wallet sending the transactions as well? And does it do the ...
0
votes
1answer
40 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. ...
1
vote
2answers
34 views

how do miners verify transaction without identifying sender and receiver?

I mean in satoshi paper we read sender and receiver have limited anonymity. By keeping public keys anonymous. The public can see that someone is sending an amount to someone else, but without ...
0
votes
0answers
13 views

Selection of UTXO with Pending (non-mined) Transactions [duplicate]

I have a theoretical question about Blockchain Wallet implementations. Say wallet A has UTXO's for {50, 30} with ID's {0,1} and wants to send wallet B 2 separate payments of $40 each before any ...
1
vote
1answer
49 views

What is the correct use of the term “validating”?

First, in the Bitcoin context what does validating mean? Second, is it incorrect to say something like " the average time it takes to validate a block by the network is 10 minutes." The way, I ...
0
votes
1answer
102 views

How to verify if it's Segwit Transaction or not?

Segwit Usage chart example : https://p2sh.info/dashboard/db/segwit-usage?orgId=1 I Would like to verify by checking tx if it's Segwit Transaction or not. Is there any simple method to do this? ...
4
votes
1answer
580 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 ...
1
vote
1answer
44 views

Transaction vaildation

I have understood that miners validate the transactions by checking for double spends and that the transaction was not already confirmed, what I don't understand is how the miners are able to do this ...
0
votes
0answers
26 views

How do you find the signing message of a TxIn signature? [NOT a duplicate] [duplicate]

So I'm trying to find m in s = (m + r * x) / k of a Bitcoin transaction input. Taking a look at this transaction, I can pull out s and r from the ScriptSig of an individual input: 30 45 02 21 ...
5
votes
1answer
66 views

Can corrupted unspent transaction outputs list leading to higher than expected fee be seen as an actual threat?

Let's imagine, an attacker managed to corrupt your local list of unspent transaction outputs (or a blockhain explorer you use) in a way that certain unspent transaction outputs seem to hold less coins ...
0
votes
1answer
228 views

Is a miner running a full node?

Is a miner just running a full node that is connected with the mining hardware? Or is there such thing as a miner node? Does it use additional software for transaction selection? Thanks in advance!
0
votes
2answers
145 views

P2SH signature verification in python

I am trying to understand and verify P2SH script by writing a python code to parse real transaction in blockchain. I have chosen below Transaction randomly. TxID: ...
1
vote
2answers
77 views

Is the UTXO set size important for non-mining full nodes?

Recently, I have seen a lot of development effort going into techniques for different ways of storing, pruning UTXO/TXOs. The main motivation cited is reducing block orphaning, which is mining-...
1
vote
1answer
59 views

Satoshi Nakamoto's Transaction Chain Diagram Hash Value

In Satoshi Nakamoto's diagram: The line coming from transaction block 1 and going the the "Hash" label in transaction block 2 appears to represent the hash of the entire transaction block (Owner 1's ...
1
vote
1answer
48 views

Merkle Tree computations

Assume I am running a mini-blockchain that is I only have blocks' headers but no transactions. I wish to verify a transaction of a third party. For that I need the transaction's path to the Merkle ...
1
vote
2answers
87 views

Merkle root Vs transaction hashes

It is not clear to me, why not we can simply store transaction hashes in a block header instead of storing the Merkle root. I understand that storing transactions' hashes will slightly increase size ...
1
vote
2answers
38 views

Why can't Bitcoin transactions be stopped like SWIFT transfers?

As I know, most BTC hacking happens at digital wallet (but in blocks). I believe the hacker use normal BTC transaction to transfer those stolen BTC to other block addresses. Why can't we stop the ...
2
votes
1answer
45 views

Why this transaction is valid?

The before transaction is @ https://www.blocktrail.com/tBTC/tx/da58f6688b0727a7f1bf3eec899099bde1f18b9c7099f9d2c79556db238e623d Its output script is "OP_HASH160 ...
2
votes
1answer
30 views

Bitcoin core verification keeps reseting

I'm trying to run Bitcoin Core service with full node verification on Ubuntu on testnet and it keeps resetting. The verification increases to 0.3, then resets to 0, for 2 days already. Debug.log ...
0
votes
1answer
54 views

What exactly is a bitcoin?

So I understand how blockchains work[1]. I understand how proof-of-work works[2]. And I understand how they work together. I also understand (or at least I think I do :) how transactions work (A block ...
1
vote
2answers
324 views

Difference between transaction chain vs blockchain

What are the difference between transaction chain in bitcoin and blockchain used in bitcoin? Is it sufficient to say to each transaction refers to previous transactions in the transaction chain and ...
1
vote
1answer
158 views

Does every miner verify blocks that are already in the Blockchain [duplicate]

Once a miner adds a block to the chain, does every other miner have to check that block to make sure that its transactions don't violate any rules? For instance, if a miner added a block with an ...
0
votes
1answer
31 views

why can't i push this transaction?

Why can't I push this transaction using blockchain.info but a transaction just like mine was broadcasted and mined? My transaction: ...
2
votes
1answer
457 views

Signature verification in python using compressed public key

I am trying to learn bitcoin blockchain programming. I am trying to verify signature in Transaction with txid: 4269fdc239d027922dcec96f1ae283dbaff10e2d1bd49605661d091e79714956 I am getting ...
0
votes
0answers
24 views

In DAG tech can transactions verification be done through cell phones where users have to verify two previous transactions

Is it possible for a phone to carry out this procedure where it verifies to other transactions ,basically the way it works in Directed Acyclic Graph
0
votes
1answer
25 views

What is the computational power required for just verifying maybe two transactions

I want to know the amount of computational power required to verify a just a couple of transactions. No mining included, just verification can it be done with CPU or maybe even phones?
0
votes
1answer
21 views

If in order to verify a block your hash just has to be lower than the hash in the block, then why won't 00000000000000000000000000001 work every time?

So if in order to verify a block you just need a hash lower than the block in the hash, then why do you need to do a bunch of calculations rather than just using ...
0
votes
2answers
85 views

Can an attacker use a modified Bitcoin node to pass fake transactions into the mempool?

Is it possible for a malicious attacker to download a bitcoin software code, modify that code and use that software for his own benefit? I know that any changes implemented in the bitcoin software ...
0
votes
1answer
81 views

Confirming transactions in the Merkle root and SegWit

I'm trying to find out how exactly transactions are confirmed in a block. I understand that to confirm a transaction, you hash it with its associated transaction and then the associated hashes until ...
1
vote
1answer
203 views

Bitcoin fake transactions

Suppose, A and B are malicious attackers. Both want to send unlimited fake transactions to each other. I know that the transactions won't be accepted in the blockchain. In fact, they don't want their ...
2
votes
0answers
174 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 ...
1
vote
2answers
294 views

bitcoin transaction expired

I made a BTC transaction on the 17th of January with this ID: 1f15277460d80454fae5c3fae60012e9b1b250e16f778b647c6e8e4acc49f1dc According to coinify (blockchain.info) it expired, so I wasn't able to ...
0
votes
1answer
151 views

Not sure if I accidentally double spent my LTC LITECOIN

LEDGER NANO S - CHROME APP LTC LITECOIN I just sent two transactions (with different amounts) from one address to the same receiver one after another. While sending the second the first was still ...
0
votes
1answer
32 views

How bitcoin transaction fromat design can be explained?

Can someone clarify? Why is there bitcoin address in the transaction, when the bitcoin script already contains the pubkey hash? Why isn't the amount a part of the script? Why does bitcoin script ...
0
votes
0answers
28 views

I sent 100$ for 3 sat/byte. What happens with my stuck transaction if i wait it out? [duplicate]

I sent 100$ for 3 sat/byte. At the time i chose this low fee i thought it will just take longer, but now after reading it seems this transaction will never happen at this state of high bitcoin fees. ...
1
vote
1answer
267 views

Balance between minimum transaction fee and time using Electrum 3

Yesterday I made my first Bitcoin transaction using Electrum and I was able to configure the fees I was going to pay. As it was a non-urgent transfer I selected the minimum fee Electrum allowed me: "...
0
votes
0answers
53 views

BitcoinABC client to Electron Cash: TX ID not on blockchain, but ABC has 100+ confirmations?

At around 1am CST 1/8/18, I attempted to move all of my Bitcoin Cash from a wallet on BitcoinABC to a new wallet on Electron Cash. The transaction ID from BitcoinABC is ...
2
votes
3answers
338 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
299 views

Using the Merkle Root to prove the integrity of a block's transactions

I understand that a Merkle Root is the hash of hashes of hashes (etc.) of transaction pairings within a block that ultimately results in one 'Root' hash. Changing anything about any of the original ...
1
vote
2answers
163 views

Private Keys / Transaction Verification

Perhaps an ignorant question, my background is in finance not cryptography. After a transaction is made and "signed" with the sender's private key, how can other nodes verify it without knowing the ...
18
votes
3answers
5k views

How is bitcoin transactions and the blockchain as a whole 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 ...
0
votes
0answers
319 views

bitcoin transaction spent but not received

I hope you are well. I had a weird transaction which was sent a few days ago, it now says spent, and received but has not changed my wallet balance, sent it from one exchange to another. When it is ...
0
votes
0answers
25 views

I accidentially send my bitcoin from coinbase to my bitcoin cash wallet on exodus [duplicate]

I accidentially send my bitcoin from coinbase to my bitcoin cash wallet on exodus. It there anything i can do to get it back?