Stack Exchange Network

Stack Exchange network consists of 175 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
2answers
67 views

Could not sign Transaction with SignRawTransactionWithKey through the RPC (RegTest)

I am able to sign following transaction with Complete=true result, but when trying to decode signed transaction, it returns error "TX decode failed" both from DecodeRawTransaction and ...
1
vote
1answer
33 views

How many transaction can I broadcast simultaneously?

Let's say I build two transactions, and in the second one I add an input which refers to an output of the first one. Then I broadcast simultaneously the two transactions. Now, I know that in Bitcoin ...
0
votes
2answers
67 views

Bitcoin-core how to get all transactions hashes?

Please, can anyone help me how to get all transactions hashes? How to browse all the transactions hashes used in blockchain? P.S. How simply get a list of all transactions IDs (as a simple text list) ...
0
votes
1answer
24 views

Question about UTXO and indivisibility

I'm reading about the concept of UTXO. Everywhere I read, it says that a UTXO in an account is indivisible. One analogy said: "It's as if you wanted to make a $5 purchase with a $10 bill. You wouldn't ...
2
votes
1answer
31 views

Hashing Transactions for Mining

After reading that Mining involves Taking a root hash of a transaction and combining that hash with a nonce it is required to find a number that is equal or below the given target, i was wondering if ...
1
vote
0answers
20 views

How do I know when a transaction never confirms and is removed from the mempool

I created a light wallet which can receive and send transactions. It works fine in normal situation. My (first) question is what are the situations where things can go wrong ? Is there a reference ...
0
votes
1answer
23 views

When walletnotify and blocknotify notifications are sent out?

Do the notifications from walletnotify and blocknotify are sent during the wallet synchronization or at the end? Say the wallet was offline for 100 blocks and when started: will it send the ...
0
votes
0answers
24 views

Error when sending signed transaction with blockcypher api

Im using bitcoinj library and blockcypher api for creating wallet and transactions on Bitcoin Testnet. I get this error when sending signed transaction. "error": "Error validating generated ...
0
votes
0answers
16 views

confirmed but stuck

my bitcoins has been confirmed but are not moving to the wallet it was sent to. I've contacted both wallets (sender) and (receiver), I've also tried to speed up transaction. The response I get is, the ...
1
vote
1answer
41 views

Lightning Network: Is it creating 3 transactions instead of 2?

I'm watching this Lightning Network presentation by the original authors. At 9 minutes in, he notes that all the network sees will be a transaction to the multisig address and then a transaction to ...
1
vote
1answer
41 views

What's the segwit transaction serialization “flag” field for?

According to bip 141, the segwit transaction serialization format (used to compute the wtxid) is: [nVersion][marker][flag][txins][txouts][witness][nLockTime] The bip mentions that the flag field ...
4
votes
2answers
510 views

How are transactions propagated through the bitcoin network? (In-depth)

I know the general gossip protocol that occurs i.e transactions are sent to neighboring nodes who then send it to their peers etc. but I was trying to find a more in-depth answer on how transactions ...
1
vote
3answers
64 views

Getting transactions from mempool to block

I have a question about getting transactions from mempool to be added to block. Imagine the situation where we have 500 transactions in mempool, when we decide that is enough to start adding them to ...
0
votes
1answer
39 views

How do I catch the unconfirmed transactions?

I'm catching all the deposit transactions with walletnotify and insert them into my database. Then on every blocknotify call I fetch all the transactions under 6 confirmations from the db and update ...
3
votes
1answer
83 views

Transaction with expiration time

Is it possible to give an expiration time to a Bitcoin transaction so that after a definite time, it can no longer be mined?
3
votes
2answers
55 views

Where off-chain transactions are registered afterwards?

Reading the questions and answers on this StackExchange, i've learned that into Exchanges there's no transactions over public blockchains being performed, the funds are exchanged among accounts into ...
0
votes
1answer
23 views

Where can I find the transaction volume?

I want to find the trading volume to do some trend analysis.But I can't find
1
vote
1answer
25 views

What does the Sender of a Transaction include in the Input that allows the Recipient to Unlock/Redeem?

