Author

Topic: Consolidate coins to a single output (Read 584 times)

legendary
Activity: 1232
Merit: 1094
December 17, 2013, 07:56:42 PM
#5
TierNolan, uh. Yes. Just do so.  Write a transaction that spends all those coins and send them to a new address.

Even if you need to pay to do so doing so can reduce your fees in the future, assuming txn fees tend to be larger in the future than now.

Your actual question?

Uh, right, I guess I was overthinking it.  I was trying to find a sweep button or something.

The coins are in an armory cold store wallet. 

So, copy new address to clipboard and then use that as the target address for a new (coin-controlled) transaction.
staff
Activity: 4284
Merit: 8808
December 17, 2013, 01:20:00 PM
#4
TierNolan, uh. Yes. Just do so.  Write a transaction that spends all those coins and send them to a new address.

Even if you need to pay to do so doing so can reduce your fees in the future, assuming txn fees tend to be larger in the future than now.

Your actual question? Just how to do it?  In bitcoin-qt (git) turn on coincontrol, select the subtree with those coins, create a txn for their complete value and select them as the source.  With Bitcoind listunspent 0 999999999 '["addresss"]'  and spend those coins using createraw. If we had an explicit sweep function in Bitcoin-qt it would be neat if it had an easy path to be used for this. But we don't currently. .... but the client tech support stuff is mostly in other forums.
legendary
Activity: 2618
Merit: 1007
December 17, 2013, 08:30:16 AM
#3
I even remember a thread about adding a transaction that can be supplied by anyone (to enable colored coins, maybe after a certain amout of blocks have passed for the youngest input) that combines all TXOUTs in a single address but the resulting TXOUT would be ONLY spendable by the original private key.
legendary
Activity: 1512
Merit: 1036
December 17, 2013, 07:52:12 AM
#2
When you spend, add a second recipient to the transaction, a new address you just created, and send the balance of your wallet back to yourself.
legendary
Activity: 1232
Merit: 1094
December 17, 2013, 06:31:02 AM
#1
I have an address I have been using mining and it has lots of coins.

Once I spend any of the balance, I lose the protection of the RIPEMD-160 hash, since the public key is published.

Is there a way to consolidate all coins that were sent to an address to an unused address?

I realise that this incurs a tx fee, but it would probably end up cheaper than spending all the outputs individually.

I was thinking of using the sweep address function, but it seems to only be for user generated private keys.
Jump to: