Bitcoin Forum
September 27, 2018, 10:39:18 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Is this a legal Bitcoin transaction?  (Read 1287 times)
DGulari
Legendary
*
Offline Offline

Activity: 1161
Merit: 1000


Create Your Decentralized Life


View Profile
August 14, 2015, 11:18:46 PM
 #1

Can I have a single Bitcoin transaction with several outputs where two of those outputs are to the same address?

Can I have both these outputs in the same transaction?

        ▄▄███████████▄▄       
     ▄██████▀▀▀▀▀▀▀██████▄   
    ████▀             ▀████▄ 
  ▄███▀    ▄▄▄████▄▄    ▀████
▐███     ██████████▀     ███▌
 ███▌    ██████▀▀        ▄███▌
▐███    ▐████▄      ▄▄▄██████▌
▐███▌  ▄████████▄▄██████████▀
████████▀█████████████▀▀▀   
  ████▌    ▀▀██████▀▀      ▄▄
   ▀████▄              ▄▄████▌
     ▀█████▄▄▄    ▄▄▄██████▀▀
       ▀▀██████████████▀▀     
             ▀▀▀▀▀▀           



        ▄▄███████████▄▄       
     ▄██████▀▀▀▀▀▀▀██████▄   
    ████▀             ▀████▄ 
  ▄███▀    ▄▄▄████▄▄    ▀████
▐███     ██████████▀     ███▌
 ███▌    ██████▀▀        ▄███▌
▐███    ▐████▄      ▄▄▄██████▌
▐███▌  ▄████████▄▄██████████▀
████████▀█████████████▀▀▀   
  ████▌    ▀▀██████▀▀      ▄▄
   ▀████▄              ▄▄████▌
     ▀█████▄▄▄    ▄▄▄██████▀▀
       ▀▀██████████████▀▀     
             ▀▀▀▀▀▀           
1538087958
Hero Member
*
Offline Offline

Posts: 1538087958

View Profile Personal Message (Offline)

Ignore
1538087958
Reply with quote  #2

1538087958
Report to moderator
1538087958
Hero Member
*
Offline Offline

Posts: 1538087958

View Profile Personal Message (Offline)

Ignore
1538087958
Reply with quote  #2

1538087958
Report to moderator
1538087958
Hero Member
*
Offline Offline

Posts: 1538087958

View Profile Personal Message (Offline)

Ignore
1538087958
Reply with quote  #2

1538087958
Report to moderator
Make a difference with your Ether.
Donate Ether for the greater good.
SPRING.WETRUST.IO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1538087958
Hero Member
*
Offline Offline

Posts: 1538087958

View Profile Personal Message (Offline)

Ignore
1538087958
Reply with quote  #2

1538087958
Report to moderator
tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1013


I may write code in exchange for bitcoins.


View Profile
August 15, 2015, 01:36:48 AM
 #2

Can I have a single Bitcoin transaction with several outputs where two of those outputs are to the same address?

Can I have both these outputs in the same transaction?


amount1: 1.2 address: 1Ant11EeZU7V49puUeLsDvbUUi9HS5xSg2
amount2: .2 address: 1Ant11EeZU7V49puUeLsDvbUUi9HS5xSg2


My guess is there's nothing illegal about it.  But it's kinda mean, both to the recipient of the transaction and to the network.  The reason is that you have the opportunity here to reduce the UTXO set by one and you're not taking it.  Also, for whoever wants to spend those outputs, you're hurting them a little bit too.  Imagine whoever owns that address wants to spend 1.3BTC, they have to include both of these outputs in their transaction, making their transaction, meaning that they'll probably have to pay a bit more in fees.  Do you see this?

Also, inb4DannyHamilton, the outputs aren't spent to an address, they're spent to an output script.  Wink
btccashacc
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile
August 15, 2015, 02:10:40 AM
 #3

Warning! this bitcoin address contains transactions which may be double spends. You should be extremely careful when trusting any transactions to or from this address.
coinableS
Legendary
*
Offline Offline

Activity: 1078
Merit: 1000



View Profile WWW
August 15, 2015, 02:37:13 AM
 #4

Warning! this bitcoin address contains transactions which may be double spends. You should be extremely careful when trusting any transactions to or from this address.


Well that's weird.  Here's the double spend tx for that address (https://blockchain.info/tx/ac1b8610047ba5b6fd0fe7ce27e35b8dd82662a4a19dbe8da7a271adce3fe813/28)

It was a blockreward, newly generated coins. Can someone explain what we are seeing with these newly generated coins being marked as a double spend? Is this what the block reward from an orphaned block looks like?

EDIT:  Nvm, yes it was an orphaned block. https://blockchain.info/block-index/566760 

Realpra
Hero Member
*****
Offline Offline

Activity: 819
Merit: 1000


View Profile
August 15, 2015, 08:12:44 AM
 #5

Can I have a single Bitcoin transaction with several outputs where two of those outputs are to the same address?

Can I have both these outputs in the same transaction?


amount1: 1.2 address: 1Ant11EeZU7V49puUeLsDvbUUi9HS5xSg2
amount2: .2 address: 1Ant11EeZU7V49puUeLsDvbUUi9HS5xSg2

Totally legal and there is nothing wrong with it.

There can be cases where this is desirable also, for instance if you need confirmed outputs to spend, it helps you to create more outputs you can spend - so you don't have to do just one transaction per hour.

Cheap and sexy Bitcoin card/hardware wallet, buy here:
http://BlochsTech.com
tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1013


I may write code in exchange for bitcoins.


View Profile
August 16, 2015, 09:08:05 PM
 #6

Can I have a single Bitcoin transaction with several outputs where two of those outputs are to the same address?

Can I have both these outputs in the same transaction?


amount1: 1.2 address: 1Ant11EeZU7V49puUeLsDvbUUi9HS5xSg2
amount2: .2 address: 1Ant11EeZU7V49puUeLsDvbUUi9HS5xSg2

Totally legal and there is nothing wrong with it.

There can be cases where this is desirable also, for instance if you need confirmed outputs to spend, it helps you to create more outputs you can spend - so you don't have to do just one transaction per hour.

That is very intersting and it contrasts with what I was saying above (that this wouldn't be desirable because of UTXO bloat and bigger transaction sizes).  I think I see your point, though, that if you had joined this into one output and you spent half of it you'd have to wait for that transaction to confirm before attempting to spend the other half from a change address.
iain
Newbie
*
Offline Offline

Activity: 33
Merit: 0



View Profile WWW
August 25, 2015, 09:22:52 PM
 #7

Can I have a single Bitcoin transaction with several outputs where two of those outputs are to the same address?

Can I have both these outputs in the same transaction?


amount1: 1.2 address: 1Ant11EeZU7V49puUeLsDvbUUi9HS5xSg2
amount2: .2 address: 1Ant11EeZU7V49puUeLsDvbUUi9HS5xSg2

Totally legal and there is nothing wrong with it.

There can be cases where this is desirable also, for instance if you need confirmed outputs to spend, it helps you to create more outputs you can spend - so you don't have to do just one transaction per hour.

That is very intersting and it contrasts with what I was saying above (that this wouldn't be desirable because of UTXO bloat and bigger transaction sizes).  I think I see your point, though, that if you had joined this into one output and you spent half of it you'd have to wait for that transaction to confirm before attempting to spend the other half from a change address.

Here's a whale playing with the concept:
https://blockchain.info/tx/29926a5316e59348ea7de95a5966b9e565de42c44f3bd79ba7142b7035b62e7e?show_adv=true

Oooh, lotsa (half-)bitcoins! Much wow! Cheesy
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!