decred / dcrdex

The Decred Decentralized Exchange (DEX), powered by atomic-swaps.
Other
186 stars 95 forks source link

loadbot/doge: Signing error. #1674

Closed JoeGruffins closed 2 years ago

JoeGruffins commented 2 years ago

Running loadbot at https://github.com/decred/dcrdex/pull/1656/commits/a2ad03d399015fc35e80a9ccc7fb66cc1de6292b on the dcr_doge market.

Problem signing? Input already spent so may be the same issue as #1673 Maybe a race for the coins.

Error:

2022-06-20 18:01:15.397 [ERR] CORE:CMPD:STACKER:1: Route 'match' request handler error (DEX 127.0.0.1:17273): runMatches - {tick of order d5803ecf1cd7201acbe90809c498640b1250757088add100b7e0eb838b0e1bd1 failed: 127.0.0.1:17273 tick: {swapMatches order d5803ecf1cd7201acbe90809c498640b1250757088add100b7e0eb838b0e1bd1 - {error sending swap transaction: signing error: signing incomplete. 1 signing errors encountered: Input not found or already spent, raw tx: 0100000001571c335a449f767905d67c324b3b6a11621b4974c092310136f53497ae2185530100000000ffffffff0140f05b2d0000000017a91435f3d55ea41bdab399b23f8c783aa03caa93e3658700000000}}}

client logs: doge2.txt

But actually, not sure. It has redeemed to this output:

2022-06-20 18:00:16.532 [INF] CORE:CMPD:STACKER:0: Broadcasted redeem transaction spending 1 contracts for order 7929e1cd8108c0440748b375bfbcf9808d18726a2e9b6c5903fb071ad556693d, paying to 0cddf00e1637fa2cb938d42fe9fd433ee890b1ec357076fdcb99b2c0ecde1783:0 (doge)

Then tries to use that:

2022-06-20 18:00:49.468 [INF] CORE:CMPD:STACKER:1[doge]: Funding 38.05 doge order with coins [ca46d05f23916fb163214ab8baadd0f019300011e3a53f5d3eea264a1246e176:0 0cddf00e1637fa2cb938d42fe9fd433ee890b1ec357076fdcb99b2c0ecde1783:0] worth 40.59350924

So different?

chappjc commented 2 years ago

I think it's the same as https://github.com/decred/dcrdex/issues/1673 because in this issue I see STACKER:0 using the same coins as STACKER:1.

chappjc commented 2 years ago

99.999% certain resolved by https://github.com/decred/dcrdex/pull/1677 as well. Can reopen if it happens again of course