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.

0
votes
1answer
26 views

“tx” array inside blocks contains transactions hashes?

When I use the "getblock " command on my bitcoin core client, it returns, beside other things, an array called "tx" with hundreds of hashes. Are these the individual transactions hashes or something ...
0
votes
2answers
34 views

Bitcoin: can transaction and its parent be in the same block [duplicate]

I'm trying to understand bitcoin transactions verification specified here. Item 10 states, that parent transaction (mentioned as input for current) should be searched not only in already confirmed ...
1
vote
1answer
29 views

Bitcoin Code and Transaction Model [closed]

I'm Studying bitcoin from a while, focusing transaction model and I'm looking to extract transaction model only to try out some experiments to make the structure better from the current one. If anyone ...
6
votes
1answer
99 views

Can you create empty Bitcoin transactions?

Is it possible to create Bitcoin transactions of zero value, or in other words sending 0 bitcoin to an address?
2
votes
2answers
49 views

Can you send a Bitcoin transaction to a Bitcoin address that does not exist?

Say I arbitrarily pick an address "abcdefg" (for example's sake), which does not exist in the network; no one "owns" the address. What happens when I attempt to make a transaction to this address? ...
0
votes
1answer
24 views

Can you create multiple transactions per block in chronological order?

Say I buy a coffee mug, a box of tea bags, and a half liter of honey in the span of five minutes using Bitcoin. Since the Bitcoin network creates a block every ten minutes or so, these transactions ...
0
votes
1answer
22 views

are all nodes validate each transaction added in a new block?

are all nodes validate each transaction added in a new block? Because what if someone said I have completed block and added invalid transaction? and if others node just accepts a block without ...
0
votes
1answer
22 views

Can you create Bitcoin transactions from one address to the same address?

So if I wanted to send 1 satoshi from a Bitcoin address to the same address... Would this be possible? Would the transaction be recorded on the blockchain?
0
votes
0answers
9 views

Is there a service that allow us to wire moransney using bitcoin?

I got bitcoin. My traffic suppliers accept bank wire. We're talking about $20k at a time stuff. Is there a service that allows me to just pay with bitcoin and get someone else to transfer fund there.
1
vote
1answer
206 views

If i pay 0.001 to cloud mining site such az minezone.io or bitbase.club or 99quick.cloud

If i pay 0.001 to cloud mining site such az minezone.io or bitbase.club or 99quick.cloud, they give my balance or no
0
votes
1answer
36 views

how to achieve transaction info of all the blocks

I use https://chain.api.btc.com/v3/block/date/20151215 to achieve list of blocks and also use https://chain.api.btc.com/v3/tx/0eab89a271380b09987bcee5258fca91f28df4dadcedf892658b9bc261050d96?verbose=3 ...
3
votes
1answer
115 views

What exactly is hashed and signed in a segwit transaction

I have an unsigned raw segwit transaction on my regtest network: ...
0
votes
0answers
35 views

My whole Copay Wallet has passed to unconfirmed :/ [duplicate]

Crazy thing with Copay: This is it, except that my last transaction is 11$ not 600!! If someone know the bug and how to correct it... I'm all ears!
0
votes
1answer
47 views

Instant BTC to USD transfer? [closed]

is there a way to have BTC sent from somewhere to my wallet and then that amount is immediately transferred to USD? I know that Coinbase offered this once but they have since removed that feature. I ...
0
votes
3answers
56 views

Reject or refuse to relay a valid transaction

Under the Bitcoin protocol, how much control does a node have on how a transaction is dealt with once received? Can a node reject a valid transaction? Can a node refuse to relay a valid transaction to ...
1
vote
1answer
63 views

What the difference between SendToAddress and (CreateRawTransaction + SignRawTrasaction + SendRawTransacrion) RPC methods?

Can I create, sign and broadcast transaction using sendtoaddress RPC method? And what the between sendtoaddress and (createrawtransaction + signrawtransaction + sendrawtransaction) RPC methods?
0
votes
1answer
42 views

UTXO transaction consolidation?

As a relatively new user, I have only generated a handful of public addresses. Usually, to move to a newly discovered and preferred wallet. I’ve only recently learned that a single seed phrase can ...
0
votes
1answer
50 views

How miners validate each transaction?

There is a locking to each transaction? and sender also attach his digital signature to that transaction? When this transaction comes to miners then how they validate this transaction is valid. ...
0
votes
2answers
50 views

Sent to wrong bitcoin address [duplicate]

Need help I sent my bitcoin cash at the atm to the wrong bitcoin HOW can I use this address to send to the address I want it the money on !!! NEED HELP NOW
0
votes
1answer
37 views

Double transaction on same hash (transaction ID) - Loosing 0.01 btc each time [duplicate]

Each time I send some btc to another bitcoin wallet there is a second transaction on the same transaction ID (hash) and each times i am loosing around 75 USD. You can see by yourself here; https://...
0
votes
3answers
136 views

How address balance is calculated?

It does not seem practical to scan every transaction on a block chain to determine the balance for an account. As the block chain grows this seems even more difficult and resource consuming. Perhaps ...
0
votes
0answers
38 views

Creating lage blocks with multiple transactions in regtest mode?

I want to create blocks with multiple transactions in regtest mode. I want to test propagation with blocks of size 1-2 MB on the dash network. ./dash-cli -regtest -daemon -debug -port=8330 -rpcport=...
0
votes
2answers
32 views

How to build a bitcoin delegation server?

Actually, I know there are already have blockchain.info and its own api. But I want to build my own server which can provide basic API like: Generate a wallet by use password and username. User can ...
0
votes
1answer
29 views

How transaction manipulation handles in Blockchain?

I'm new to Blockchain and would like to understand few concepts in a detail. After reading about basics of Blockchain, one thing is unclear to me about tx. manipulation. For instance, A has some (i....
1
vote
2answers
54 views

Bitcoin core wallet - got 0 balance after transaction [duplicate]

I did a test lightning transaction by sending 0.00001 btc to some exchange with using bitcoin core 0.16 (downloaded from bitcoin.org and installed to dedicated pc) and... it took the rest balance of ...
0
votes
1answer
103 views

Generating Output Script from Bitcoin.js or other Javascript Library

I'm attempting to use the Ledger Wallet API to sign a multi-sig transaction. The API works as follows: var inputs = [ [ "71f97fa2a21486ecd99674a8ae068d92acd2e9db49c199473be39984e6cbe0f6", "00000000"...
0
votes
1answer
58 views

Raw transactions - SubtractFeeFromAmount flag

I'm currently working on a project (I'm a beginner in the world of cryptocurrencies) where we are using Raw Transactions, I want to know if in raw transactions there's a flag similar to ...
0
votes
1answer
175 views

