Skip to main content

Questions tagged [transactions]

Transactions are signed messages carrying out the transfer or generation of bitcoins. They are broadcast throughout the Bitcoin network and, if accepted, integrated in the blockchain.

Filter by
Sorted by
Tagged with
0 votes
2 answers
52 views

Can I spend a P2PKH transaction via the script-path of P2TR?

Is it possible to use a P2TR script-path to spend a legacy P2PKH UTXO? I have heard it is possible to "wrap" a P2PKH transaction with P2SH. Maybe it would be possible to "wrap" the ...
Mike C's user avatar
  • 1
0 votes
0 answers
22 views

Sent bitcoin to my new bitcoin core wallet, but not showing up [duplicate]

I am SUPER newbie to this stuff, please help and be patient. I needed a place to send a large bitcoin transaction, and decided to impulsively download bitcoin core to receive it on my desktop. There ...
user152599's user avatar
1 vote
2 answers
52 views

Presign transaction with unconfirmed outputs

I am wondering whether the following scenario is possible. Any help is very appreciated. Alice and Bob are creating a (taproot) 2-of-2 multisig together. They do not trust each other. They intend to ...
Neo's user avatar
  • 53
1 vote
1 answer
62 views

Is it possible to combine two PSBTs while retaining the existing signatures?

What if I want to combine two PSBTs: one is signed by Alice’s private key, another one is unsigned. I want to take the input and output from the signed one, and combine them with the unsigned PSBT, ...
Jack Tsia's user avatar
0 votes
1 answer
30 views

Where is my btc? [duplicate]

Hi My friend bought BTC in 2017 on an exchange. He just recently went back into it and saw he had some btc in there. After taking a look we saw he bought some then sent some, problem is he doesnt ...
Andrew's user avatar
  • 1
-1 votes
0 answers
28 views

Hello everyone, so I am new here and was wondering if anyone could tell me the process it takes to cash out my Bitcoin [duplicate]

If I don't have the money to withdraw the Bitcoin is there any thing else that I can do I have a substantial amount
Kellie Colonna's user avatar
0 votes
1 answer
69 views

How to create and sign a segwit transaction using any npm pacakge

