Bitcoin Forum

Bitcoin => Armory => Topic started by: Automatic on December 17, 2013, 05:19:53 AM



Title: Specify specific transaction to use as an input?
Post by: Automatic on December 17, 2013, 05:19:53 AM
Normally I only use each address once (One input, one output) so this isn't an issue for me, but, someone felt like sending my payment in two transactions. I need to specific a specific transaction to use as a input for my new outgoing transaction, can I do that in armory? Or, am I stuck to 'which ever one it chooses based off the address coin control'?


Title: Re: Specify specific transaction to use as an input?
Post by: goatpig on December 17, 2013, 05:23:16 AM
Coin control lets you pick the address, not the particular output. Your best bet in this situation is to wipe out the entire address balance I guess.


Title: Re: Specify specific transaction to use as an input?
Post by: etotheipi on December 17, 2013, 05:39:14 AM
No way to do this currently.  The coin-control feature is really "address control", with the intention of providing a way to decide which addresses get linked, not individual transactions.  However, if you select an address and both Tx are different size, you can create a tx using the exact amount of the one you want to spend, and Armory will likely pick the correct one.  If you choose "Create Unsigned Transaction" instead of just hitting "Send", you can review the tx to confirm it did the right thing.  

If you want to spend a 1 BTC output but you are sending someone 0.4 BTC, then create a Tx with two outputs, 0.4 to the recipient, then use the address book to manually get a new address from the current wallet and send it 0.6 (or 0.5999 if you have a 0.0001 fee).  You are basically doing Armory's job manually (for creating change), and Armory will realize it doesn't need a change output.  It will also likely select the 1 BTC input.




Title: Re: Specify specific transaction to use as an input?
Post by: Automatic on December 17, 2013, 01:24:35 PM
No way to do this currently.  The coin-control feature is really "address control", with the intention of providing a way to decide which addresses get linked, not individual transactions.  However, if you select an address and both Tx are different size, you can create a tx using the exact amount of the one you want to spend, and Armory will likely pick the correct one.  If you choose "Create Unsigned Transaction" instead of just hitting "Send", you can review the tx to confirm it did the right thing.  

If you want to spend a 1 BTC output but you are sending someone 0.4 BTC, then create a Tx with two outputs, 0.4 to the recipient, then use the address book to manually get a new address from the current wallet and send it 0.6 (or 0.5999 if you have a 0.0001 fee).  You are basically doing Armory's job manually (for creating change), and Armory will realize it doesn't need a change output.  It will also likely select the 1 BTC input.




Fair enough, I guess I'll use this until a specific selector is in place. Thanks.