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.

4
votes
1answer
106 views

use old offline phone as a hardware wallet?

here's what i want to do: store my private key on an offline phone. use that offline phone to generate a signed transaction and generate a QR code for me to scan/broadcast with my online phone. does ...
0
votes
0answers
18 views

How would get a list of transactions associated with an address from private node? [duplicate]

I am running a private BTC node and am trying to get a list of every transaction given an address between block x and block y. So pretending my wallet address is AbCdEfGh it would return a list of ...
1
vote
0answers
189 views

List All the transactions of an adress - API

I am looking for a way to list all the transactions of an address. For instance, if we use the Blokchain.info API we get: url='https://blockchain.info/rawaddr/1PFtrRjbq4aLfM7k4tyLZ3ZAuTsgLr6Q8Q' ...
1
vote
0answers
33 views

Mycelium Gear testnet confirmation

When I send payment to a testnet address generated by Mycelium Gear, it doesn't see the transaction even when it's included in a block. Blockcypher.com, blockexplorer.com, blockchain.info and ...
0
votes
1answer
57 views

how to retrieve BTC from BCH address

I was on KuCoin and accidentally sent BTC to the BCH address (thinking I was buying BCH). Of course nothing shows in the BCH wallet on KuCoin. I can see it on the blackchain but cannot access it.
0
votes
2answers
40 views

Detecting Wash Sales/Transactions

I run a site which is essentially an e-commerce platform where buyers connect with sellers and all transactions happen in Bitcoin. I worry about sellers on the site continuously buying their own items ...
0
votes
2answers
75 views

i lost access to my bitcoin [closed]

I did not have any idea about bitcoin but I wanted to get in, I met this guy who knew about it on facebook asked him if he could help. he sent me the link on blockchain to signup showed me how to buy ...
0
votes
1answer
382 views

How to send bitcoins without the bitcoin client in PHP

Is there a way to send bitcoins programmatically without the bitcoin client using PHP?
0
votes
2answers
39 views

What is the Design of Bitcoin storage?

How is bitcoin network stored and shared across the network? For instance, where is the data of UTXOs for each wallet is maintained?
0
votes
0answers
37 views

Lightning Network: why should the receiver send an equal payment to the sender with the same hash?

From the whitepaper, page 46, chapter 8.3 "Clearing Failure and Rerouting": If a transaction fails to reach its final destination, the receiver should send an equal payment to the sender with the ...
3
votes
1answer
314 views

Unspent/Spent Flag in Blockchain

I just started getting interested in the blockchain a week ago, however there is something I can not just figure out. Regarding the flag "Spent/Unspent" in transactions. I get that we flag "spent" ...
0
votes
0answers
30 views

How do you find the signing message of a TxIn signature? [NOT a duplicate] [duplicate]

So I'm trying to find m in s = (m + r * x) / k of a Bitcoin transaction input. Taking a look at this transaction, I can pull out s and r from the ScriptSig of an individual input: 30 45 02 21 ...
1
vote
1answer
37 views

Unable to send total amount of bitcoin even after deducting the transaction fee what do I do? [closed]

Hi I recently imported a wallet to blockchain wallet from a backup, the wallet and everything shows up and everything but since the imported wallet is not protected by the backup phrase and not as ...
1
vote
2answers
78 views

What happens if full nodes don't check for double spends or deliberately lets a double spend TX pass and then this full node relays the transaction?

I am studying about Bitcoin and Blockchain tech via the Princeton crypto course, and it mentions that Full nodes do the following checks : i)transaction is valid with the current blockchain, ii)...
0
votes
1answer
125 views

Lightning Network's RSMC: what happens if there's no revocation transaction?

From the Lightning Network's whitepaper, page 19: If they do not broadcast their most recent version, they will be penalized by taking all the funds in the channel and giving it to the ...
0
votes
1answer
128 views

Transaction fee is based on only “transaction size” ? or depends on “transaction amount” as well?

In the Bitcoin, transactions fees are different in value. Now the question is that this transaction fee is based on only "transaction size" ? or depends on "transaction amount" as well ? For example, ...
0
votes
1answer
122 views

