Author

Topic: Is this a legal Bitcoin transaction? (Read 1402 times)

jr. member
Activity: 33
Merit: 7
August 25, 2015, 04: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
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
August 16, 2015, 04: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.
hero member
Activity: 815
Merit: 1000
August 15, 2015, 03: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.
legendary
Activity: 1442
Merit: 1186
August 14, 2015, 09:37:13 PM
#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 
legendary
Activity: 1120
Merit: 1000
August 14, 2015, 09:10:40 PM
#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.
legendary
Activity: 1456
Merit: 1081
I may write code in exchange for bitcoins.
August 14, 2015, 08:36:48 PM
#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
legendary
Activity: 1386
Merit: 1000
KawBet.com - Anonymous Bitcoin Casino & Sportsbook
August 14, 2015, 06: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?
Jump to: