Questions tagged [transaction-id]

The unique identifier of a transaction corresponding to the sha256d hash of the transaction.

Filter by
Sorted by
Tagged with
1
vote
2answers
176 views

Is txid a required field on all transactions?

I am writing a script that relies on txid to perform some tasks. I was wondering if it is possible for the txid to be missing from a transaction.
1
vote
1answer
63 views

Bitcoin transaction not confirmed since 3 days ago [duplicate]

Hello I might sound stupid but it’s been three days since I issued bitcoin transactions, all unconfirmed so far. I use Blockchain.com to manage my wallet and have done everything normally (I think, as ...
0
votes
1answer
41 views

Developing a Bitcoin POS (Payment Page) - How do I identify the transaction

This is probably a basic question but I can not find an answer. We are developing a BTC payment process for a Point-of-Sale. We have managed to build this fine and can make requests (QR code) for a ...
0
votes
0answers
77 views

How can I transfer unconfirmed transactions from wallet.dat to a new blockchain wallet

My question may not be very clear since I’m not really an expert in bitcoin and its technology. But in my possession I have just a wallet.dat files with an unconfirmed transaction on it. I followed a ...
0
votes
1answer
53 views

Is it only out of sheer luck that all my "txid"s are unique? How should I handle multi-vout transactions?

I have created a database table simply copying the information from listsinceblock from Bitcoin Core's API. I have a UNIQUE constraint set to "txid + vout", as I'm supposed to. But when, as ...
1
vote
0answers
26 views

Minimum characters to uniquely identify bitcoin trasanction in blockchain

What is the minimum number of characters (TXID from the beginning) which is generally considered to uniquely identify a bitcoin transaction in the blockchain? (Similarly to git and a commit SHA - ...
2
votes
1answer
153 views

Refer to UTXO by output index or output full address in blockchain?

I'm writing my own simple crypto and wondering whether input in a transaction should refer to unspend output only by it's TXID and vout (index in outputs vector in a transaction) OR by it's TXID and ...
0
votes
0answers
61 views

How to Post Transaction in Bitcoin Network?

I need help here as it has been almost a week since I've been trying to figure this out. Fyi, I can get my Python Script running using "Mainnet" for Bitcoin Transaction that able to execute ...
0
votes
0answers
34 views

Solution to the same TXID from 3 different client

Someone sent me some bitcoins.... then I had some other clients sending me the same txid that they also made a payment, but I received only one payment.
1
vote
1answer
1k views

Unconfirmed BTC transaction / TXID doesn't exist?

I recently tried sending some btc to coinbase. In a hurry I did not put a transaction fee. I've tried to explain to their customer support what is going on. I offered to charge me a fee through my ...
0
votes
2answers
665 views

How to find out if LND opening pending channels has a confirmation onchain?

After typing lncli pendingchannels I get a channel_point number, and when I put channel_point txid to check if it was confirmed onchain by typing: bitcoin-cli gettransaction "txid insert" I get an ...
2
votes
1answer
284 views

How to calculate txid for segwit transactions?

I'm having difficulty calculating txid for recent transactions. I followed bip-141 at https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki For the first transaction in the first block found ...
0
votes
0answers
166 views

Generating TXID from transaction's data [duplicate]

As I understand, we can generate a TXID by hashing transaction data through SHA256 twice, and as you know probably, A bitcoin transaction is just a bunch of data that describes the movement of ...
0
votes
2answers
943 views

getting address from public of ScriptPubKey vs ScriptSig

Recently I read some articles about BITCOIN protocol and it's transaction. I understand(maybe it is incorrect) these rules: An input is what we call an output when you're spending it in a transaction....
0
votes
1answer
86 views

bitcoind rest api tx endpoint

i am having a trouble with bitcoind REST API endpoint for retrieving transaction info. According to the documentation it should return confirmations among the retrieved data. But my bitcoind do not ...
1
vote
1answer
268 views

how can i get rid of a zombie channel in LND?

My LN-Node: 023bf99414b3e93ab7463ce60f44cd691f8be3c1ae33a2015fe784c85c36e770cf bitcoind 0.17.1 // LND 0.5.2-beta commit=v0.5.2-beta-rc7 Channel: 598078250466476032 Problem: lncli feereport returns: ...
2
votes
1answer
215 views

Ripple: How to calculate transaction ID (TXID) [closed]

Given a signed Ripple transaction, how do I calculate the txid?
0
votes
1answer
208 views

SPV clients querying the full node

Is there a way currently where an SPV client can send a TxID to a full node which is present in the UTXO set of the full node and have the full node not scan its entire blockchain to fetch the ...
0
votes
1answer
44 views

Custom transaction IDs

I understand that TxIDs are simply the double hash of tx data. But who creates them? I assume that all the nodes create the TXIDs of the transactions on their own and the TxIDs are not transferred ...
5
votes
2answers
333 views

Why didn't Bitcoin implement segwit in the first place?

Why didn't Bitcoin implement segwit in the first place? Why and how does non-segwit Bitcoin enable a miner to change a transaction's txid? From Mastering Bitcoin ch. 7 § "Transaction identifiers": ...
0
votes
1answer
306 views

Getting transaction id from raw transaction of a multisig address

I am able to get the tx id (or transaction hash) of almost any transaction but the one where the script starts with an "OP_O" (which is, I think, the null dummy introduced here https://github.com/...
0
votes
1answer
108 views

What does postfic in the wallet transaction id mean

It's known the txid is always a 32 byte hex sequence for example ceca9c54d1a2f9122326a871a3b0b20b725540137e80cb50da663a404f7849a8, but when inpecting the transaction in a wallet it shows it with a ...
0
votes
2answers
670 views

Confirm transaction in regtest mode

I'm testing some wallet features on regtest. Here's the sequence so far: cash-cli -regtest generate 101 cash-cli -regtest getbalance 500.00000000 cash-cli -regtest getnewaddress newAddress1 ...
3
votes
1answer
83 views

Question about identical txids/merkle tree in Developer guide

I am new to the technical details about Bitcoin and has been reading Developer guide on bitcoin.org. I have a question about below contents mentioning merkle tree, identical txids. I googled and ...
0
votes
1answer
390 views

Confused About Hash In Satoshi Nakamoto Diagram

In Satoshi Nakamoto's diagram: Consider the Hash block in the first transaction block above: How is that Hash value calculated? I see arrows from an Owner's Public Key and another arrow, so it's ...
0
votes
1answer
133 views

Get input address using VIN txid?

I have written following script to get Vin address from Vin txids. #!/usr/bin/python # -*- coding: utf-8 -*- import requests,json url="http://asd:asdf@localhost:2332" payload={} payload = {"jsonrpc":...
1
vote
3answers
760 views

Getting the wrong txid for coinbase transactions

I'm trying to hash transactions to get the txid. I get the hex values from blockchain.info. I get the correct hash for all transactions except for the coinbase when I hash it twice. Is there something ...
-2
votes
4answers
2k views

I think I found 241 Bitcoin [closed]

I have been having dreams for the past month about BTC and an old computer I had bought Bitcoin on a long, long time ago. I just found said computer in my grandmother's basement. Booted it up and lo ...
0
votes
1answer
623 views

Find message attached to Bitcoin transaction?

Given a txid, can I find out the message/comment the transaction was attached with by the sender?
4
votes
1answer
1k views

How to compute SegWit txid?

BIP141 says wtxid is SHA256 of [nVersion][marker][flag][txins][txouts][witness][nLockTime]. Is data that hashed as txid includes witness? And will txid be presented in block, e.g. be counted when ...
1
vote
1answer
483 views

How does TXID gets created and at which point

I see TxID in bitcoin transaction input as reference of the UTXO. How does TXID gets created and at which point, wallet or node?
1
vote
1answer
162 views

Why does bitcoin-cli not show the correct TXID for this transaction?

I've been decoding some transactions on Testnet, and I've found one that bitcoin-cli decoderawtransaction seems to "fail" to decode correctly. Here's the TXID: ...
0
votes
1answer
514 views

After creation, what I have to do with a coinbase transaction?

I have create a coinbase transaction successfully with the command: createrawtransaction '[{"txid":"0000000000000000000000000000000000000000000000000000000000000000","vout":0}]' '{"...
0
votes
1answer
554 views

Values for txid and vout for create a coinbase transaction

I want create a coinbase transaction to go with a new block minned by my program. I am creating it with the json-rpc command createrawtransaction. What's the values for txid and vout in this case?
5
votes
1answer
427 views

SegWit and previous hash: txid or wtxid, or either?

With segwit there will be two transaction ids wtxid and txid Can either one of them be used as previous hash or only txid?
0
votes
1answer
1k views

Is the Bitcoin Transaction ID also the "Hash of things to sign" for the signature generation?

As a random example, is the transaction id: 114be7fea4d3dd0cf2e88a8fa9a56d4ea741efbabd07d61d08cf0810be2254fd Also the hash that was used as the "hash of things to sign" for the "signature generation"...
0
votes
1answer
84 views

tx-malleability who re-signed the tx?

It would be really great if there was a way to loop through all the txids in a new block and be able to check if you (can) sign your original transaction the same way it was re-signed - that it ...
0
votes
1answer
859 views

Possibility of validation of transaction TX id

I've readed numbers of thread here but non answer to my question. What I want to know if there is a way somehow to validate transactionID ( txID ). I have a site which accepts bitcoins. In order to ...
2
votes
1answer
731 views

Create raw transaction what txid

I want to check for every transaction if there is enough balance to pay it(including fee). I found this question: Is there a way to know the Bitcoin Network transaction fee BEFORE actually submitting ...
2
votes
1answer
845 views

Duplicate transactions in blockchain

Can someone explain what does this mean: As i see: 2 transactions are having SAME txid and differ just by address. Is this normal behavior? Should I get both transactions in such cases?
6
votes
2answers
343 views

What would be the fastest way to query for a certain txid to get its inputs?

I am working in an artistic/visualization project that analyses Bitcoin transactions. I have a Bitcore instance with insight API and from a Python script I query through the REST API so the queries ...
3
votes
1answer
355 views

How are transaction IDs generated and how are they then changed by transaction malleability?

How are the transaction IDs generated for a Bitcoin transaction? How can the transaction ID change due to a transaction malleability attack?
2
votes
1answer
2k views

Figure out transaction ID

How can I find out the ID of a transaction I just made? I sent bitcoin to a site and they are requesting me to send the transaction ID to them. How do I find it out?
2
votes
1answer
82 views

What is the impact of purposely sending a signed message with zero fee?

Would it be appropriate use of me to send a message with 0 fee on purpose if I have no need for the message to remain on the blockchain after it is seen by the recipient? I could sign a transaction ...
0
votes
1answer
420 views

Why do you have to search for TXIDs in little-endian?

I understand that when you double-sha256 some transaction data, it will give you the TXID for that transaction. This can then be used in future transaction data when you want to reference an existing ...
8
votes
1answer
2k views

What happens when two txid's collide?

Let's suppose that I can create SHA256d collisions, and I use this ability to create two transactions that have the same hash, A and B. These transactions are not the same, but they hash to the same ...
4
votes
1answer
3k views

Compute TxID of Bitcoin Transaction

Originally posted to StackOverflow but with no response. Thought I might have better luck here. I've successfully created a Bitcoin transaction in C# according to the protocol specifications. Here's ...
1
vote
2answers
232 views

Sending funds on same block of received funds. Confirm sending not received?

My question in quite conceptual: For creating a raw transaction, I just need the txid from the older transaction and the address to send it. Put the funds, the change, what's left is the fee. Sign it ...
4
votes
1answer
2k views

Pairing pattern of txids in merkle tree

For constructing the merkle tree txids are paired and hashed. ¹ But how are these txids paired? Does it happen chronologically or is there a certain pattern of pairing?
4
votes
3answers
2k views

Duplicate tx ids

Is there a quick and dirty way to detect all transactions whose tx-id can be found in more than one transaction since the genesis block? I would also like to see mutated transactions as well ...