I have been struggling to grasp what exactly is included in the input of a Transaction that allows the intended recipient to then redeem/unlock that UTXO when they are ready to do so. I understand ...
1
vote
0answers
36 views

Why someone send this transaction [duplicate]

I've just received strange transaction from unknown address: transaction hash is 6e41f6acb7541cf4ffeddf126dbd87a01092be8d021a897350a6a332ba67a071, the sender sent 0.0215 BTC to about 3000 outputs (0....
0
votes
0answers
20 views

Listunspent only works for the last address I made a transaction with

I have a wallet on bitcoin core with three addresses I use to make transactions. But listunspent only returns information when I used it with the address I made the last transaction with, is it ...
1
vote
2answers
48 views

How do different blockchains communicate?

I've learned that the different cryptocurrencies have their own P2P blockchain networks. How do exchanges convert coins from one network into a coin on another network?
1
vote
1answer
103 views

Signrawtransaction is not working on bitcoin core V0.17.1

I am having trouble signing a transaction on bitcoin core since it appears signrawtransaction no longer works. I get the following error message : signrawtransaction is deprecated and will be fully ...
0
votes
1answer
31 views

in transaction, what is 'hash' data?

i'm studying Bitcoin: A Peer-to-Peer Electronic Cash System Satoshi Nakamoto and this paper introduce a transaction model. (above picture) but i don't understand what is 'Hash' means exactly i ...
-1
votes
1answer
38 views

Limitation for minimum output size? AND a fixed per-transaction fee for payments in Bitcoin?

In the following article by http://lightning.network/ entitled: "The Bitcoin Lightning Network Summary", (Link to the article) is mentioned: "Lightning enables one to send funds down to 0.00000001 ...
0
votes
0answers
100 views

Watch-only addresses inside segwit transactions

I'm using bitcoin core (via rpc api). I've generated one 2of2 multisig address on electrum wallet, and after that, I've imported that address into bitcoin core by using importaddress rpc method. When ...
1
vote
1answer
31 views

How to determine right address from address hash

I'm using private libbitcoin server and libbitcoin explorer. When I use bx fetxh-transaction, it returns something like: I'm trying to figure out, how to get right address from address_hash. When I ...
1
vote
1answer
59 views

Errors when building/sending multisig transactions

Going by the example here: https://bitcoinj.github.io/working-with-contracts I believe I've done everything correctly. Yet my program fails either to propagate correctly or because of a tx error and ...
0
votes
1answer
133 views

How do you sign data with a private key? [javascript]

Using BlockCypher’s signing tool (link), I can sign the following data: 05de69f5d37f41340eed3230f03d2394dde5e497738a76f027b7d962a0cbdf39 with the private key: ...
1
vote
1answer
47 views

Extract sender ID and recipient ID of a bitcoin transaction [duplicate]

I'm new to this world and I'm trying to learn the blockchain world and especially now I've concentrated du bitcoin-core, I would like to parser and get the various information like the various sites ...
0
votes
2answers
91 views

What is the source of initial transactions of bitcoin?

Sorry, if I am wrong or silly! It is understood that: a) Satoshi Nakamoto sent the first transaction to developer Hal Finney on January 12, 2009, the genesis block contains 1,073 transactions and he ...
4
votes
1answer
38 views

Is the bit encoding format for the graphic in BIP 68 implicitly little-endian?

CLTV (OP_CHECKLOCKTIMEVERIFY - absolute locktime) and CSV (OP_CHECKSEQUENCEVERIFY - relative locktime) utilize BIP 68. Is the locktime for those two operations implicitly encoded in little-endian ...
4
votes
1answer
55 views

Serialized transaction bigger than the actual transaction object? CVE-2013-4627

I'm surveying old Bitcoin DoS vectors and came across CVE-2013-4267, for which there appears to be little public information available. This thread should shed some light on this CVE. There's a ...
0
votes
0answers
21 views

How do you sign transactions from a HD wallet? [duplicate]

I'm using the following tool to generate a HD wallet: https://iancoleman.io/bip39/ However, it gives quite a few different private keys and I'm not sure which one is used to sign transactions with. ...
1
vote
1answer
44 views

What is the meaning of in-script and out-script in standard bitcoin transaction?

I am new to bitcoin world and I am reading this paper: Secure multiparty computations on Bitcoin https://eprint.iacr.org/2013/784.pdf The author said on page 7 that the standard bitcoin transaction ...
1
vote
2answers
35 views

Valid public key check in transaction output

Let's say I build a P2MS output script using uncompressed public keys, and let's say too that these public keys are not valid, i.e. they do not represent a valid EC Point and they don't start with ...
1
vote
0answers
22 views

Verify bitcoin address and amount from sign transaction

Is there a way i can extract the fromAddress, toAddress, amount and fees from a bitcoin sign transaction? eg: SignTransactionValue = signAddress(fromAddress, toAddress, amount, fees, privateKey) How ...
0
votes
1answer
40 views

json-rpc of bitcoin not working for testnet(curl command)

I am trying this command to get transaction from bitcoin testnet: curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gettransaction", "params": ["txId"] }' -H 'content-type: text/...
1
vote
0answers
32 views

Why can’t lightning tx’s be signed with sighash single to allow for fee updates?

Are out-of-band fee payments to confirm a lightning closing transaction the only way to manage a situation where the sat/kw of a previously signed commitment tx are simply below market? If additional ...
1
vote
2answers
22 views

Why are most Bitcoin payment invoices time limited ?

Most bitcoin payment gateways issue time-limited payment invoices. Why is that ? AFAIK, the address stays valid even after the timer is out. For instance when sending a transaction from wallet to ...
0
votes
1answer
82 views

I accidentally transferred my Bitcoin Cash to Bitcoin (BTC) wallet in BitMEX! [closed]

A few days ago, I bought Bitcoin Cash and transferred it to my BitMEX Bitcoin BTC Wallet by accident! This is money that I can't afford to lose! What do you suggest I do? My conversations with BitMEX:...
1
vote
2answers
61 views

Is there any mechanism in Bitcoin that allows it to dynamically adapt to the flow of transactions?

I've read some books and articles on Bitcoin and feel like I've understood many of its concepts but I'm not able to find an answer to a question I've had for a long time: How does the Bitcoin network ...
1
vote
1answer
30 views

How do non-deterministic wallets violate the principle of address reuse?

In chapter 5 of Mastering Bitcoin, Andreas writes: "The disadvantage of random keys is that if you generate many of them you must keep copies of all of them, meaning that the wallet must be backed up ...
0
votes
1answer
61 views

Create simple and secure transaction without checksig?

According to my previously asked question (P2SH secure spending. How?) creating transactions without signature checking is probably not secure. Anyway, I see many transactions (for ex.:...
1
vote
2answers
64 views

Transaction Relay and trickling in Bitcoin

If a node has 100 connections to other nodes and receives a new transaction using a getData request, it sends an inv message to it's 100 connecting peers correct? Does it also send the inv message to ...
1
vote
1answer
50 views

Possible better peer-to-peer protocols for Bitcoin?

As we know, bitcoin uses flooding in order to propagate blocks and transactions across all the nodes in the network. As it was launched in 2009, it's been almost 10 years since it's launch and I was ...
0
votes
1answer
20 views

Transaction deserialization test vectors for Elements sidechain?

I'm working on adding support for Elements sidechain to https://github.com/Simplexum/python-bitcointx/ library. Transaction serialization/deserialization seems to be working, but to test it properly,...
0
votes
2answers
34 views

How does the full lifecycle of a cryptocurrency trading look like? [closed]

I am new into cryptocurrencies and I am wondering how to trade them. By trading cryptocurrencies I mean: Transfer fiat currency (ie. USD) from my bank account into some account that enables buying ...
1
vote
1answer
294 views

To create a channel on the Lightning Network, do you have to execute an actual transaction?

I'm trying to better understand the Lightning Network. I was reading this article -- https://medium.com/coinmonks/lightning-network-how-does-it-work-ceeeda8ad21e . My question is, when two parties ...
0
votes
1answer
18 views

Can I monetize “crypto” using asset backed securities?

A friend of mine wants to create "tokens" signifying the completion of certain corporate milestones, e.g., the acquisition of X customers, and then "monetize" these "crypto" tokens as "asset backed ...