Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [doublespend]

This tag should be used for questions related to double spending. Double spends are when a money is spent more than one time. This is considered a form of fraud.

1 vote
1 answer
94 views

How Does the Blockchain Recognize Locked UTXOs in a PSBT if the PSBT Isn't Stored On-Chain?

I'm currently exploring the use of Partially Signed Bitcoin Transactions (PSBTs) and have a question about the locking mechanism of UTXOs during the signing process. I understand that as a first ...
Nerses Asaturyan's user avatar
0 votes
1 answer
23 views

Handling UTXOs in Partially Signed Bitcoin Transactions (PSBTs) and Potential Double-Spend Scenario

I'm working with Partially Signed Bitcoin Transactions (PSBTs) and have a question about the behavior of transactions when the same UTXOs are involved in multiple transactions. Suppose I have a ...
Nerses Asaturyan's user avatar
0 votes
1 answer
61 views

How feasible is a double spend attack?

Each source of information I look at that tackles this problem states that this type of fraud is essentially impossible at best and highly infeasible at worst. By my (very limited) understanding, the ...
M.White's user avatar
1 vote
2 answers
285 views

Strange double-spending attack possibility

In Bitcoin you can have different UTXO with different public keys in a single transaction. So suppose someone broadcasts a transaction with sending 10000 BTC. Theoretically I can copy this transaction,...
Denys Malovanyi's user avatar
0 votes
1 answer
43 views

is consensus needed when double spend attacks cannot happen(assume ideal case)

Suppose double spend attacks cannot happen(assume senders, miners etc are all ideal actors) in a network like BTC for cryptocurrency transactions. I am assuming still fork can happen if two miners ...
user319280's user avatar
3 votes
2 answers
109 views

Why is not good having forks in a blockchain?

To be more specific, if I imagine to work with isolated transactions chained to each other according to money flow, then I understand that we wish to have a single chain because forks would mean the ...
loremas89's user avatar
0 votes
1 answer
87 views

What happens if I `sendrawtransaction` but tx is invalid?

I manually select from my UTXOs, sign the tx (offline programmatical signing, not with wallet) and only interact with bitcoind when I call sendrawtransaction. But in the meantime another process might ...
thalisk's user avatar
  • 483
1 vote
1 answer
71 views

Transaction with txin, which ran out of money

How does transaction validation verify that I am not trying to send transactions with the same txin? Does transaction validation go through all the blocks and make sure I'm not trying to write off ...
6blBaJlblu reoJlor's user avatar
2 votes
0 answers
51 views

Be notified when node rejects TX from mempool

I need to be notified on my C# backend implementing NBitcoin when my node detects a double spend and rejects a TX from its Mempool. Is there a RPC call or some kind of events that I can register to to ...
Turbolay's user avatar
  • 120
0 votes
3 answers
337 views

How is the double-spend problem related to the Byzantine generals problem?

I’ve read that Bitcoin’s key innovation is solving the double-spend problem. I’ve also read that Bitcoin solves the Byzantine generals problem. Are the double-spend and the Byzantine generals problem ...
StatsScared's user avatar
1 vote
1 answer
48 views

Modelling random walks for double spending based on hashrate

I'm reading Analysis of hashrate-based double-spending where the following assumptions are made (on page 5): The total hashrate of the honest network and the attacker is constant, say H. Let the ...
SyntasticMonoid's user avatar
-1 votes
3 answers
142 views

How 2 chains co-exist together?

I am not able to understand, how 2 chains co-exist together, like these were the observations which are ambiguity for me: In one reading I have read, Only longest chain is valid and and rest chains ...
Arjun Reddy's user avatar
0 votes
3 answers
153 views

How does Bitcoin prevent double-spending without penalizing miners?

In the network nodes below as shown in picture: Let's say A is trying to double spend by sending bitcoins to B,C (A->B) and (A->C) and let's say A tried to relay (A->B) transaction to honest ...
Arjun Reddy's user avatar
2 votes
3 answers
270 views

Can miners double-spend with two transactions in one block?

Let's say Alice sends 5 BTC to Bob and Alice tries to make double spending by again sending those same 5 BTC inputs to carl and lets say that Alice is also a one of the miner node. Here Alice tries ...
Arjun Reddy's user avatar
2 votes
1 answer
223 views

What is an inflationary bug in the context of bitcoin?

I often hear that the worst bug that could impact bitcoin is an inflationary bug. But what exactly is meant by 'inflationary bug'?
StatsScared's user avatar

15 30 50 per page
1
2 3 4 5
19