Questions tagged [utxo]

Unspent transaction outputs are created by transactions and allow the owner of an associated address to spent a specific amount.

Filter by
Sorted by
Tagged with
1
vote
1answer
61 views

Why is the 'Estimated BTC Transacted' referring to just one of the multiple outputs?

I recently started learning about bitcoins and came by this transaction. Here there are multiple outputs so if we consider one of them to be the change received by the sender then why is the '...
1
vote
1answer
21 views

Fetch UTXO Bitcoin to address created by rpc importprivkey without rescan like other api

For few reasons, I must use rpc node to handle wallet at this time. In the near future, I will change the flow to use library to create addreses, store privatekey at database and create raw ...
1
vote
1answer
36 views

Is UTXO synonymous with leftover money in an address?

Is UTXO synonymous with leftover money in an address and the only reason UTXO is even a concept is due to security concerns of not changing an address after every transaction? Hence, your "unspent ...
0
votes
1answer
22 views

spend a specifc UTXO

Is there any methods to pick a particular UTXO and send it to a particular address in bitcoin regtest mode using bitcoin-cli other than createrawtransaction and sendtoaddress
2
votes
0answers
22 views

What are the downsides of integrating accumulators like utreexo to bitcoind?

Inspired by the discussion in this question I wonder what would be the downsides of adding accumulators like utreexo (paper at: https://eprint.iacr.org/2019/611.pdf) to bitcoind? On the positive ...
0
votes
0answers
24 views

How to rebuild the balance of a Bitcoin address using bitcoin

As from the title of the question. I'm using these biconij 0.15.2 and following jar libraries: guava 0.28 bcprov-ext-jdk15on slf4j-2.0 and have downloaded all the full node blockchain Bitcoins. I ...
0
votes
2answers
113 views

Bitcoin address generation and UTXO scanning

I'm developing bitcoin payment processing application. I've two question to ask: In each bip32 address, How much UTXO each address should have to consider generating new address to avoid address re-...
0
votes
1answer
57 views

Privacy: How should I handle UTXO's?

We know that, for security and anonymity, we shouldn't reuse addresses. Also, there is the idea of change avoidance to protect ourselves from any number of change detection heuristics. But I find ...
0
votes
1answer
31 views

OP_EQUAL not working properly

I went to https://siminchen.github.io/bitcoinIDE/build/editor.html to try some bitcoin scripting and I wrote this script: <1PUzZ61FSVTn12CafJC85Vy1ts3BoFcXdU> OP_HASH160 <...
6
votes
1answer
139 views

What was the longest held UTXO ever spent?

What output had the longest period between when it was created and eventually spent?
0
votes
1answer
35 views

Is a bitcoin UTXO divisible?

In this video Andreas Antonopolous says an output is indivisible and therefore if a transaction smaller than the output is done, the rest is used as change and returned to your different address of ...
1
vote
3answers
56 views

What is the order in which UTXOs are sorted in a block?

Let's say, I am trying to do a double spend by creating two transactions almost immediately, is it possible that both the transactions are added in one block ? If yes, then which transaction is valid ...
2
votes
1answer
27 views

Is it cryptographically possible to have aggregate signature schemes that can improve privacy in UTXO consolidation?

My understanding of Schnorr signatures, Taproot and Graftroot and how they improve privacy in smart contracts / multi-sig is by allowing users to aggregate signatures so the individual signatures and ...
3
votes
1answer
246 views

How bitcoin nodes update UTXO set when their latests blocks are replaced?

Let's say bitcoin node has 100 blocks. Then he recieve another two blocks. Now it have 102 blocks. But now he recieve block 103. And this block is from another chain and our node have to remove blocks ...
0
votes
0answers
30 views

Signing a Tx that has multiple UTXOs

Using Go language, I am trying to create a BTC transaction, using multiple UTXOs. I am adding the UTXOs by doing this: Tx.AddTxIn(TxIn) creating the TXOuts one for the amount to send out and one for ...
0
votes
0answers
36 views

Why does binance send a small amount into another utxo while sending to cold wallet?

I believe the address 1NDyJtNTjmwk5xPNhjgAMu4HDHigtobu1s belongs to Binance. If you look at this transaction for example https://blockchair.com/bitcoin/transaction/...
2
votes
1answer
52 views

How do blockchains in each nodes maintain consistency?

What I understand as (Please correct me if any statement is wrong) Every full node tries to generate a new block, in which different amount of transactions are included and what to be included will ...
1
vote
1answer
34 views

How does a Bitcoin (Core) wallet use inputs?

When creating a new transaction, how does the Bitcoin Core wallet (or any other wallet) handle/use the outputs (UTXO's)? e.g. when 2 outputs have to be used, will Bitcoin spend the highest address (...
0
votes
1answer
47 views

Signing a blank input?

Is it possible to include a blank input in a transaction? For example, a blank input could be used to guarantee a particular output was included in a transaction, using SIGHASH_SINGLE | ANYONECANPAY ...
0
votes
1answer
28 views

Is SIGHASH_NONE encompassing of other signature types?

Say I am building a transaction in private: Input 1 is signed with SIGHASH_SINGLE ( | SIGHASH_ANYONECANPAY) Input 2 is signed with SIGHASH_NONE | SIGHASH_ANYONECANPAY SIGHASH_NONE implies that ...
0
votes
1answer
38 views

Why is there sometimes no output that sends funds back to the sender's address?

'A' has one bitcoin. 'A' tries to send a 0.5 bit coin to 'B'. Two utxo are created. First, "utxo" sends "B" 0.5 bitcoin. Second, "utxo" where "A" remits remaining bitcoins to "A" except for 0.5 ...
0
votes
2answers
86 views

Transactions with multiple input UTXOs and multiple output UTXOs

Suppose a transaction t has 5 input UTXOs each worth 1 BTC, each unlocked by a different sending address Ai. The outputs of that transaction are 10 UTXOs of 0.5BTC each, each locked by a different ...
0
votes
0answers
2k views

Uneconomical UTXO requested

I'm using btc.com wallet and i want send 0.001 btc to another address but i'm facing with this error: Uneconomical UTXO requested [type: 1 (limit 6831), txOut.val: 5897, required: 98140] what does it ...
4
votes
1answer
124 views

Are all UTXOs locked by an address spent in a transaction?

Imagine I have 2 UTXOs locked by my address, each of which allows me to spend 5 bitcoins. If I subsequently want to send just 2 bitcoins to someone else, will both UTXOs be used as inputs in the ...
0
votes
0answers
38 views

Uniquely identifying a UTXO

I see two ways: Txid + index Txid + script hash Pros of the txid + index: Simple and short Cons of txid + index: It relies on array iteration being deterministic and all third party ...
0
votes
0answers
19 views

Swift implementation of bitcoin transaction creation

Is there a well known and widely used Swift implementation for creating raw Bitcoin transactions and getting their hash (SegWit and Non-SegWit) of signing? If not, is there a reference document that ...
0
votes
1answer
46 views

Spending UTXO from same block

Block 546 is the first time a (actually two) transaction spends the UTXO of a transaction from the same block. Is the order important? (The transaction that generates the UTXO has to appear before in ...
1
vote
2answers
103 views

If I was developing a Bitcoin wallet, should I support both legacy and compatibility addresses?

To receive funds, I was thinking of giving a user the option of displaying two QR codes: Legacy - p2phk e.g. 1AKDDsfTh8uY4X3ppy1m7jw1fVMBSMkzjP Compatibility - p2sh(p2wpkh) e.g. ...
0
votes
1answer
44 views

Use UTXOs before transaction is signed/broadcasted

Suppose I have an address with a single UTXO. I want to create 100 transactions and sign/broadcast them all at once. Could I do the following: Create a transaction by hand (where change funds are ...
0
votes
1answer
26 views

How to create an application which constructs a transaction using `bcoin` (javascript)?

I am new to development. I am working on a project and I am trying to use bcoin. I want to create an application which has a UI, where the user will be asked to enter Destination address and amount. ...
0
votes
1answer
30 views

Question about UTXO and indivisibility

I'm reading about the concept of UTXO. Everywhere I read, it says that a UTXO in an account is indivisible. One analogy said: "It's as if you wanted to make a $5 purchase with a $10 bill. You wouldn't ...
1
vote
0answers
21 views

Are there any other balance management systems other than UTXOs and Account Based used by blockchains today? [closed]

To know how much balance a user has on the bitcoin blockchain you just need to look at their UTXOs. To do the same in Ethereum you just look at their accounts. Are there any other systems used by ...
0
votes
1answer
156 views

The risk of sending money to a xpub generated address

Suppose the owner of xpub share the xpub to others, and someone send some money to a xpub generated address. If the owner of xprv does not know the path used to generate that new address, is that ...
0
votes
1answer
41 views

How does an SPV client forms a transaction which is then Broadcasted?

As per my understanding, an SPV client only keeps a track of the block headers in its own database. So when a user tries to send bitcoins using that particular SPV client, how is the transaction ...
0
votes
2answers
39 views

Reference an UTXO of a transaction that has not been yet mined

How to reference an UTXO that has not been yet mined? I want to prepare a transaction and, before spreading it, use its UTXO as input for another relative timelocked transaction. Then, spread the ...
4
votes
1answer
312 views

How to find all UTXOs?

It is known, that UTXOs stored in chainstate database. But how to get them in simple txt view? Not ballances, but each UTXO.
4
votes
1answer
43 views

Is the bit encoding format for the graphic in BIP 68 implicitly little-endian?

CLTV (OP_CHECKLOCKTIMEVERIFY - absolute locktime) and CSV (OP_CHECKSEQUENCEVERIFY - relative locktime) utilize BIP 68. Is the locktime for those two operations implicitly encoded in little-endian ...
5
votes
2answers
183 views

Do UTXO's ever get consolidated to avoid complexitity?

In 'Mastering Bitcoin' (pg 130) it is explained that a transaction will require higher fees if it is complex. For example, if I collect bitcoin from 100 people to buy a single tent, then when those ...
0
votes
1answer
26 views

Can I receive detailed tx data via command line using only a lightclient?

I recently tried to sync the Bitcoin blockchain, but my laptop does not have enough space on it. I want to be able to analyze UTXOs and raw transaction data. Will a lightclient allow me to do this?
2
votes
1answer
128 views

What happens to a node if .bitcoin/chainstate is corrupted?

I tried to search for answers to my questions, but didn't find any, but please forgive me if this is a duplicate question. Suppose somehow .bitcoin/chainstate gets corrupted, e.g., a UTXO is deleted. ...
2
votes
0answers
69 views

Is there a UTXO for IOTA? [closed]

How does the cryptocurrency IOTA keep record of the spent coins? Is there something similar to the UTXO where the unspent coins were recorded? And it somebody wants to spend a coin, do you have to ...
1
vote
2answers
82 views

How to cheaply melt many micro UTXOs?

I know this was probably brought up before but I cannot find any good resources on some potential, at least theoretical way of achieving this. So basically I have a lot of UTXOs whose value is ...
1
vote
0answers
44 views

What would UTXO consolidation look like in the public ledger with Schnorr signatures?

I am excited about the privacy and optimisations involved with moving from ECDSA to Schnorr signatures. One of the privacy improvements, as I understand it, is that you can aggregate signatures so ...
0
votes
1answer
49 views

Which values are GetValueIn() and GetValueOut() calculate?

In Transaction.cpp, there is a function CAmount CTransaction::GetValueOut() const. In Coins.cpp, there is a function CAmount CCoinsViewCache::GetValueIn(const CTransaction& tx) const. My ...
0
votes
1answer
73 views

UTXO transaction consolidation?

As a relatively new user, I have only generated a handful of public addresses. Usually, to move to a newly discovered and preferred wallet. I’ve only recently learned that a single seed phrase can ...
0
votes
1answer
77 views

I seem to have too many unspent outputs for my given balance. What am I missing?

I have an address on the testnet. I started out with 1.3 btc. I then sent 0.5 btc to another address. My balance is now 0.8. OK, that makes sense. I expect now to have one UTXO which was the 0.8 in ...
1
vote
1answer
383 views

State of transaction and UTXO

What I have learned is that state is an abstract thing and is maintained by the node locally and the state of the current blockchain can be reached by starting all the way from the genesis block and ...
2
votes
2answers
132 views

If I reuse the same address can a previously used transaction be reused?

I was wondering, if I used an address adr0 to spend some coins in a transaction tx0 that give the coins to a different address adr1, and eventually, after some time, I receive some (completely ...
1
vote
0answers
73 views

Zcash T-address address wise UTXO transaction list both testnet and mainnet API [closed]

I need API for address wise UTXO transaction list for Zcash t-address for both testnet and mainnet.
0
votes
1answer
61 views

What does a bitcoin transaction contain?

I'm learning about basic transactions and know that a transaction should contain: i) Signature of the sender using some operator: sign(private key,message) ii) Receivers Public key (wallet address) ...