Questions tagged [utxo]

Unspent Transaction Outputs (UTXOs) are created by transactions and allow the owner of an associated address to spend a specific amount.

Filter by
Sorted by
Tagged with
0
votes
1answer
73 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 ...
1
vote
3answers
53 views

How bitcoin application in production retrive UTXO's

AFIK, UTXO of an address cannot be retrieved using bitcoin-core, without importing the address in the wallet. How are application in production able to get UTXO ? Does all the application use ...
0
votes
2answers
52 views

How can I consume my whole bitcoin balance in a single transction? Is it possible to use multiples UTXOs in a single transaction?

I want to make use of a single bitcoin address for payment. I'm using bitcoinjs library's transction builder for creating my own transaction. Can anyone help with a proper code to use multiple UTXO's ...
0
votes
0answers
29 views
3
votes
1answer
71 views

Do confidential transactions produce an UTXO

There must be magical cryptographic reason why CT doesn't create an UTXO. If it did make an UTXO, it'd be trivial to calculate the input + output right?
-2
votes
1answer
20 views

Can the network confirm a utxo is from a wallet on a verified list [closed]

Given a business requirement of a verified list of wallets that the network has agreed on. can the network confirm a new type of utxo is from a wallet on this list and reject the new type of utxo if ...
0
votes
1answer
39 views

How long does it take to find a UTXO in UTXOs set?

to validate a TX, the miner or full node should first find the UTXO. How long does it take to find a specific UTXO in a list of UTXOs set? Right now, there are around 100 million of UTXOs. Then, how ...
2
votes
2answers
238 views

Other database besides UTXO?

In this post it is explained that the UTXO are removed after they are spent. This makes sense because they are not "unspent" anymore. But don't all UTXOs have a reference/connection to their ...
3
votes
1answer
35 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
20 views

Clarification on the UTXO expense [duplicate]

I want to clarify my doubt on the UTXO expense, I have one transaction, an example this and the use case for creating this transaction is bc1qz6qtgzkjnvzrf02tl8sczg7q8r0kkws0d5ly5s -> Send 0.00712451 ...
3
votes
1answer
75 views

Fundamentals: Addresses don't hold coins, wallets do?

In the beginning it was my understanding that: Every address has a private key Every address has a balance Every address may send and receive coins. This is simple. But now I am using more proper ...
1
vote
3answers
43 views

How is the monetary part of bitcoin stored?

How is the monetary aspect of a bitcoin stored? I understand that the blockchain is a set of records documenting transactions. I've also seen that blockchains in general can store arbitrary ...
0
votes
2answers
54 views

How Bitcoin dose find and verify UTXO ? is this efficient?

If Bitcoin sees all blocks, it will be very slow based on chain length and block size but, it can certainly verify incoming transactions. I know that blockchain is never modified any previous block. ...
0
votes
1answer
30 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?
0
votes
2answers
414 views

How to get unspent bitcoins using bitcoinj

I'm trying to get unspent transaction using bitcoinj like here without using api calls. How can I do this?
1
vote
0answers
37 views

How many TXO have been created in total?

I've seen some statistical data about the Bitcoin UTXO number (around 61M currently). I was wondering how many TXOs (including spent and unspent) there were in the complete history of Bitcoin?
0
votes
0answers
24 views

Some weird BTC transaction just happened to my wallet, sub wallet doesn't send back the BTC to my wallet [duplicate]

So my wallet address is 3BA1kdxSyFLADWJHDeaFb2xap4QASVvXto First I sent 0.00010000BTC to 1FjpQCZvqQxpGjvdU8AcxVyxXgJqY17Uzw (https://btc.com/...
2
votes
1answer
47 views

How to prevent double spending Bitcoins?

If I create a transaction, my node will check my UTXO's and if i have enough BTC to do this transaction it will be mined. So let's say I want to spend 12 BTC to Anna. The System will check if i ...
0
votes
1answer
250 views

Pycoin: How to sign SegWit transaction via Pycoin?

My target is to make transaction with unspent transaction outputs(UTXOS). The information of UTXOs is as follow. [ { "pt_idx": 0, "subaccount": 37, "ga_asset_id": 1, "value": "...
0
votes
1answer
326 views

How to get unspents for inputs using bitcoinjs-lib?

I would like my simple wallet app to automatically select UTXOs for inputs. I realize that I can't accomplish this with just bitcoinjs, but is there something I can add to it to keep track of unspents?...
1
vote
1answer
70 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
42 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 ...
0
votes
1answer
40 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. ...
2
votes
1answer
143 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. ...
1
vote
1answer
39 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 ...
2
votes
1answer
33 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 ...
0
votes
1answer
39 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
0
votes
0answers
35 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
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 ...
0
votes
2answers
205 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-...
12
votes
2answers
4k views

UTXO model vs. account/balance model

I understand that Bitcoin uses unspent tx output and Ethereum account balance based. However, recently there are lots of discussions on that Bitcoin's UTXO database has become too big. Does this mean ...
0
votes
1answer
41 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
163 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 ...
2
votes
3answers
787 views

What is the best way to download a “recent” UTXO set snapshot?

I am using bitcoinj to listen for payments. I need a way to maintain the entire UTXO set in a local database. Can bitcoinj be used to download every block (I think it downloads only recent blocks ...
1
vote
3answers
63 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 ...
4
votes
1answer
452 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.
3
votes
1answer
255 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
38 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
44 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
55 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
46 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
53 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 ...
1
vote
0answers
49 views

Create an issuance and a send within the same block (XCP)

Using counterparty api I am issuing an asset, signing the raw transaction and sending raw transaction. Api I used is http://counterparty.io/docs/api/#create_issuance As it takes 10 or more minutes to ...
0
votes
1answer
40 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
1answer
51 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
30 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 ...
1
vote
2answers
1k views

Is there any tool to index ALL bitcoind UTXO?

I've got a full bitcoind node with txindex=1. listunspent command is useful only if node is in possession of a private key for address. So, if I want to check UTXO for random address, it will not ...
0
votes
2answers
127 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 ...
4
votes
1answer
144 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 ...