Using CoreBitcoin in Swift to create raw transaction

I am new to coding, and only know swift, obj-C is still foreign to me. I have a functioning wallet but for now am relying on BlockCypher API to build a transaction which I do NOT want to do. Can ...
0
votes
0answers
56 views

Testnet address requested redeem script for sending transaction

I've received some testnet bitcoins to address Qhk53zCTTetiLaYeL2xM41QfjYJRxpQJF5. And tried to spent them with my usual python code that worked couple months ago on the main net: tx = conn....
4
votes
2answers
106 views

Does a Block contain the list of transactions? Or only the Merkle Tree?

I was wondering how a block encodes its set of transactions. I know a Merkle Tree is generated, and that it encodes a Hashed version of the transactions. But is the Merkle Tree included in the Block ...
1
vote
2answers
202 views

Can not decode transaction. Script was manually verified successfull

I can not decode transaction in Bitcoin-QT. The error is: TX decode failed (code -22). But blockexplorer site decode it. Then I try to send transaction from blockcypher.com site, and the error is: ...
0
votes
1answer
412 views

Tether USDT raw transaction unsigned

I'm not using omnicore by RPC calls, I dont want to put a server up and make those RPC calls, I want to make a simple transaction on the TetherUS(USDT) network, this is my code: const ...
1
vote
1answer
89 views

Segwit transaction in golang

I tried to create transaction which spends p2sh(p2wpkh) output: from wif I derived compressed pub key: "035476e55521c97cf0489e6c57893a99d67e84d306a69e6b6904f324c11b3cef8d". created witness program: "...
1
vote
1answer
13 views

Diffrent transactions in different block sync problem

Consider that miner A and B both try to solve its block, A's block has transactions (T1,T2), B's block has transactions (T1,T3). A solved its block then synced the block to B. Does B will discard its ...
0
votes
0answers
14 views

