Bitcoin Forum
June 29, 2024, 12:09:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum broadcasting same transaction  (Read 1521 times)
btcguys (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
September 04, 2014, 12:52:12 AM
 #1

As the title suggests: is it possible to broadcast same signed transaction more than once in Electrum?

For example, let say a person, who has 5 BTC, signs a transaction from offline computer to send one BTC from address A to address B.
Can that same signed transaction be broadcasted 4 more times to send remaining 4 BTC from address A to address B?
mr_burdell
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
September 04, 2014, 01:31:13 AM
 #2

Once a transaction sends BTC, it will be sent to addresses B and C where C is the change address.  A new transaction would then need to be created and signed by C to send the remaining funds.

The transactions in bitcoin actually send based on unspent outputs from previous transactions instead of just keeping a balance on an address.  Once a transaction output is spent, it can never be spent again, and the unspent outputs of the first transaction will be used to create new transactions.
btcguys (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
September 04, 2014, 01:33:49 AM
Last edit: September 04, 2014, 02:22:47 AM by btcguys
 #3

Thank you. This is helpful!

Edit:
What if address is not changed to address C? for example what if address A still has some funds?
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
September 04, 2014, 06:44:18 AM
 #4

Thank you. This is helpful!

Edit:
What if address is not changed to address C? for example what if address A still has some funds?

Thats not possible. Every input (former unspend output) has to be spend entirely*. You could use A as your changeaddress however. This would send the funds back to A. It wouldnt allow you to use the same TX though, since its a new unspend output with different properties.

*everything that is not spend will be considered a minersfee IIRC.

Im not really here, its just your imagination.
btcguys (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
September 04, 2014, 11:41:14 PM
 #5

Thank you! This makes sense.
mr_burdell
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
September 05, 2014, 07:12:14 PM
 #6

Thank you. This is helpful!

Edit:
What if address is not changed to address C? for example what if address A still has some funds?

Thats not possible. Every input (former unspend output) has to be spend entirely*. You could use A as your changeaddress however. This would send the funds back to A. It wouldnt allow you to use the same TX though, since its a new unspend output with different properties.

*everything that is not spend will be considered a minersfee IIRC.

All funds from a single unspent output must be spent entirely in the same transaction (or miners fee), however if there are multiple unspent outputs on a single address, they can be spent separately.
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!