Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [transactions]

This tag should be used for questions related to transactions. Transactions are signed messages regarding the transfer or generation of bitcoins. They are broadcast throughout the Bitcoin network and, if accepted, integrated in the blockchain.

1
vote
0answers
9 views

How does copying main stack prevent malformed unlocking scripts vulnerabilities?

https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch06.asciidoc In the original bitcoin client, the unlocking and locking scripts were concatenated and executed in sequence. For security ...
1
vote
1answer
23 views

Have there been any examples of people manipulating transactions in a way that waiting for more than 1 confirmation would avoid?

A lot of bitcoin exchanges require some minimum amount of confirmations before they consider money deposited. Is there any evidence that this actually does anything? Has someone ever before ...
1
vote
2answers
34 views

How to cheaply melt many micro UTXOs?

I know this was probably brought up before but I cannot find any good resources on some potential, at least theoretical way of achieving this. So basically I have a lot of UTXOs whose value is ...
1
vote
2answers
36 views

Bitcoind does not like ECDSA (r, s) pair produced by OpenSSL

I am writing transactions manually and have stumbled across a rather bizarre situation. Only one in a few of the transactions I broadcast to bitcoind is accepted, otherwise I get a REJECT_NONSTANDARD ...
2
votes
1answer
16 views

BIP 44 is scanning external chain really enough?

When reading the BIP 44 proposal I stumbled upon this paragraph about address discovery: We scan just the external chains, because internal chains receive only coins that come from the associated ...
0
votes
0answers
28 views

transfer money with php api

How can i transfer a money with php from one bitcoin wallet to another? I've search enough on stack, i know i can use third party api like blockchain.com api & block.io api , but they do not let ...
0
votes
1answer
19 views

gettransaction cannot get address where it send from

Hi i have test few time with gettransaction method, it seem only show full detail about transaction when send inside node. But if i send from another address outside my node, gettransaction only show ...
0
votes
1answer
28 views

Can i use one pair public and private key for all transactions?

Can I use one pair public and private key for all transactions, digital signatures and wallet addresses? In the other hand, I have a private key and want to sign all transactions and have a public key ...
0
votes
1answer
13 views

Watch only address not update balance

After adding watch only address to my bitcoin core and perform some transaction that make my watch only address balance to 0, but when i run getbalance and listaccount with watch only is true, my ...
0
votes
0answers
16 views

My BTC transaction is confirmed but not yet showing

i have enter the correct address as i read the QR code at that time it showed me in reciving payment done but not yet shown
0
votes
0answers
17 views

Create transaction with bitcoin core

Currently i'm working with bitcoin-qt for a while and now i have some issue that i wanna ask. -Is there a way to create transaction then submit it to network from wallet that NOT inside this bitcoin ...
-1
votes
1answer
30 views

How to send small amount of BTC to thousands of addresses?

I'd like to create a pool of addresses using Blockchain.com API. But because of the gap limit on unused addresses I want to transfer minimal amount (ideally 1 Satoshi) and without any fees. What's the ...
0
votes
1answer
27 views

Electrum: Transaction Error with Restored Wallet

I am trying to import my bitcoin privatekey to my electrum wallet and use that wallet to create transactions. I restored the wallet using the command electrum restore <private key> The restore ...
1
vote
0answers
8 views

Need help on building transaction with go(lang)

i try to send a transaction to bitcoin testnet for about 3 days now but i can't success... Probably someone can help and give me some example code. What i try to do: I'm writing some payment ...
1
vote
0answers
13 views

Transfer amount on blockchain larger than was sent from wallet [duplicate]

I sent some BTC from a hardware wallet last year. The wallet shows a sent amount of 0.09302 BTC but when I look at the transaction id on blockchain.com it shows two amounts. 0.282 BTC unspent and 0....
1
vote
1answer
24 views

what questions should i ask when deposing a client about hidden bitcoins

I am deposing a client's spouse about bitcoins they have mined since 2013. What relevant questions should I ask to ascertain number of coins mined and transactions concerning those coins, such as ...
0
votes
1answer
35 views

How can someone get my private data (such as email, name, IP …) from bitcoin transaction?