Mistakenly transfered btc to bch adress..plz help me [duplicate]

Paid the fees paid the cash and its confirmed but i gave them my BCH adress instead of BTC How can i see my money again? 😐
0
votes
1answer
39 views

I seem to have too many unspent outputs for my given balance. What am I missing?

I have an address on the testnet. I started out with 1.3 btc. I then sent 0.5 btc to another address. My balance is now 0.8. OK, that makes sense. I expect now to have one UTXO which was the 0.8 in ...
2
votes
1answer
1k views

How to buy Bitcoin in Iran [closed]

So I'm trying to buy Bitcoin in Iran and I want to use my Iranian Bank Account which unfortunately isn't accepted by PayPal or other online payment websites. So is there any way for me to buy Bitcoin(...
0
votes
1answer
215 views

How to verify if it's Segwit Transaction or not?

Segwit Usage chart example : https://p2sh.info/dashboard/db/segwit-usage?orgId=1 I Would like to verify by checking tx if it's Segwit Transaction or not. Is there any simple method to do this? ...
0
votes
2answers
81 views

Lost bitcoins?? Help! [closed]

I transferred bitcoins from my Coinbase account to 3FkenCiXpSLqD8L79intRNXUgjRoH9sjXa and now I cannot find it nor do I know how to get it back. Where is my bitcoins?? !
0
votes
1answer
97 views

Why I can't do a transaction by use sendtoaddress?

It's seems like this question, but it's no clear show. I have followed this step by step, and after finish last step which generate a block to confirm the transaction, I couldn't see my second address ...
4
votes
1answer
775 views

Schnorr vs ECDSA

I understand that Schnorr signatures provide an improvement on ECDSA in that they are a fixed 64 bytes instead of the longer ECDSA sig format, however, I don't see how this is an advantage over ECDSA ...
2
votes
1answer
78 views

How does the miner efficiently check that an address has required amount of data?

I've read this question. As the answer said, the miner "looks up the outputs that a transaction is spending from and makes sure that no other transaction has spent those outputs already." So the ...
0
votes
1answer
30 views

What good is to store all the transactions in the history

Bitcoin stores all the transactions that happened in the blockchain. Are really all the transactions needed? What good is it to have transactions ten years old stored. Isn't it a waste of discspace?
0
votes
3answers
92 views

Can I prioritize my transaction in Bitcoin?

How can I prioritize my transaction in Bitcoin? Does Bitcoin has any feature that can provide me fees required in case I want my transaction to be sent as high priority?
0
votes
1answer
30 views

Prioritizing BTC transactions using Bitcore APIs

I’m planning to give a feature in my application where a user can select type of priority (Fast, Average or Slow) for their transactions. How can I get fee required for each type? Does Bitcore API ...
1
vote
1answer
40 views

Why is the output address a list in RPC/console?

Vout contains a list of addresses, which I noticed to be always with size = 1, if it exists. The following is an example from Bitcoin Testnet: { "value": 0.91840581, "n": 2, "...
0
votes
2answers
75 views

How to send bitcoins without paying or with extreme low fees and without having to proove my identity? [duplicate]

Of course, I know it’s no longer possible to get a transaction mined without a miner fee since 2011. It’s for sending from a single address to a single output address. But I have to split the sending ...
0
votes
0answers
193 views

Ledger Nano S (ledgerjs) createPaymentTransactionNew Not Working, Error: UNKNOWN_ERROR, HALTED

I'm using the following node version: > node -v v8.9.3 And I have used Ledger to generate an Address using the following code: const TransportHid = require("@ledgerhq/hw-transport-node-hid")....
0
votes
1answer
37 views

P2PUBKEY in witness program (P2WPUBKEY)

Old standard transactions format included 3 types: P2PUBKEY, P2PKH, P2SH. After Segwit soft fork, we have got 2 additional types: P2WPKH and P2WSH. If we compare the cost of spending inputs (in bytes ...
0
votes
1answer
36 views

How would you recommend parsing a private bitcoin core node with nodeJS?

I just need to parse a private node and lookup one bitcoin address and get all transactions going in or out of the address preferably using nodeJS within the last 200 or so blocks. Any recommendations?...