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
0 answers
48 views

Bitcoin - funds stolen

Help!!!!! my bitcoins with bitcoin core were stolen. The computer on which the bitcoin was located was turned off and not connected to the network for six months, after turning it on, an update began, ...
user avatar
0 votes
0 answers
17 views

Bitcoin core -кража средств [closed]

помогите!!!!! у меня были украдены bitcoin с bitcoin core.Компьютер на котором находился bitcoin был выключен и не подключен к сети на протяжении полу года, после включения конечно началось обновление ...
user avatar
0 votes
0 answers
53 views

What is the role of "Invalidateblock" RPC command and are there any possible transaction validation issues with regard to this?

I have been testing various RPC commands on bitcoin. The "RPC API Reference" page well demonstrates almost all of the commands. But by reading the source code (bitcoin v27.0), I noticed that ...
paranoid's user avatar
  • 177
0 votes
1 answer
54 views

Is there a Bitcoin Core RPC that creates a block including merkle root and coinbase based on my address?

Trying to get some commands that can construct the block body for me, and then output that along with the Merkle root, based on an input address. It's fine if they are done as two separate commands, ...
CoinZwischenzug's user avatar
3 votes
1 answer
145 views

Can we cancel a Bitcoin transaction like an Ethereum transaction with same nonce but higher gas fee?

I need to use BTC transactions to buy some shares. If the shares are full (eg. it only counts on first 100BTC), can my unconfirmed transactions be cancelled? Because even if they are mined later, they ...
newgate92's user avatar
0 votes
1 answer
84 views

Is there a good intend behind the scripting system bitcoin uses for transactions?

From https://en.bitcoin.it/wiki/Script : "Scripting provides the flexibility to change the parameters of what's needed to spend transferred Bitcoins. For example, the scripting system could be ...
Marstechnisch's user avatar
3 votes
1 answer
130 views

Did Segwit (BIP141) eliminate all txid malleability issues listed in BIP62?

There are 9 malleability issues listed in the BIP62, but doesn't seem like BIP141 addressed all of them. If not, why not and why is it not an issue for Lightning or other DoS vectors? What is exactly ...
WhoIsNinja's user avatar
1 vote
1 answer
197 views

How does Bitcoin Wallet know someone has sent you some money? Does it keep scanning blockchain continuously for transactions having your Public Key?

How does my wallet know that someone sent me some money as soon as the block containing the transaction gets mined? Does my wallet check for new blocks on the blockchain continuously 24x7x365? And ...
user93353's user avatar
  • 103
0 votes
0 answers
17 views

How can a withdraw be made on a frozen account on a platform? [duplicate]

HTTPS://www.xk8868.com. Aka: Bcokcoins.com There is funds in this account and I would like to withdraw, it is either frozen or fake. How can I make a try at withdrawal. Do I need to convert USD to ...
Bilog75's user avatar
0 votes
0 answers
45 views

How to transfer a Bitcoin-core wallet to new computer

what is the best way to transfer my Bitcoincore wallet? it has a wallet.dat backup file but what do i do with it? do i simply download the app on the ne PC and copy that file onto it?
Dor Tzoobery's user avatar
0 votes
0 answers
23 views

How do transactions on the BTC blockchain get processed [duplicate]

From what I understand, miners deploy their GPU's and whatnot to solve complex mathematical problem and when they do, that doing is called discovering a block and thus they get rewarded with BTC(...
Anuj Sanghvi's user avatar
0 votes
1 answer
50 views

Bitcoin Core balance differs from that shown by mempool.space

I restored a wallet.dat created with version 22.0. In Bitcoin Core 27.1, it now shows a balance of 1.16387212. My address 39L1wGdaPemy8vgQdz7CNU3QBDXthurLb7 shows a balance of 1.15278884 on mempool....
Pavel's user avatar
  • 11
-1 votes
2 answers
35 views

coinbase script arbitrary data in coinbase input

01000000 .............................. Version 01 .................................... Number of inputs | 00000000000000000000000000000000 | 00000000000000000000000000000000 ... ...
meanthatmuchtoyou's user avatar
0 votes
1 answer
65 views

Please explain this weird bitcoin transaction

