Questions tagged [utxo]

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

21 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
34 views

How to approach building a custom UTXO index on top of a full-node

I want to avoid physically importing addresses into a wallet. I want to write a UTXO indexing system on a per-address basis. I often wonder how a wallet can keep track of all of its addresses UTXOs, ...
3
votes
0answers
944 views

How to directly query leveldb database to get get a record by transaction hash or by sender's address?

I learned that the blocks and transactions are stored locally in .bitcoin/blocks/index and .bitcoin/chainstate databases, respectively. I want to make a direct query to those databases to measure the ...
2
votes
2answers
68 views

What exactly is the “vout” field?

This is driving me nuts. Through trial-and-error, asking numerous people and attempting to read endless articles and manuals, I've come to the conclusion that the "transactions" listed by ...
2
votes
1answer
45 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 ...
1
vote
2answers
88 views

Confused about UTXO management and consolidation

I have a few questions regarding utxo management and consolidation. I know that the more UTXO's you have, the heavier your transaction will be, the more fees you'll have to pay. The things I don't ...
1
vote
1answer
146 views

How to create a transaction input from tx id of UTXO?

I'm in the midst of working this github --> https://github.com/karask/python-bitcoin-utils/blob/master/examples/spend_p2sh_transaction.py Sorry as I'm not that good in this. I would like to ask the ...
1
vote
0answers
47 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?
1
vote
0answers
61 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 ...
1
vote
1answer
453 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
0answers
53 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 ...
1
vote
0answers
99 views

get utx scriptPubKey to become an object

I'm using this python script https://github.com/sebicas/bitcoin-sniffer When I see a utx I look at each output and find the scriptPubKey I expected to see something like "scriptPubKey": { "asm": ...
1
vote
0answers
656 views

Mempool tracking

I'm trying to clear up some uncertainties around the mempool A tx comes in, its validated, and no other transactions have currently marked any of its inputs. Tx gets added to mempool. If a double ...
0
votes
0answers
26 views

Signing transaction for later use

If I have a segwit UTXO with for example 10 BTC , can I make some raw transactions ready to get broadcasted?
0
votes
0answers
34 views

Is there a way to know at any point in time T how many BTC exist that were bought at time t<T?

What I would like to find out is whether for a specific time in the past, we can know the number of BTC that exist today and were bought at this time. The discrete time can be the time of block ...
0
votes
0answers
33 views

if bitcoin miner(s) changed the UTXO set would the bitcoin nodes reject the blocks?

if so, would this cause a Fork? or what would happen?
0
votes
1answer
220 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
0answers
63 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 services ...
0
votes
1answer
80 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
44 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
1answer
307 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
2answers
489 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?