Problematic Digital Signature with SECP256K1

I am trying to test out TestNet3 and I have a keypair generated using Java crypto library. The private key is 23F847360E1EB348A212F443C633058080A8EB9F05AD132F8B82D51FE672EADD and the public key is ...
7
votes
1answer
126 views

What's the use of not relaying non-standard transactions if anyone can still use them using P2SH?

It seems that non-standard transactions are not normally relayed because there is a concern this might break the network or it might make future upgrades harder. But anyone can use these non-standard ...
0
votes
0answers
32 views

Bitcoin transaction scripts : does ScriptSig or ScriptPubkey run first? [duplicate]

I'm confused as to the order regarding which script is run. For examples sake: say I want to spend 1 Bitcoin which was given to me by Alice in a single transaction of value 1 Bitcoin. I understand ...
1
vote
2answers
92 views

INPUT Script with no ScriptSig?

Anyone knows what does it mean when there is no ScriptSig under INPUT SCRIPT for a TX? See here: https://i.imgur.com/TCHFUfV.jpg Thanks!
1
vote
1answer
69 views

What happens to rejected transactions ( i.e double spend or invalid transactions)?

Do they get put in an orphaned block or not get put into any block at all?
0
votes
2answers
56 views

How to generate an address for bitcoin?

I installed bitcoin core and I am generating an address using getnewaddress. To get the private_key of the address I am using dumpprivkey. To get the unspents I am using listunspent. Till here ...
0
votes
1answer
28 views

Transaction Hash Chain Signature: What Is Getting Signed?

In Satoshi Nakamoto's diagram: I understand this diagram is dated--but please bear with me. I think I have missed a critical point of the diagram: Question: Let's assume that the three transactions ...
0
votes
1answer
90 views

Error in creating bitcoin raw transaction

I am creating a raw transaction to send amount from from_address to to_address. While sending a transaction I got an error. I posted the detailed process of creating a raw transaction. Could anyone ...
2
votes
1answer
41 views

Can two signed transactions be merged into one?

I'm in a situation where I have a presigned transaction, which, due to a bug in software that generated it, has a fee lower than minimal relay fee. I have that transaction's hex, but it can't be ...
0
votes
0answers
26 views

Adoption metrics

I'm looking for metrics to analyze adoption in general. So far I've looked at transaction volume, bitcoin days destroyed and user numbers (my wallet). This seems to be the only relevant data provided ...
0
votes
2answers
36 views

Bitcoin.org developer reference outdated?

i just can't understand if bitcoin.org developer reference is outdated or not. for example here (https://bitcoin.org/en/developer-reference#raw-transaction-format) we can see: "As of Bitcoin Core 0.9....
5
votes
1answer
71 views

Can corrupted unspent transaction outputs list leading to higher than expected fee be seen as an actual threat?

Let's imagine, an attacker managed to corrupt your local list of unspent transaction outputs (or a blockhain explorer you use) in a way that certain unspent transaction outputs seem to hold less coins ...
0
votes
1answer
55 views

What does a bitcoin transaction contain?

I'm learning about basic transactions and know that a transaction should contain: i) Signature of the sender using some operator: sign(private key,message) ii) Receivers Public key (wallet address) ...
0
votes
0answers
22 views

How can users verify bitcoin escrows, or any bitcoin smart contract?

Coming from an ethereum background, one can view a contract that you send ether to before you send it and verify that the logic works as advertised. How can bitcoin users do the same? Or am I ...
0
votes
1answer
29 views

How many change outputs are there in a Bitcoin transaction

I have been reading the following article: https://coinmetrics.io/difficulty-estimating-chain-transaction-volume/ It mainly discusses how unreliable transaction volume on a UTXO blockchain such as ...
1
vote
1answer
97 views

How do cryptocurrency exchanges handle users' accounts?

I recently became aware of the fact that exchanges have trading engines that execute all trades within the exchange itself, and not on the blockchains. That is to say, if User A sells to User B, there ...
1
vote
1answer
144 views

What is the marginal energy cost of a bitcoin transaction?

