Please help me find the disappearing-tx bug! I'll give 0.2 BTC to someone who finds the pattern!I need your help with this one! I'm going insane trying to figure out the pattern behind this bug. 90% of my tx go through fine. It seems to only happen when I'm not paying attention.
Symptoms:(1) Transaction is created and broadcast
(2) Tx shows up in ledger/history with zero-confirmations, wallet balance is reduced
(3) As soon as the tx is included in a block, the tx disappears completely. Wallet balance returns to previous value, as if the tx never happened
(4) Restarting Armory doesn't help. The only way to fix/find it is to do a rescan ("Help"->"Rescan Databases").
What I know about this bug:(1) I'm fairly certain that the bug only occurs when the transaction has no outputs to any of your wallets. Every time I've triggered it, has been with a tx that has a single output to an external address (i.e. the target address is not in any of your wallets, and there is no change output). I suspect the number of inputs doesn't matter, but I think I've only seen it when there was a single input as well.
(2) I think it might be related to freshness of outputs: it may only happen when you are spending outputs that were just received a few confirmations ago. And I think only without a restart between receiving and spending.
(3) It definitely happened before on a run where I did a rescan. It may have to do with fresh-rescan-on-load vs read-stored-histories-from-last-load (but I'm somewhat certain this is not a requirement to trigger the bug).
(4) The fee does not appear to matter (seen it with
In order to test this, knowing that you need perfect-sized inputs, you'll need to use coin-control. Deselect all but one address in the coin-control window, then use the "MAX" button to send the entire input to an external address not part of any of your wallets. When the tx is in your ledger, you can double click on it to verify that there is only a single output and a blank in the "Wallet ID" column.
This is the last major bug that
needs to be fixed before I can do a release. Once I find a pattern and can reproduce it reliably, I can debug it and verify it's fixed. Right now I can't reproduce or verify. Tell me the pattern and you get 0.1 BTC!
P.S. if you want to run Armory on testnet, see the instructions here:
https://bitcointalksearch.org/topic/running-armory-on-testnet-341252