I am curious about privacy of bitcoin transactions. I heard that if you are good enough at hacking, you can get private data from bitcoin transaction, or associate someone to transaction. How is it ...
2
votes
1answer
48 views

Why are some public keys prefixed with 0x00?

ECDSA public keys seem to always start with 0x02/0x03/0x04/0x05 1, followed by either 32 bytes of 64 bytes. However, I encounter some public keys prefixed with 0x00. For example, the source output ...
0
votes
0answers
29 views

Transaction with Go(lang)

New to Bitcoin, so please forgive my ignorance... I'm trying to run a transaction on the bitcoin testnet from a go-lang application, but can't seem to get this working. I get an error "-25: Missing ...
1
vote
0answers
23 views

How can I calculate an address’s balance with “total recieved”?

I want to calculate balances of my customers with a process , total received(I get it via api provided by a Blockchain explorer)-total_sent(I store transactions my customers make) but as you know, ...
2
votes
1answer
14 views

Can miner pay transaction fee with coinbase (if maturity is disabled)?

If I understand correctly, the first transaction in a block may collect transaction fees (difference between inputs and outputs) from the following transactions in the same block; and subsequent ...
2
votes
1answer
39 views

Upper bound on the Bitcoin transaction size [duplicate]

Assume that I want to store some arbitrary data on the Bitcoin blockchain via a single transaction. Question: Is there any upper bound on the size of data I want to send via a single transaction? -...
0
votes
0answers
21 views

Bitcoin address switched and delay receiving money [duplicate]

I sent bitcoins to my Electrum wallet but they have not been shown after 12 hours. Why the delay? Now I see that my Electrum wallet has switched address on receiving the figs, does it matter?
1
vote
1answer
37 views

How to send bitcoin programatically using API? Bitcoin Transaction. (Without Setting Node) [closed]

Want to send BTC from one address to another address without using JSON-RPC. Followed and used: https://bitcore.io/api/ https://www.npmjs.com/package/bitcoin-transaction/v/1.1.1 2nd:bitcoin-...
1
vote
1answer
20 views

MultiSig address transaction high fee with no change

I was testing MultiSig transaction on testnet with raw transactions. I sent a transaction of 0.0012 from MultiSig 2-2 to a bitcoin address: https://live.blockcypher.com/btc-testnet/tx/...
1
vote
2answers
33 views

Adding Comment on Bitcoin Transaction (After Sent)

Is it possible to add a comment to a bitcoin transaction after it has been sent?
1
vote
0answers
13 views

Moving 'Sent' Transaction from Default Account

I would like to move a sent transaction from the default account to another account held on the same wallet. I am using version 0.16 so I still have the depreciated accounts functionality. I'm not ...
0
votes
2answers
30 views

Bitcoin MultiSig balance not showing under listaccounts

I added 2-2 MultiSig address into wallet via bitcoin cli (Testnet) addmultisigaddress <'["key","key"]'> [account] 1 key of current wallet and other public key from different node wallet. ...
2
votes
1answer
42 views

Where is the pubkey for segwit inputs?

Normally when you spend an input, you reveal your public key and signature so that ECVERIFY can be done. I look at segwit raw transactions and cannot find the public key inside them, where do they go?...
2
votes
1answer
33 views

Why Bitcoin uses UTXO model? [duplicate]

I know what it means. But I can't understand why Bitcoin decided to make such a model, where you have no balance, only unspent transaction outputs. And isn't the same thing as having the balance? I ...
0
votes
0answers
8 views

when does a transaction get registered / included in a block [migrated]

I want to know when does a transaction gets registered in a block ? Is there any queue type of structure where the transactions get stored before getting included in a block by miner ??? As in let's ...
0
votes
1answer
25 views

RPC command sendfrom is giving Transaction too large error

I made discord bot for fun with tips, soak and rains of altcoin. When I try to send large amount through the same bot. It is giving me "Transaction too large" error. I found the reason here: ...
0
votes
0answers
37 views

BCH Send transaction failed: Missing inputs 25

I am using Bitcoin Cash JS to create a transaction, and my code is as follows: let BITBOXCli = require('bitbox-cli/lib/bitbox-cli').default; const explorers = require('bitcore-explorers') const ...
0
votes
1answer
22 views