According to this web page: https://arstechnica.com/tech-policy/2017/12/bitcoins-insane-energy-consumption-explained/ ...one bitcoin transaction consumes about 250 kWh of energy. Is this the ...
1
vote
1answer
48 views

Transaction Confirmation between Users

I'm reading this paper [1] that explain what happens when a user B wants to send money to the user A. The example says: When the miner finds a hash value with the correct number of zeros (i.e., ...
0
votes
2answers
53 views

Electrum receive tab

I have requested some bitcoin from my friend and gave him the adress that is displayed in the "receive" tab in the electrum client. After he sent them, I made a request for that amount in electrum and ...
0
votes
2answers
544 views

Simple Address check via API

So I have a wallet with thousands of addresses, I want to know how can I check the blockchain whether or not a transaction has been made to one(or another) of the addresses?
1
vote
1answer
29 views

Lite-wallet transaction confirmation procedure

BTC lite-wallet sends a bloom-filer request to bitcoin node about what is the current balance of the particular address. After that wallet will have a Merkle-tree prove that transaction is indeed on a ...
0
votes
1answer
32 views

bitcoin repo sighash.json data format

Bitcoin enthusiast here. Learning "the hard way" how bitcoin works (andreas books, looking in js/python implementations), I'm writing (as an hobby) some code here and there to understand things and to ...
0
votes
1answer
131 views

Transaction stuck in the Omni layer

A friend of mine accidentally transferred USDT from Binance to GDAX ... and apparently it's stuck in the Omni layer which handles these types of transactions. However GDAX is not looking for them and ...
0
votes
0answers
24 views

Transaction info in Bitcoin Block chain (Research)

I'm looking for an offline parser that can parse the blk*.dat files and give the transactions information that are written in inside the dat files. Can anyone help me in this matter.I want to get the ...
1
vote
2answers
321 views

Determining sender/receiver address in transaction

Suppose that I were given a wallet address, i can retrieve all the transactions for the particular address. My question is: 1) Assuming the wallet address is sender, how could it determine the ...
0
votes
1answer
99 views

How do I double SHA-256 the header of block #59,500?

I'm not sure how to combine all of this information. https://blockchain.info/block/00000000096af43105123c499521e1d131d172e7e1bf2ed0843290a921f1f6a7 Version 1 Time Bits 470771548 (is this the right ...
1
vote
1answer
112 views

How to add Bitcoins to my wallet

I am new at this and I was given a bitcoin from a miner, how do I know what it is worth and how do I put it in my wallet?
0
votes
0answers
26 views

How are transactions hashed together to form a Merkle Root? [duplicate]

In block #59,500 there are 2 transactions Transaction 1. 6653ad77d695752cff9fe63bbb5702a53807be534c537251d53de06aac5ca093 and Transaction 2. ...
0
votes
0answers
38 views

Can't get response on “tx” message

I'm trying to write a code to send bitcoin transaction. I've found an example of python code. With few modifications it's here import time import socket import struct import random import hashlib ...
0
votes
0answers
97 views

Bitcore explorer insight testnet initialisation

I am using bitcore explorer and I want to initialize insight api in testnet. It has the following code. I try var insight = new Insight('testnet') but it is not working. What value for url should i ...
2
votes
2answers
545 views

16: bad-txns-vin-empty. Code:-26

I am trying to push a raw transaction via BTC insight API, but I always get an error message: 16: bad-txns-vin-empty. Code:-26 Here is the raw transaction hex: ...
0
votes
1answer
25 views

Retrieve last x transactions from multiple wallet

I create an app which allow each user to own 20 wallets that support 20 coins (btc, eth, monero, neo etc), as well as support but BTC with USD. IF i want to retrieve last 10 transactions of user (of ...
0
votes
2answers
40 views

What transactions didn't make it to the Bitcoin blockchain?

Bitcoin,I want to transfer some Amount so I broadcast a transaction that is picked up by miners. So if my transaction get's in 2 different currently processing blocks by different miners and one of ...
6
votes
3answers
2k views

What is preventing negative balance?

This is probably a stupid question that has an answer somewhere, but I was unable to find anything, so please feel free to redirect me ! I have a basic understanding of how the bitcoin blockchain ...