Author

Topic: can the input and output address be the same ? (Read 444 times)

hero member
Activity: 770
Merit: 500
yes! its possible of course. I just tried this with my mobile wallet after reading thread and it just Notified me that "Note: you are sending to one of you own addresses".
legendary
Activity: 1078
Merit: 1024
In the given transaction, the output that was sent to the same address was the change. I know the story about change.
 but I am asking is it possible to sent from address "A" to address "A" without any other output addresses ?
Yes. A transaction simply takes in inputs and spits out outputs, it doesn't care what the addresses are, so long as the input script properly spends the output script of the output it spends.

Excatly, it doesn't matter if it's change or not.
It's not like there's a special design for change anyways.
staff
Activity: 3458
Merit: 6793
Just writing some code
In the given transaction, the output that was sent to the same address was the change. I know the story about change.
 but I am asking is it possible to sent from address "A" to address "A" without any other output addresses ?
Yes. A transaction simply takes in inputs and spits out outputs, it doesn't care what the addresses are, so long as the input script properly spends the output script of the output it spends.
hero member
Activity: 574
Merit: 500
I always like to gather my unspent output in my wallet to one from time to time and I was wandering is it possible to create a transaction to the same address ? or the tx will not get accepted by the network?
 I want an answer from someone tried to do so before

Yes, here's an example : https://blockchain.info/tx-index/b345c51064074f5d6c0e11187326567765eb4fa3236ca1be440ccb5745775238
It's not recommended to use an address more than once, but it is possible.


In the given transaction, the output that was sent to the same address was the change. I know the story about change.
 but I am asking is it possible to sent from address "A" to address "A" without any other output addresses ?
legendary
Activity: 1078
Merit: 1024
I always like to gather my unspent output in my wallet to one from time to time and I was wandering is it possible to create a transaction to the same address ? or the tx will not get accepted by the network?
 I want an answer from someone tried to do so before

Yes, here's an example : https://blockchain.info/tx-index/b345c51064074f5d6c0e11187326567765eb4fa3236ca1be440ccb5745775238
It's not recommended to use an address more than once, but it is possible.
hero member
Activity: 574
Merit: 500
I always like to gather my unspent output in my wallet to one from time to time and I was wandering is it possible to create a transaction to the same address ? or the tx will not get accepted by the network?
 I want an answer from someone tried to do so before
Jump to: