Bitcoin Forum
May 07, 2024, 02:53:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How long does it take for transactions to resolve  (Read 765 times)
finales (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
April 06, 2017, 05:27:18 PM
 #1

If I created a program that would make 30 transactions from a single wallet, is it reliable for all those transactions to resolve onto the Blockchain eventually or should I try to reduce the number of transactions as much as possible? Thank you!
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715050409
Hero Member
*
Offline Offline

Posts: 1715050409

View Profile Personal Message (Offline)

Ignore
1715050409
Reply with quote  #2

1715050409
Report to moderator
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6587


Just writing some code


View Profile WWW
April 06, 2017, 05:41:38 PM
 #2

It depends on the transactions. If you included a high enough transaction fee on each transaction and each one does not spend from any outputs created by one of the transactions, then you can expect all 30 to confirm. If you have a high enough fee but they all spend from a transaction that is one of the thirty (i.e. 2 spends from 1, 3 spends from 2, 4 spends from 3, etc.), then you can't expect all of them to confirm.

cpfreeplz
Legendary
*
Offline Offline

Activity: 966
Merit: 1042


View Profile
April 06, 2017, 05:42:12 PM
 #3

There are too many variables to answer this correctly. It depends on how many inputs you currently have, it also depends on what fee you're planning on paying. Either way if you look into the fee and pay something half decent (80sat/byte or so) it will confirm usually within a few hours. It totally depends on the day though the number of outputs is irrelevant, it's all about the actual size in Kb that the transaction takes on the Blockchain. Look into that, see what fee you'd want to pay then you can get an educated estimate.

If you want something that will just confirm eventually, even 0 fee transactions can eventually be confirmed, just be prepared to wait anything from a few days to a few years.
finales (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
April 06, 2017, 06:08:08 PM
 #4

Oh ok so if the transactions are dependent on each other, then confirmation would naturally take longer. Putting a higher transaction fee would incentivize the miners to process this transaction in the next block? Just curious then, where are Bitcoins generated then if mining requires a transaction fee? Or does it also generate as well? Thanks for your responses guys!
achow101
Staff
Legendary
*
Offline Offline

Activity: 3388
Merit: 6587


Just writing some code


View Profile WWW
April 06, 2017, 06:24:29 PM
 #5

Oh ok so if the transactions are dependent on each other, then confirmation would naturally take longer. Putting a higher transaction fee would incentivize the miners to process this transaction in the next block?
Yes. However transaction selection is not determined by the absolute value of the fee itself but rather the fee rate in BTC/kB. The higher fee rate you pay, the more likely your transaction will be included.

Just curious then, where are Bitcoins generated then if mining requires a transaction fee? Or does it also generate as well? Thanks for your responses guys!
Getting your transactions confirmed requires a transaction fee, mining itself does not. Miners generate Bitcoin through the coinbase transaction which is a special transaction in every block. The coinbase transaction creates an output which is typically the sum of the current block subsidy and the sum of the transaction fees paid by the transactions in the block. It essentially produces this out of thin air; there is no previous output it spends from.

Velkro
Legendary
*
Offline Offline

Activity: 2296
Merit: 1014



View Profile
April 06, 2017, 07:25:37 PM
 #6

If I created a program that would make 30 transactions from a single wallet, is it reliable for all those transactions to resolve onto the Blockchain eventually or should I try to reduce the number of transactions as much as possible? Thank you!
It depends on fee u will put there. If you mean no fee transactions, there is no guarantee of it then. U can try, but can't be sure if it will accepted to blockchain.
Put reasonable fee, u can be sure then.
Coinster
Full Member
***
Offline Offline

Activity: 222
Merit: 101


View Profile
April 06, 2017, 10:26:42 PM
 #7

If I created a program that would make 30 transactions from a single wallet, is it reliable for all those transactions to resolve onto the Blockchain eventually or should I try to reduce the number of transactions as much as possible? Thank you!

If you asked this question in 2010 the answer would most simply be yes. Miners have the special ability to choose which transactions to include in blocks they mine, and also the order of those transactions. Miners don't have a limit on what they can do in this regard except for one thing currently, which is blocks can't be over 1MB in size.

Now in 2017 blocks are basically full at 1MB, so miners are more selective about which transactions they include. That's why the higher the fee you pay the more likely your tx(s) will confirm soon in a block. Pay too low a fee the way things are and your tx may never confirm. This is at the heart of the "block size debate".
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!