user323: I would want to force bitcoind to include a specific transaction as an input of another transaction. This is so as to prevent people front wanting to launch a double-spend attack on the website. The method is similar to the one used by SatoshiDice. How can I accomplish this task with the standard client?

user208: This will be possible using the 'raw transaction interface' that was added recently and scheduled to be part of the 0.7.0 release.
With listunspent you can request a list of available coins sent to a particular (wallet) address, and with createrawtransaction you can build a transaction that consumes specified coins. Finally, sendrawtransaction can be used to broadcast a prepared raw transaction to the network.

323: <p>I would want to force bitcoind to include a specific transaction as an input of another transaction. This is so as to prevent people front wanting to launch a double-spend attack on the website. The method is similar to the one used by <a href="http://www.satoshidice.com/bits.php" rel="nofollow">SatoshiDice</a>. How can I accomplish this task with the standard client?</p>
 208: <p>This will be possible using the 'raw transaction interface' that was added recently and scheduled to be part of the 0.7.0 release.</p>

<p>With <code>listunspent</code> you can request a list of available coins sent to a particular (wallet) address, and with <code>createrawtransaction</code> you can build a transaction that consumes specified coins. Finally, <code>sendrawtransaction</code> can be used to broadcast a prepared raw transaction to the network.</p>
