<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    -----BEGIN PGP SIGNED MESSAGE-----<br>
    Hash: SHA1<br>
    <br>
    You can do this right now, with Armory.&nbsp;&nbsp; If you switch Armory to
    Expert usermode, you can combine coin-control with unsigned
    transactions to do exactly this.&nbsp; It's because Armory doesn't "lock"
    coins used in previous unsigned transactions, until they're actually
    broadcast and confirmed to be "out in the wild".&nbsp; This was done for
    simplicity to avoid people getting arbitrarily-locked coins, even
    though it means you end up accidentally double-spending if you try
    to create two different unsigned transactions from the same wallet
    without sign&amp;broadcasting the first one.<br>
    <br>
    So here's what you do:<br>
    (1) Switch to "Expert" usermode in Armory<br>
    (2) Open any wallet (you don't need a watch-only wallet, full wallet
    is fine)<br>
    (3) In the "Send Bitcoins" window, click coin-control<br>
    (4) Create a transaction using one sufficiently large input<br>
    (5) Click "Create Unsigned Transaction" and save it<br>
    (6) Repeat 3-5 with the same coin, but sending to yourself, specify
    a larger fee<br>
    (7) Go into "Offline Transactions" and "Sign and Broadcast
    Transactions"<br>
    (8) Load tx1, sign &amp; broadcast<br>
    (9) Load tx2, sign &amp; broadcast<br>
    <br>
    This only works if your Bitcoin-Qt/bitcoind client has the
    replace-by-fee patch, since Armory uses Bitcoin-Qt/bitcoind as a
    gateway to the network. Otherwise, the second tx will be DOA.&nbsp; But
    you don't have to mess with Armory other than switching it to Expert
    mode to get to the coin-control feature.<br>
    <br>
    - -Alan<br>
    <br>
    P.S. -- If you try this, Armory is likely to not show the second tx
    as having ever happened (Bitcoin-Qt will send it back to us and we
    ignore it because we already have a tx).&nbsp; But if your Bitcoin node
    has the modification, it /will/ reach the network<br>
    <br>
    <br>
    On 05/15/2013 08:19 AM, Peter Todd wrote:<br>
    <span style="white-space: pre;">&gt; On Wed, May 15, 2013 at
      07:38:27AM -0400, Peter Todd wrote:<br>
      &gt;&gt; So I'm offering 2BTC for anyone who comes up with a nice
      and easy to use<br>
      &gt;&gt; command line tool that lets you automagically create one
      version of the<br>
      &gt;&gt; transaction sending the coins to the desired recipient,
      and another<br>
      &gt;&gt; version sending all the coins back to you, both with the
      same<br>
      &gt;&gt; transaction inputs. In addition to creating the two
      versions, you need<br>
      &gt;&gt; to find a way to broadcast them both simultaneously to
      different nodes<br>
      &gt;&gt; on the network. One clever approach might be to use
      blockchain.info's<br>
      &gt;&gt; raw transaction POST API, and your local Bitcoin node.<br>
      &gt;<br>
      &gt; Oh, and while we're at it, a good starting point for your
      work would be<br>
      &gt; Gavin's spendfrom utility in the contrib/spendfrom directory
      in the<br>
      &gt; Bitcoin-QT respository.<br>
      &gt;<br>
      &gt; Also please do keep in mind that it's much better for the
      community if<br>
      &gt; an attack is demonstrated first, followed by releasing the
      code some<br>
      &gt; time later.<br>
      &gt;<br>
      &gt;<br>
      &gt;<br>
      &gt;
------------------------------------------------------------------------------<br>
      &gt; AlienVault Unified Security Management (USM) platform
      delivers complete<br>
      &gt; security visibility with the essential security capabilities.
      Easily and<br>
      &gt; efficiently configure, manage, and operate all of your
      security controls<br>
      &gt; from a single console and one unified framework. Download a
      free trial.<br>
      &gt; <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/alienvault_d2d">http://p.sf.net/sfu/alienvault_d2d</a><br>
      &gt;<br>
      &gt;<br>
      &gt; _______________________________________________<br>
      &gt; Bitcoin-development mailing list<br>
      &gt; <a class="moz-txt-link-abbreviated" href="mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-development@lists.sourceforge.net</a><br>
      &gt;
      <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/bitcoin-development">https://lists.sourceforge.net/lists/listinfo/bitcoin-development</a></span><br>
    <br>
    -----BEGIN PGP SIGNATURE-----<br>
    Version: GnuPG v1.4.11 (GNU/Linux)<br>
    Comment: Using GnuPG with Thunderbird - <a class="moz-txt-link-freetext" href="http://www.enigmail.net/">http://www.enigmail.net/</a><br>
    <br>
    iQIcBAEBAgAGBQJRk441AAoJEBHe6b77WWmFZNQP/02t6cQkhih/CcA1oSCM72np<br>
    KMRW0Z+piHShORxLyhMX3cIpi3ICJ2lJ/Pm6GfDn74oSHq8wipIFoV88xhy810bL<br>
    MnJtbPH900v8PHh/ji2nWMig9NibeUa1zV9/tp31rYjUT3mmMoC4yQlyxKII8GWK<br>
    iignkAHV/UL5kQGmhmr1RKN127cthSMeIzAYWXfIWVObPNm85pvizVZdgqzSK73h<br>
    vwdfeFOelNbVn8ZCNT19OsxWfAKZSaBMywAX95wQBs0BtY2ZgDRmeXa6MdQKpXGW<br>
    KP3O2zjjJC2CKc4+L6elMfsoL1doEsk35w/GuI4HZK4MLAI8BChi6ZPnAYjdRvir<br>
    eHeszyxkKDCEaJ9JPLA/AszqkYHIB+56wTtrpVb1duyTwuqgVT5dcpMPIH8bDqjq<br>
    k3I8C9zCSeQ6JgyvOd8grKJchRtq0SOWYt2bB3ytePzwOs+W+6mRenb/WtMt2dQg<br>
    ntDTEIG7pCsWHenipeTBzvJNqeSsAAoIXnkGY20iDxCB+uFkTzisoCQqpOIglArm<br>
    vD+Cl2nv3OKU3NTVTUt2VinoFskezI7xvsxHD8xs2V/hrlpPbPRAo+l7ER6aTazj<br>
    wrONfmllHSE2XCM7wb/bX3gBNmsM3zUIgSBmNSH/SQeTy8PvwvlkZ/RRYmtVSmHL<br>
    rUTp7x4U63JiIDO1jj+T<br>
    =JiPo<br>
    -----END PGP SIGNATURE-----<br>
    <br>
  </body>
</html>