I am an EVM blockchain engineer and I started learning Bitcoin few days ago. this is my friend's address of bitcoin wallet: bc1pfatr7dvkz65y6p6xxv84anesttxc7q9etez8em5uyvll5kk8atpqrx3r2s and what ...
Matija's user avatar
  • 1
1 vote
2 answers
224 views

How do I know which UTXOs are safe to spend?

When we do a transaction, we pick UTXOs we want to spend. Sounds simple, just pick UTXOs with total value >= the amount you want to spend. But then inscriptions, rare sats etc. come into play. Now, ...
Maxgmer's user avatar
  • 159
0 votes
0 answers
34 views

Manual Bitcoin transaction assembly: which output type should be used and how to compose a segwit field?

I try to sign the following transaction: ...
WWTLF's user avatar
  • 101
0 votes
3 answers
54 views

Multi-Sig Transaction not broadcasting error - Script evaluated without error but finished with a false/empty top stack element

Trying to produce a multi-sig transaction. I have this so far. Sent funds to : 2NDiRgpVVQ3CtYMi962myja69pFW8VSJ9Yp https://mempool.space/testnet4/address/2NDiRgpVVQ3CtYMi962myja69pFW8VSJ9Yp I guess ...
mathis1337's user avatar
1 vote
2 answers
39 views

Sparrow with Keystone Pro and Bitcoin Core

I originally set up Sparrow with a Keystone 3 Pro, and have been using public endpoints. Recently, I set up a Bitcoin Core node in my house. I can successfully connect Sparrow to the node, but all ...
Alement's user avatar
  • 43
1 vote
1 answer
97 views

How Does the Blockchain Recognize Locked UTXOs in a PSBT if the PSBT Isn't Stored On-Chain?

I'm currently exploring the use of Partially Signed Bitcoin Transactions (PSBTs) and have a question about the locking mechanism of UTXOs during the signing process. I understand that as a first ...
Nerses Asaturyan's user avatar
0 votes
1 answer
37 views

Can a Second Signer Add Data to a Bitcoin PSBT Transaction?

I'm working with Partially Signed Bitcoin Transactions (PSBTs) and have a question about the capabilities of secondary signers in the signing process. I understand that in a multi-signature scenario, ...
Nerses Asaturyan's user avatar
0 votes
1 answer
28 views

Handling UTXOs in Partially Signed Bitcoin Transactions (PSBTs) and Potential Double-Spend Scenario

I'm working with Partially Signed Bitcoin Transactions (PSBTs) and have a question about the behavior of transactions when the same UTXOs are involved in multiple transactions. Suppose I have a ...
Nerses Asaturyan's user avatar
0 votes
1 answer
43 views

Can You Create a Time-Locked PSBT in Bitcoin?

I am exploring the capabilities of Partially Signed Bitcoin Transactions (PSBTs) and am particularly interested in incorporating time locks. Is it possible to create a PSBT that includes a time lock ...
Nerses Asaturyan's user avatar
0 votes
1 answer
62 views

Handling Multi-Signature Transactions with PSBT in Bitcoin

I'm currently working with Partially Signed Bitcoin Transactions (PSBTs) and trying to understand the best practices for handling transactions that require signatures from multiple parties. ...
Nerses Asaturyan's user avatar
1 vote
2 answers
121 views

SIGHASH_ANYONECANPAY mediated tx modification

If Alice broadcasts a tx with an input tx_in1 and output tx_out1 signed with SIGHASH_ALL | SIGHASH_ANYONECANPAY, it lives temporarily in the mempool. Bob chooses to be a part of the crowdfunding and ...
b01001's user avatar
  • 13
0 votes
2 answers
78 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
23 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
99 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
86 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
37 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
0 votes
1 answer
89 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
50 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
  • 35
0 votes
1 answer
46 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
  • 958
0 votes
0 answers
39 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
137 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
99 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
40 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
  • 958
0 votes
1 answer
61 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
  • 958
0 votes
0 answers
26 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
74 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
  • 958
0 votes
1 answer
38 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
  • 958
1 vote
0 answers
50 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
  • 958
0 votes
1 answer
320 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
38 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
124 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
  • 958
0 votes
1 answer
124 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
34 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
157 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
57 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
177 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
69 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

1
2 3 4 5
70