Questions tagged [transaction-id]
The unique identifier of a transaction corresponding to the sha256d hash of the transaction.
65
questions
-1
votes
1
answer
41
views
How is it possible that Bitcoin blocks store transaction data in 32-bit SHA256 strings?
What I mean is that a traditional Bitcoin block has performed 2 SHA256 iterations on the raw hex data of a single transaction. Then it is stored in the block. But since it has been SHA256'd, how can ...
1
vote
1
answer
45
views
How does a node get information from the TxID?
If I'm right, segwit TxIDs are composed of the SHA^2(256) hash of the non-segwit data of a transaction. But, how does another node use the TxID to obtain information about the transaction such as the ...
1
vote
2
answers
43
views
How are TXIDs determined from the raw hex data of a block? Also, what is the coinbase transaction?
Consider the hex data of block 170.
The coinbase TXID is this: b1fea52486ce0c62bb442b530a3f0132b826c74e473d1f2c220bfa78111c5082 and the second TXID is: ...
1
vote
2
answers
196
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
1
answer
71
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
1
answer
44
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
0
answers
98
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
1
answer
59
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
0
answers
27
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 - ...
0
votes
2
answers
771
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 ...
0
votes
2
answers
740
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
...
0
votes
0
answers
69
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 ...
2
votes
1
answer
185
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
1
answer
150
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":...
0
votes
0
answers
37
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.
4
votes
3
answers
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 ...
1
vote
1
answer
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 ...
3
votes
1
answer
392
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?
5
votes
1
answer
550
views
Duplicated hash values in mining reward
This transaction is contained in two MainChain-Blocks:
https://blockchain.info/tx/e3bf3d07d4b0375638d5f1db5255fe07ba2c4cb067cd81b84ee974b6585fb468
On Blockexplorer there is a note of this anomaly:
...
2
votes
1
answer
356
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
2
answers
1k
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
0
answers
171
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
1
answer
94
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
1
answer
301
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:
...
1
vote
3
answers
825
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 ...
6
votes
2
answers
355
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 ...
5
votes
2
answers
337
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":
...
8
votes
2
answers
10k
views
How do I calculate the txid of this raw transaction?
I'm trying to parse a bitcoin block using Python.
I called getrawtransaction over JSON-RPC. I got this:
...
2
votes
1
answer
227
views
Ripple: How to calculate transaction ID (TXID) [closed]
Given a signed Ripple transaction, how do I calculate the txid?
0
votes
1
answer
220
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
1
answer
53
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 ...
0
votes
1
answer
328
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
1
answer
116
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 ...
3
votes
1
answer
90
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
1
answer
441
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 ...
23
votes
1
answer
4k
views
What is Transaction Malleability?
The Bitcoin exchange MtGox has stated in this press release that "transaction malleability" caused them to stop sending bitcoins. A recent question asked if it really is an issue. But what is ...
-2
votes
4
answers
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
1
answer
634
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
1
answer
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 ...
0
votes
1
answer
582
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?
0
votes
1
answer
525
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}]' '{"...
1
vote
1
answer
499
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
1
answer
169
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: ...
5
votes
1
answer
438
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?
3
votes
1
answer
3k
views
What is the transaction ID?
I have sent a Bitcoin amount to someone who wants the transaction ID. What is this? Is it the hash shown on the LHS of the transaction?
0
votes
1
answer
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
1
answer
86
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
1
answer
897
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
1
answer
752
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
1
answer
881
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?