So I am using this NPM package ( https://www.npmjs.com/package/bitcore-lib ) to create and sign a Bitcoin legacy transaction locally and it was working fine for legacy. But when I tried to do the same ...
Sudhanshu Sinha's user avatar
0 votes
1 answer
42 views

Make signed transaction invalid after specified time

Is it possible to construct a valid signed transaction that will become invalid if it hasn't been included in a block before a specified height? Is there any opcode or other way to accomplish this? ...
f321x's user avatar
  • 3
0 votes
1 answer
33 views

Must input UTXO references be unique in a transaction, and/or unique in a block?

Must input UTXO references (txid + vout) be unique in a transaction, and/or be unique in a block? Put another way, is it a rule that UTXOs can be consumed piecemeal in transactions and blocks, so long ...
Lee's user avatar
  • 877
0 votes
0 answers
33 views

is this normal to have 22000 transcations in a testnet block of bitcoin

So I having this issue where in my local system when I hit getblock RPC method in a public node, for block number 2813986, I get around 22000 transactions in it, But when I check on blockstream.info/...
Sudhanshu Sinha's user avatar
1 vote
2 answers
129 views

Security of spending

New to Bitcoin. Looking at a tx structure, the input is signed to "unlock" it. What prevents an attacker from taking this and then spending as they wish? That is, Alice wants to send 1 BTC ...
IttayD's user avatar
  • 113
0 votes
1 answer
80 views

My problem is that I can't send my BTC

I sent a certain amount of BTC from the exchange to my trust wallet. Currently, the wallet shows that I have 0.8 BTC, but when I want to send some from this wallet to other addresses, it keeps showing ...
ze xing's user avatar
0 votes
2 answers
31 views

hashTypeCode/sighash flag example byte arrays for each type

Say I have this (randomly selected) transaction confirmed: txprev.txid: 64891cd6a9771adf75b343367850198633d2865df516533f523ce33fdf8c55c2 txprev.version : 01000000 txprev.input count : 01 ...
Lee's user avatar
  • 877
0 votes
1 answer
51 views

What is the hashTypeCode?

After a transaction is serialised ready for signature or signature verification, a 4 byte hashTypeCode must be added (step 9 here). As it's derived from a single byte, it has 256 possible values. What ...
Lee's user avatar
  • 877
0 votes
0 answers
18 views

Transaction will not broadcast: 0/ not confirmed not in mempool

Found wallet.dat file from 2013 Fee is high, blockchain is synced, and network is stable. Bitcoin core v27 I could use some direction or alternative solutions. The goal is to send bitcoin from this ...
Mike's user avatar
  • 1
0 votes
2 answers
66 views

How do pre-Segwit nodes interpret transactions containing Taproot OP_CHECKSIGADD?

When pre-Segwit nodes encounter blocks with Segwit transactions, they'll see them as "spent anyone can spend" transactions and so can validate them and move on to the next block. However, ...
Lee's user avatar
  • 877
0 votes
1 answer
34 views

What is an example usage for Script pseudo words?

I see the following on bitcoin.it: Pseudo-words These words are used internally for assisting with transaction matching. They are invalid if used in actual scripts. Word Opcode Hex Description ...
Lee's user avatar
  • 877
1 vote
0 answers
47 views

Why does OP_CHECKSIG/OP_CHECKMULTISIG remove the signature from the subscript?

When OP_CHECKSIG is used, all instances of the signature are removed from the subScript before it's included in a transaction template to be verified. See also step 3 in this excellent diagram. The ...
Lee's user avatar
  • 877
0 votes
1 answer
206 views

How do miners manually add transaction to a block template?

Here's my idea from the quick research: Miners use getblocktemplate RPC method. In the obtained block template, they remove some transaction and instead place in other transaction that wouldn't ...
pycan's user avatar
  • 111
0 votes
1 answer
30 views

How to estimate how long a transaction will take? [duplicate]

I have this transaction that's been pending for 2 days. mempool says estimate in several hours or more. For context, I am using blue wallet on ios and electrum on android. I imported the electrum ...
user avatar
2 votes
1 answer
101 views

Exact witness requirements for a segwit transaction with P2PKH and P2WPKH inputs

Segwit transactions can mix segwit and non-segwit inputs: Segwit transaction from mixed addresses (segwit and non-segwit) Can I build a raw segwit transaction with no segwit inputs? But how exactly ...
Lee's user avatar
  • 877
0 votes
1 answer
79 views

Why can I not find my transaction in the mempool?

I built a native segwit raw v2 transaction with the pwpkh addresses, and get the decoded transaction as the follows { "version": "02000000", "marker": "00", ...
Jack Tsia's user avatar
3 votes
0 answers
24 views

How to broadcast transactions in bitcoin regtest mode?

I build three nodes named A,B,C based on bitcoin-regtest image of docker. And these three nodes are in the same network which means they can communicate with each other. In node A, I use bitcoin-cli -...
Lawrence Yang's user avatar
3 votes
1 answer
147 views

Is there still a digital signature loophole in Bitcoin transactions?

I want to ask a question: Does the problem of repeating the value r still persist today in Bitcoin transactions? If so, how can I find transactions that contain this thing? I have research on how to ...
hisham yem's user avatar
0 votes
1 answer
49 views

Does new transaction in RBF has a txid different from the stuck transaction ? If yes , then isn't it basically creating a new transaction?

If I am sending a new RBF transaction to replace my stuck transaction and since the txid preimage has outputs value it will change the txid then why do we even care about RBF and nsequence < ...
Prabhat Verma's user avatar
0 votes
1 answer
105 views

How to convert signature to DER encoded format in python

vk = ecdsa.VerifyingKey.from_string(bytes.fromhex(pubKey),curve=ecdsa.SECP256k1) if vk.verify(bytes.fromhex(signature), bytes.fromhex(sha256_hash), hashlib.sha256, sigdecode=sigdecode_der) == True: # ...
aaravm's user avatar
  • 1
1 vote
0 answers
59 views

I send sats to the Bitcoin Core wallet I created some time ago without knowing what I was doing and now facing issues with withdrawal I am clueless

Some time ago, I set up a Bitcoin core wallet and sent funds to that wallet a few times thinking they'll be safely stored. Well, they are, and probably too safely. I have a hard time getting funds out....
Najn11's user avatar
  • 11
0 votes
0 answers
12 views

Can I send Bitcoin to my bank [duplicate]

Can I send my Bitcoin to my bank account I'm having trouble with idme verification
Rose Garcia's user avatar
-1 votes
1 answer
43 views

Questions about sidechain

Can coins from sidechains to be moved to mainnet and to be converted to bitcoin?Can you give me practical example of such transaction?
juhasa's user avatar
  • 1
0 votes
0 answers
17 views

Is ByteTrust and legit company [duplicate]

I would like to know if ByteTrust is legit! I have ask for a withdrawal from my account since 01/05/2024. First they ask for a deposit of 20% of the total sum (which I submitted) in order to take the ...
chino's user avatar
  • 1
0 votes
1 answer
34 views

i have not receive the transaction

i have transation asf : BITCOIN-PAYMENT HAS BEEN SUCCESSFULLY SENT: Transaction Detail: $750,500 Recipient Address : bxd94D0A4aE4F29bf408c48d8217fB53cb68a22Db3 Date: ...
SINAGA's user avatar
  • 1
0 votes
0 answers
56 views

Is there anyway to produce the transaction's hash created by sender?

It seems that when someone wants to send Bitcoins, he creates a transaction and the transaction_id will be transaction's hash. after block confirmation this id will be change and we can find out this ...
Mohsen Ghorbani's user avatar
0 votes
1 answer
44 views

Which SIGHASH type we have to append at the end of the trimmed transaction in OP_CHECKSIG

How to know which sighash type we have to append to the trimmed transaction at the time of input scripts verification, take reference from the below example: { "version": 2, "...
lladane's user avatar
  • 13
0 votes
0 answers
14 views

bitcoin transaction stuck on bitcoin.com [duplicate]

transaction id - https://mempool.space/tx/af483ce44a4605a9f13faf66d37e42f574377f7a7723ada51c01f4b98aebdcca I did transaction on bitcoin.com but 28hours ago transaction pending and money deducted I am ...
andrew's user avatar
  • 1
0 votes
0 answers
31 views

What are the steps to verify the inputs and outputs of a transaction. Excluding steps requiring blockchain access

{ "version": 1, "locktime": 0, "vin": [ { "txid": "1d8f38f6a5fbc7951568f64f3b9320a4ebd1053dce4641a5c5526d3cd7a805e1", "vout&...
lladane's user avatar
  • 13
0 votes
0 answers
50 views

Getting error "non-mandatory-script-verify-flag (Witness program hash mismatch)" when trying to send raw signed transaction

I'm trying to send a fairly simple segwit transaction with multiple input and outputs using bitcoinlib, here's how the simplified code looks like: from bitcoinlib.transactions import Output, Key, ...
Javier Villanueva's user avatar
1 vote
1 answer
37 views

Transaction Validation

What will it mean if the tranasaction input contains both signature script and witness, in case of scriptpubkey_type of p2sh or p2pkh, will it be invalid or valid ? As we use witness for SegWit ...
lladane's user avatar
  • 13
0 votes
1 answer
27 views

Does everyone have a transaction that used a layer 2 protocol?

I'm trying to identify different transactions, and I was wondering if anyone knows a transaction that uses layer 2 protocols so I can further inspect it?
hana's user avatar
  • 35
0 votes
1 answer
35 views

Are there any services that group multiple transactions together?

I discovered an interesting block that contains 10 inputs and nearly 200 outputs. Does this indicate the operation of a specific service, or is it simply a case of someone executing a large-scale ...
Moonwalker's user avatar
0 votes
1 answer
52 views

Error validating transaction: Transaction orphaned, missing reference (TESTNET)

RAWTRANSACTION HEX ...
Tepan's user avatar
  • 3
2 votes
1 answer
91 views

Why was there a jump in transactions per block in 2023?

I noticed that there was a jump in the number of transactions per block (from ~2000 to ~3000) in April-May 2023. The size of the serialised UTXO set also ~doubled from ~5GB to ~10GB over the following ...
Lee's user avatar
  • 877
0 votes
0 answers
7 views

Transaction is still On hold [duplicate]

I was made a transaction On 11th March at 9 00pm.on my visa card address.but my transaction is still On hold.please help me about this issue
muhammad farooq's user avatar
0 votes
1 answer
23 views

Question about bitcoin transaction minted time

Book "mastering bitcoin" 3rd edition, on page 26, there is one statement as following: "Approximately five minutes after the transaction was first transmitted by Alice’s wallet, a miner ...
fa william's user avatar
2 votes
2 answers
53 views

Can a spend before a timestamp condition be put on a Bitcoin UTXO?

How to make spending conditions of a UTXO in Bitcoin such that before a particular timestamp, say t, it can be spent only in one way and, after t, it can be spent only in another way.
Kirti Singh's user avatar
0 votes
0 answers
28 views

Bitcoin Transaction

How to code a Bitcoin transaction, including the address creation feature in Rust ? Which crates we have to use? Any blogs or resources would be very helpful
lladane's user avatar
  • 13
0 votes
2 answers
51 views

Is the USD amount the same for both sender and receiver?

I sent .004 bitcoin to someone. In USD the amount was $223. The receiving party said they received only USD $212. Is that possible?
user149648's user avatar
3 votes
1 answer
70 views

Creating a raw Segwit transaction from scratch and getting Signature must be zero for failed CHECK(MULTI)SIG operation

I am trying to create a Segwit transaction on TESTNET from scratch while referencing an online guide: https://medium.com/coinmonks/creating-and-signing-a-segwit-transaction-from-scratch-ec98577b526a ...
thotheolh's user avatar
  • 207
0 votes
1 answer
83 views

How to pick the block in which a transaction will get mined?

I am developping a bot for a customer with the following goals in mind: to inscribe a satoshi with the block number that it has been mined in (ordinal inscription) on every block. i think this is ...
Yann's user avatar
  • 3
1 vote
2 answers
107 views

Parsing Ordinals Transaction, the inscribed data part

I am interested in Ordinals transactions' raw hexadecimal format. The example transaction I'm using is TXID: 6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799. There are some parts of ...
paranoid's user avatar
0 votes
1 answer
86 views

How many nodes and edges does the UTXO-coinbase graph have?

Imagine a graph where the leaf nodes are the UTxOs, the intermediate nodes are spent TxOs (vout), the root nodes are the blockheaders and coinbase merklepairs, and the edges are the data required to ...
Lee's user avatar
  • 877

1
2 3 4 5
70