What is the relationship of ckeypool and ckeystore?

In the source, there are ckeypool and skeystore. I wonder what is the relationship of them and why need both.
1
vote
1answer
36 views

error code: -26 error message: 16: mandatory-script-verify-flag-failed (Signature is found in scriptCode)

I am building a simple p2pkh transaction using libbitcoin. Trying to pass it through my regtest node. I am getting the following error message. error code: -26 error message: 16: mandatory-script-...
1
vote
1answer
27 views

Multiple input address to a single output address in one transaction?

If I have Wallet A with one address (call it A1) and Wallet B with 2 addresses (B1, B2), can I send BTC from A1 AND B1 to B2 in a single transaction thus incurring a network fee only once?
1
vote
0answers
33 views

Can't sign a transaction correctly

The problem was that I tried to sign inputs and add outputs and other info into transaction. The last result hexRawTx : ...
0
votes
1answer
19 views

Which values are GetValueIn() and GetValueOut() calculate?

In Transaction.cpp, there is a function CAmount CTransaction::GetValueOut() const. In Coins.cpp, there is a function CAmount CCoinsViewCache::GetValueIn(const CTransaction& tx) const. My ...
1
vote
1answer
35 views

what does it mean when a transaction contain multiple inputs?

Just like https://www.blockchain.com/btc/tx/230636ab4f285ca5e9f4c32dbae581c10d491a99493d8733c594af780f1edc5e what does it mean when a transaction contain multiple inputs? as i know, an transaction ...
1
vote
0answers
17 views

Separating user accounts in a wallet for a large scale web app

I'm planning to implement a web platform that maintains user wallet accounts and generally acts as a web wallet. They can deposit, withdraw and transfer coins.The number of accounts should be in ...
0
votes
1answer
19 views

How to determine the coin amount needed for vin?

At first I believed the coin amount of vin just based on what the send thinking. but after read some source code, it seems the coin amount of vin calculated from vout. Is anyone clear about this and ...
-1
votes
1answer
16 views

Bitcoin transfeered to wrong address

I'm new to copay. I just transferred money to a bitcoin address but for some reason, Copay transferred it to my own account. I had to pay a miners fee for this which cost a lot of money. How can I ...
0
votes
1answer
10 views

When do scripts executed?

Can anyone explain when does a script executed exactly? There are several information about "how scripts are executed" but no information about "when".
1
vote
2answers
156 views

Bitcoin transaction fee calculator

I'm new to bitcoin. Is there a website where I can type amount of BTC I want to send and type of transaction - Urgent, Normal, Economic and they give me the price in USD how much the transaction fee ...
1
vote
0answers
12 views

Locked received coin [closed]

This is a picture of my reminato deposit history. Hello,i received btc on my reminato wallet,the btc did not credit but shows in transaction status lockef
2
votes
1answer
33 views

Which serialization format the transactions use?

I'm not very familiar with low-level structures, so I would like to know if bitcoin protocol follows a standard on how a bitcoin transaction data is serialized and sent over TCP. Does it use any of ...
0
votes
0answers
26 views

Total how many kinds different spot can a new TX go when the TX entering a mempool? When ,why and how they leave the spot?

The detail of mempool is very important and complex. Is there anybody has a summary about after a new created tx just passed node's validation, there are how many different kinds of spot the tx to be ...
0
votes
2answers
39 views

Can you explain to me how this transaction work?

I was looking at bitcoin rich list and found binance cold wallet For this transaction in particular https://www.blockchain.com/btc/tx/afb6523e4f5f060a076dcc2f8e5eb7a1aa58a3831456c62da946e2b5a41c24f0 ...
1
vote
1answer
24 views

How come Merkle tree is more efficient when tree branches are not stored in blockchain?

Suppose we have 8 transactions in a block X as follows and we know every node's hash value of the whole Merkle tree (that is, including intermediary nodes such as 45). Then if someone claims ...
0
votes
1answer
43 views

Is there any format change in block #498557

I wrote some python code to parse the block data, all the result are fine, until block01095.dat, block #498557. The code to deal with Transaction is: class Tx: def __init__(self, blockchain): ...