Ok... someone created a transaction that broke my market making code.. and my server is dumping this out... I will have to resolve this bug before any new market transactions can go through:
2272621ms th_a blockchain_db.cpp:793 generate_next_block ] unable to use trx {"version":0,"stake":0,"timestamp":"20140121T063752","valid_after":"19700101T000000","valid_until":"19700101T000000","inputs":[{"output_ref":{"trx_hash":"96a8544d7815de22ef839c0cb8b1cb72caddbef0","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"2f0bd19b8295be1a3d0b1ad786048c490714bdc0","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"3ecb5d31c839b6e8da03296856534e7a1eade57d","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"c92a64bcac46aeeae22f9024456998a50f9214f1","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"579920471e2d25a2bfe59b27f6dfdd236c4b6506","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"e78356fd23b7ef495f61a266a06eda0c76cfacf8","output_idx":1},"input_data":""},{"output_ref":{"trx_hash":"3f23d2d9e98e8169d9fdb6f4e7050bb83ff7e82b","output_idx":1},"input_data":""},{"output_ref":{"trx_hash":"aebea67e0e26d68e34ddf4ece52ab716dc7f48ed","output_idx":0},"input_data":""}],"outputs":[{"amount":4999999,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"Gd6kwpfW2h3wHDn86LEECTUR262"}},{"amount":50000000,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"FbbX77ATPDcWCL1dWqEXcxva9yL"}},{"amount":100000000,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"PwW5b8ngAjvFU67rPvQ9zQorYNZ"}},{"amount":4999999,"unit":"bts","claim_func":"claim_by_signature","claim_data":{"owner":"R6SnBCFdHMJLEWEdbFNYHJFTv7w"}},{"amount":499999976,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"MzEHQpCNkMYDmCm4C2M2eiu92dy"}},{"amount":7921000890,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"JsBgh3pAVyuLiEqnnPV1VAvmRgg"}},{"amount":5000000000,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"FNA8woJepmELZUdHUMEVqmzNzza"}},{"amount":67522665,"unit":"bts","claim_func":"claim_by_long","claim_data":{"pay_address":"Dw9fjT8FMiEndofTqQ54yg35Ad1","ask_price":"100.0000000000000 usd/bts","min_trade":0}},{"amount":278011998,"unit":"bts","claim_func":"claim_by_cover","claim_data":{"payoff_unit":"usd","payoff_amount":13247733540,"owner":"Dw9fjT8FMiEndofTqQ54yg35Ad1"}}],"sigs":[]}
assert
sig_out != output_not_found: unable to find payment of 5.00000000 usd to MzEHQpCNkMYDmCm4C2M2eiu92dy
{"asset":"5.00000000 usd","pay_addr":"MzEHQpCNkMYDmCm4C2M2eiu92dy","in":{"source":{"block_num":40,"trx_idx":0},"output_num":0,"output":{"amount":10000000,"unit":"bts","claim_func":"claim_by_bid","claim_data":{"pay_address":"MzEHQpCNkMYDmCm4C2M2eiu92dy","ask_price":"50.0000000000000 usd/bts","min_trade":0}},"meta_output":{"trx_id":{"block_num":4294967295,"trx_idx":0},"input_num":255}}}
th_a trx_validation_state.cpp:313 validate_bid
validating bid input {"source":{"block_num":40,"trx_idx":0},"output_num":0,"output":{"amount":10000000,"unit":"bts","claim_func":"claim_by_bid","claim_data":{"pay_address":"MzEHQpCNkMYDmCm4C2M2eiu92dy","ask_price":"50.0000000000000 usd/bts","min_trade":0}},"meta_output":{"trx_id":{"block_num":4294967295,"trx_idx":0},"input_num":255}}
{"i":{"source":{"block_num":40,"trx_idx":0},"output_num":0,"output":{"amount":10000000,"unit":"bts","claim_func":"claim_by_bid","claim_data":{"pay_address":"MzEHQpCNkMYDmCm4C2M2eiu92dy","ask_price":"50.0000000000000 usd/bts","min_trade":0}},"meta_output":{"trx_id":{"block_num":4294967295,"trx_idx":0},"input_num":255}}}
th_a trx_validation_state.cpp:342 validate_bid
error validating input 4
{"i":4}
th_a trx_validation_state.cpp:56 validate
error validating transaction
{"state":{"trx":{"version":0,"stake":0,"timestamp":"20140121T063752","valid_after":"19700101T000000","valid_until":"19700101T000000","inputs":[{"output_ref":{"trx_hash":"96a8544d7815de22ef839c0cb8b1cb72caddbef0","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"2f0bd19b8295be1a3d0b1ad786048c490714bdc0","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"3ecb5d31c839b6e8da03296856534e7a1eade57d","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"c92a64bcac46aeeae22f9024456998a50f9214f1","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"579920471e2d25a2bfe59b27f6dfdd236c4b6506","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"e78356fd23b7ef495f61a266a06eda0c76cfacf8","output_idx":1},"input_data":""},{"output_ref":{"trx_hash":"3f23d2d9e98e8169d9fdb6f4e7050bb83ff7e82b","output_idx":1},"input_data":""},{"output_ref":{"trx_hash":"aebea67e0e26d68e34ddf4ece52ab716dc7f48ed","output_idx":0},"input_data":""}],"outputs":[{"amount":4999999,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"Gd6kwpfW2h3wHDn86LEECTUR262"}},{"amount":50000000,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"FbbX77ATPDcWCL1dWqEXcxva9yL"}},{"amount":100000000,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"PwW5b8ngAjvFU67rPvQ9zQorYNZ"}},{"amount":4999999,"unit":"bts","claim_func":"claim_by_signature","claim_data":{"owner":"R6SnBCFdHMJLEWEdbFNYHJFTv7w"}},{"amount":499999976,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"MzEHQpCNkMYDmCm4C2M2eiu92dy"}},{"amount":7921000890,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"JsBgh3pAVyuLiEqnnPV1VAvmRgg"}},{"amount":5000000000,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"FNA8woJepmELZUdHUMEVqmzNzza"}},{"amount":67522665,"unit":"bts","claim_func":"claim_by_long","claim_data":{"pay_address":"Dw9fjT8FMiEndofTqQ54yg35Ad1","ask_price":"100.0000000000000 usd/bts","min_trade":0}},{"amount":278011998,"unit":"bts","claim_func":"claim_by_cover","claim_data":{"payoff_unit":"usd","payoff_amount":13247733540,"owner":"Dw9fjT8FMiEndofTqQ54yg35Ad1"}}],"sigs":[]},"inputs":[{"source":{"block_num":63,"trx_idx":0},"output_num":0,"output":{"amount":50000000,"unit":"bts","claim_func":"claim_by_bid","claim_data":{"pay_address":"Gd6kwpfW2h3wHDn86LEECTUR262","ask_price":"0.1000000000000 usd/bts","min_trade":0}},"meta_output":{"trx_id":{"block_num":4294967295,"trx_idx":0},"input_num":255}},{"source":{"block_num":61,"trx_idx":0},"output_num":0,"output":{"amount":100000000,"unit":"bts","claim_func":"claim_by_bid","claim_data":{"pay_address":"FbbX77ATPDcWCL1dWqEXcxva9yL","ask_price":"0.5000000000000 usd/bts","min_trade":0}},"meta_output":{"trx_id":{"block_num":4294967295,"trx_idx":0},"input_num":255}},{"source":{"block_num":54,"trx_idx":0},"output_num":0,"output":{"amount":100000000,"unit":"bts","claim_func":"claim_by_bid","claim_data":{"pay_address":"PwW5b8ngAjvFU67rPvQ9zQorYNZ","ask_price":"1.0000000000000 usd/bts","min_trade":0}},"meta_output":{"trx_id":{"block_num":4294967295,"trx_idx":0},"input_num":255}},{"source":{"block_num":42,"trx_idx":0},"output_num":0,"output":{"amount":505000000,"unit":"usd","claim_func":"claim_by_bid","claim_data":{"pay_address":"R6SnBCFdHMJLEWEdbFNYHJFTv7w","ask_price":"101.0000000000000 usd/bts","min_trade":0}},"meta_output":{"trx_id":{"block_num":4294967295,"trx_idx":0},"input_num":255}},{"source":{"block_num":40,"trx_idx":0},"output_num":0,"output":{"amount":10000000,"unit":"bts","claim_func":"claim_by_bid","claim_data":{"pay_address":"MzEHQpCNkMYDmCm4C2M2eiu92dy","ask_price":"50.0000000000000 usd/bts","min_trade":0}},"meta_output":{"trx_id":{"block_num":4294967295,"trx_idx":0},"input_num":255}},{"source":{"block_num":37,"trx_idx":0},"output_num":1,"output":{"amount":89000010,"unit":"bts","claim_func":"claim_by_bid","claim_data":{"pay_address":"JsBgh3pAVyuLiEqnnPV1VAvmRgg","ask_price":"89.0000000000000 usd/bts","min_trade":0}},"meta_output":{"trx_id":{"block_num":4294967295,"trx_idx":0},"input_num":255}},{"source":{"block_num":33,"trx_idx":0},"output_num":1,"output":{"amount":50000000,"unit":"bts","claim_func":"claim_by_bid","claim_data":{"pay_address":"FNA8woJepmELZUdHUMEVqmzNzza","ask_price":"100.0000000000000 usd/bts","min_trade":0}},"meta_output":{"trx_id":{"block_num":4294967295,"trx_idx":0},"input_num":255}},{"source":{"block_num":38,"trx_idx":0},"output_num":0,"output":{"amount":200000000,"unit":"bts","claim_func":"claim_by_long","claim_data":{"pay_address":"Dw9fjT8FMiEndofTqQ54yg35Ad1","ask_price":"100.0000000000000 usd/bts","min_trade":0}},"meta_output":{"trx_id":{"block_num":4294967295,"trx_idx":0},"input_num":255}}],"ref_head":65,"balance_sheet":[{"in":"2.60000000 bts","neg_in":"0.00000000 bts","collat_in":"0.00000000 bts","out":"0.00000000 bts","neg_out":"0.00000000 bts","collat_out":"0.00000000 bts"},{"in":"5.05000000 usd","neg_in":"0.00000000 usd","collat_in":"0.00000000 bts","out":"0.00000000 usd","neg_out":"0.00000000 usd","collat_out":"0.00000000 bts"}],"used_outputs":[3,2,1,0],"required_sigs":[],"signed_addresses":[],"dividend_fees":"0.00000000 bts"}}
th_a trx_validation_state.cpp:99 validate
error evaluating transaction {"version":0,"stake":0,"timestamp":"20140121T063752","valid_after":"19700101T000000","valid_until":"19700101T000000","inputs":[{"output_ref":{"trx_hash":"96a8544d7815de22ef839c0cb8b1cb72caddbef0","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"2f0bd19b8295be1a3d0b1ad786048c490714bdc0","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"3ecb5d31c839b6e8da03296856534e7a1eade57d","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"c92a64bcac46aeeae22f9024456998a50f9214f1","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"579920471e2d25a2bfe59b27f6dfdd236c4b6506","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"e78356fd23b7ef495f61a266a06eda0c76cfacf8","output_idx":1},"input_data":""},{"output_ref":{"trx_hash":"3f23d2d9e98e8169d9fdb6f4e7050bb83ff7e82b","output_idx":1},"input_data":""},{"output_ref":{"trx_hash":"aebea67e0e26d68e34ddf4ece52ab716dc7f48ed","output_idx":0},"input_data":""}],"outputs":[{"amount":4999999,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"Gd6kwpfW2h3wHDn86LEECTUR262"}},{"amount":50000000,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"FbbX77ATPDcWCL1dWqEXcxva9yL"}},{"amount":100000000,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"PwW5b8ngAjvFU67rPvQ9zQorYNZ"}},{"amount":4999999,"unit":"bts","claim_func":"claim_by_signature","claim_data":{"owner":"R6SnBCFdHMJLEWEdbFNYHJFTv7w"}},{"amount":499999976,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"MzEHQpCNkMYDmCm4C2M2eiu92dy"}},{"amount":7921000890,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"JsBgh3pAVyuLiEqnnPV1VAvmRgg"}},{"amount":5000000000,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"FNA8woJepmELZUdHUMEVqmzNzza"}},{"amount":67522665,"unit":"bts","claim_func":"claim_by_long","claim_data":{"pay_address":"Dw9fjT8FMiEndofTqQ54yg35Ad1","ask_price":"100.0000000000000 usd/bts","min_trade":0}},{"amount":278011998,"unit":"bts","claim_func":"claim_by_cover","claim_data":{"payoff_unit":"usd","payoff_amount":13247733540,"owner":"Dw9fjT8FMiEndofTqQ54yg35Ad1"}}],"sigs":[]}
{"t":{"version":0,"stake":0,"timestamp":"20140121T063752","valid_after":"19700101T000000","valid_until":"19700101T000000","inputs":[{"output_ref":{"trx_hash":"96a8544d7815de22ef839c0cb8b1cb72caddbef0","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"2f0bd19b8295be1a3d0b1ad786048c490714bdc0","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"3ecb5d31c839b6e8da03296856534e7a1eade57d","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"c92a64bcac46aeeae22f9024456998a50f9214f1","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"579920471e2d25a2bfe59b27f6dfdd236c4b6506","output_idx":0},"input_data":""},{"output_ref":{"trx_hash":"e78356fd23b7ef495f61a266a06eda0c76cfacf8","output_idx":1},"input_data":""},{"output_ref":{"trx_hash":"3f23d2d9e98e8169d9fdb6f4e7050bb83ff7e82b","output_idx":1},"input_data":""},{"output_ref":{"trx_hash":"aebea67e0e26d68e34ddf4ece52ab716dc7f48ed","output_idx":0},"input_data":""}],"outputs":[{"amount":4999999,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"Gd6kwpfW2h3wHDn86LEECTUR262"}},{"amount":50000000,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"FbbX77ATPDcWCL1dWqEXcxva9yL"}},{"amount":100000000,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"PwW5b8ngAjvFU67rPvQ9zQorYNZ"}},{"amount":4999999,"unit":"bts","claim_func":"claim_by_signature","claim_data":{"owner":"R6SnBCFdHMJLEWEdbFNYHJFTv7w"}},{"amount":499999976,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"MzEHQpCNkMYDmCm4C2M2eiu92dy"}},{"amount":7921000890,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"JsBgh3pAVyuLiEqnnPV1VAvmRgg"}},{"amount":5000000000,"unit":"usd","claim_func":"claim_by_signature","claim_data":{"owner":"FNA8woJepmELZUdHUMEVqmzNzza"}},{"amount":67522665,"unit":"bts","claim_func":"claim_by_long","claim_data":{"pay_address":"Dw9fjT8FMiEndofTqQ54yg35Ad1","ask_price":"100.0000000000000 usd/bts","min_trade":0}},{"amount":278011998,"unit":"bts","claim_func":"claim_by_cover","claim_data":{"payoff_unit":"usd","payoff_amount":13247733540,"owner":"Dw9fjT8FMiEndofTqQ54yg35Ad1"}}],"sigs":[]}}
th_a blockchain_db.cpp:663 evaluate_signed_transaction