Bitcoin Forum
July 02, 2024, 01:19:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Specify specific transaction to use as an input?  (Read 729 times)
Automatic (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 105


View Profile
December 17, 2013, 05:19:53 AM
 #1

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'?

Please ask for a signed message from my on-site Bitcoin address (Check my profile) before doing any offsite trades with me.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3682
Merit: 1347

Armory Developer


View Profile
December 17, 2013, 05:23:16 AM
 #2

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.

etotheipi
Legendary
*
Offline Offline

Activity: 1428
Merit: 1093


Core Armory Developer


View Profile WWW
December 17, 2013, 05:39:14 AM
 #3

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.



Founder and CEO of Armory Technologies, Inc.
Armory Bitcoin Wallet: Bringing cold storage to the average user!
Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
Automatic (OP)
Full Member
***
Offline Offline

Activity: 238
Merit: 105


View Profile
December 17, 2013, 01:24:35 PM
 #4

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.

Please ask for a signed message from my on-site Bitcoin address (Check my profile) before doing any offsite trades with me.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!