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.

2
votes
1answer
37 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
35 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
30 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
71 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
21 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
26 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
17 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
15 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
3answers
1k 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
13 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
76 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
2answers
46 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
39 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
44 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): ...
0
votes
2answers
41 views

How is a transaction not present in 2 or more solved blocks?

If node A picked 10 unconfirmed transactions to solve in a block and node B picked the same 10 transaction in A plus another 10 transactions to solve. If node A finished solving the block informed all ...
0
votes
1answer
34 views

Retrieve money back from wrong prefix address

Normally, p2pkh address is generate by Base58(Prefix+ PublicKeyHash + Checksum), and prefix is set 0x00. What if by accidently, prefix is set 0x05, then the address prefix becomes 3, which becomes ...
1
vote
1answer
24 views

Withdrawal transaction made 8 hours ago still has not had any confirmations [duplicate]

I made a deposit into a bitcoin exchange on 2018-09-11 06:57:41. The exchange then made a withdrawal transaction on 2018-09-11 13:19. The time is now 2018-09-11 21:55 but the transaction still has ...
0
votes
2answers
96 views

How does blockchain technology handle the actual transaction data?

My understanding of how a transaction is secured in blockchain, especially in bitcoin, is that the output of transaction data is locked to the recipient's address (a shorter version of his public key)....
1
vote
2answers
110 views

What is the purpose of the script like RETURN PUSHDATA(36)(…)

The example is in here: https://www.blockchain.com/btc/tx/63910fdfa84db96bd1f28fead4c32f97388d5368c10059d035aac3c5f72fcdc0 Actually, there are two outputs DUP HASH160 PUSHDATA(20)[...
0
votes
2answers
42 views

Light clients transaction verification

How does a light node know which block its transaction got included in? Say a light node sends out a transaction spending its UTXO. Does it get some sort of notification when its transaction is mined ...
0
votes
2answers
81 views

How to initiate a transaction with address and privateKey using nodejs

I have a list of bitcoin addresses and private keys, I need to write an automation script which checks for the balance in each address and transfer the balance funds to another bitcoin address. My ...
1
vote
0answers
29 views

Transfer wallet coins without syncing [duplicate]

I have not synced my wallet in 2 years and I would like to cash out my coins without syncing for 2 weeks or more. I do have wallet backup. Is it possible to use backup wallet somewhere online so my ...
0
votes
3answers
59 views

How to get the addr from this transaction

https://www.blockchain.com/btc/tx/2ccc3f59d28c709770a8bc478b112e10feda4bf55197c2e48deaa0eb6bca0311?show_adv=true The SCRIPT in the transaction is: DUP HASH160 PUSHDATA(20)[...
1
vote
0answers
15 views

Btc unconfirmed in recievers block chain wallet from last 9 days [duplicate]

I sent btc to the address on 27 th august 1PnNad5w5LDFuUudVMnrb7tAVP4U7jUHyr But in his blockchain wallet it showing still pending. What to do now.suggest me please txid ...
0
votes
1answer
57 views

How to specify the right input and output to be signed for SIGHASH_SINGLE

For my understand, when building a new TX, need to produce a new scriptSig for the TX; and need add a sigHash code at the end of the TX. If the sighash type is SIGHASH_SINGLE, for a TX with multiple ...
0
votes
1answer
25 views

How to determine what's mine?

I for example own 10 BTC does that mean, in some Blocks in the valid part of the blockchain is written, that I received at some point in time a certain amount of BTC? How do I prove that the ...
1
vote
1answer
17 views

Given N addresses, Is there any way to know how many address are linked to a single entity?

Let's assume that we have N wallet addresses - Addr1, Addr2,.... AddrN, Is there any way to know how many of these addresses are owned by a single entity on the considerations that there's no direct ...
1
vote
1answer
51 views

How OP_CHECKSIG knows the source of sig in pay to pubkey hash transaction

https://en.bitcoin.it/wiki/Script#Standard_Transaction_to_Bitcoin_address_.28pay-to-pubkey-hash.29 The last step of pay to pubkey hash transaction is to check the signature of the previous ...
1
vote
3answers
47 views

How to handle multiple inflight transactions from same address?

How are multiple inflight transactions from the same address handled? From my understanding, there are two options depending on how change is handled, but both seem to have substantial drawbacks: If ...
-1
votes
1answer
33 views

How to verify if money was sent

My friend was supposed to send me $800 last night. He says he sent itAs that make up ever see this as he sucked bitcoin but it doesn’t show where it was sent. And my account which is new and doesn’t ...
0
votes
2answers
33 views

Why most of pubkeys in the first batch of blocks in blk00000.dat are different

For example: the pubkey in the first 3 coinbase's output are 04678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5f ...
0
votes
1answer
26 views

How can I get whole info about tranasaction whose outputs are spent?

I use RPC method getrawtransaction to get whole info about transaction. But if I rigth understood It works only for transaction whose contains at least one unspent output. How can I get whole info ...
0
votes
1answer
67 views

Error when sending transaction: “Signature is found in scriptCode”

I'm trying to send transaction with scriptSig: OP_PUSHDATA<Sig> OP_PUSHDATA<Data1> OP_PUSHDATA<Data2> OP_PUSHDATA<Data3> OP_PUSHDATA<RedeemScript> But I get error: ...
0
votes
1answer
28 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
1answer
84 views

Sending P2SH transaction with non-standard script

I'm trying to send transaction with script: ScriptSig: OP_PUSHDATA<Sig> OP_PUSHDATA<Data1> OP_PUSHDATA<Data2> OP_PUSHDATA<Data3> OP_PUSHDATA<RedeemScript> Since the ...
0
votes
1answer
54 views

Why the PUSHDATA is 65 in the first transaction in blk00000.dat?

https://www.blockchain.com/btc/tx/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b?show_adv=true The raw script is in the first transaction is: ...
0
votes
2answers
55 views

Is there any python library could be used to decodescript in output

For example decode the ScriptPubKey like 4104678afdb0fe5548271967f1a67130b7105cd6a828e03909a67962e0ea1f61deb649f6bc3f4cef38c4f35504e51ec112de5c384df7ba0b8d578a4c702b6bf11d5fac to some data like ...
0
votes
1answer
124 views

Why a Bitcoin transaction that refers its own output as an input is computationally infeasible?

It was asked to us as in an assignment : Explain why it is computationally infeasible for anyone to generate a Bitcoin that refers its own output as an input. Inspite of searching throught various ...
2
votes
1answer
37 views

Why some transactions disappear from the mempool?

Just before block 537562, I had the following transactions in my mempool: 'a4ca904361952c8a27bcf1fd36e5bc8ccdc5d42ceb72cfba60c017fb9cbbb0e5' '...
0
votes
1answer
50 views

Cryptocurrency: check if transaction is viable masternode output

I'm developing a tool for masternode automization similar to https://gincoin.io . I'm trying to figure out how to decode if transaction is viable for a masternode. From what I know the ...
-2
votes
1answer
29 views

OK, I know about the anonymity of cryptocurrency, but

Normally I'd just use Browser History and things would be finished, but a little kid poured Apple Juice all over my last laptop. Thus, I have a new computer. I bought the BTC through Coinmama.com. ...
4
votes
1answer
283 views

What is “canonical transaction ordering” that Bitcoin ABC is considering implementing?

What exactly is "canonical transaction ordering", that Bitcoin ABC is considering implementing? How does it help exactly, and why is it so controversial? Could it be adopted in Bitcoin Core? Why yes/...
1
vote
1answer
44 views

May it be a risk to use the origin as the change address?

Follow scenario: The balance of my origin address is 1 BTC. I'm transfering 0.1 BTC to a shop where I'm buying some goods, my wallet returns the change to my origin address. Now my origin address has ...
1
vote
1answer
80 views

Deposit flow, user balances

I am a working on website where people should be able to deposit BTC to thier account balances and then do something with these balances. I figured out that I need deterministic wallet and generate ...
2
votes
1answer
48 views

How many transactions per block on Ardor? Plans for scaling?

How many total transactions are there in each Ardor block? Out of the total transactions per block, how many are child chain transactions? What are the limits and what types of scaling solutions are ...
0
votes
1answer
48 views

Can an invalid Omni transaction be confirmed by bitcoin miners?

Is it possible that a well formed Omni transaction (with valid Omni layer data) be valid for Bitcoin miners while being invalid for the Omni token being used ?
0
votes
3answers
57 views

If I invest £2,000 in bitcoin and the price goes down, can I lose more than my investment. Could i Have to sell my house to pay back the losses?

If I invest in Bitcoin is it possible to lose more than my initial investment ? In other words if the price goes down substantially, to well below that of when I initially invested; is it possible ...
0
votes
1answer
14 views

Mining when there is no transaction [duplicate]

what happens when there is noone doing transactions and miners mine the blocks? Can they mine empty blocks? And how it works when there won't be any hash in empty block or there is a hash? Thank you
0
votes
1answer
20 views

Number of transactions in block

why sometimes block has 16 transactions and sometimes over 2000? I checked it on https://blockexplorer.com/blocks. Thank you