atomicDEX-API icon indicating copy to clipboard operation
atomicDEX-API copied to clipboard

MakerPaymentSpendFailed on MEWC

Open cipig opened this issue 4 months ago • 2 comments

A swap (taker buying MEWC) failed on taker side with MakerPaymentSpendFailed:

taker_swap:2022] mm2src/coins/utxo/utxo_common.rs:2006] "utxo_common:998] utxo_common:950] client:1123] blockchain.block.headers: failed to parse list of 11 headers (coin=MEWC, from=1577855, requested_count=11): UnexpectedEnd"

taker could recover this swap later... spending makerpayment

makerpayment tx was this:

            "data" : {
               "tx_hash" : "9893ff211dbdf1e60e70e40fab20b7a48e2b4b7e41338e30ebe8a2b1c68c67cc",
               "tx_hex" : "0100000001cf108a20a25aaebfa9d71d811a57211a3c74a2fa874810e2589f5cf71480640a020000006a47304402207d2eb5cea8fcd2bea8f4d73f047abd83a203d9aa4a68c05211d157478d356100022035749b8c29d28ddbbb922a572e38c2aa9e67e5fcd9c9c1bc50fba808483e6a330121026da2fc632afabbb1b86d04a9a012db25eca74db38ba2eccd88552f27f4c0b245ffffffff03001b23dd0200000017a914f96cfc7aa147c0771f967135aa517df8fb3cd54a870000000000000000166a14dd12d95585fefb3284f9ba976cc38ae2a2412c00636233224e0000001976a914ed56f2feb905938b45d2e009ec14add0e7d0157288ac20eec268"
            },
            "type" : "MakerPaymentSent"
         },

it could be due to recent changes to their wallet code, see https://github.com/Meowcoin-Foundation/Meowcoin/releases/tag/Meow-v3.0.1 quote: "This release brings merge mining (AuxPoW) to Meowcoin alongside MeowPow"

cipig avatar Sep 11 '25 21:09 cipig

https://dexapi.cipig.net/public/error.php?uuid=58c9e938-5588-4c60-ab7e-b39942ab25f6

cipig avatar Sep 25 '25 17:09 cipig

Hey all,

The issue likely stems from the major Meowcoin consensus upgrade around block 1,614,560 (October 2025), when we introduced AuxPoW merge mining and dual algorithms (MeowPow + Scrypt). This changed the structure of some block headers, which might be what’s causing the UnexpectedEnd parse issue you’re seeing with the Electrum protocol.

Our current Electrum server implementation is here: 👉 https://github.com/Meowcoin-Foundation/electrumx-meowcoin

We’re still working on Electrum improvements following the hard fork to ensure full compatibility. I’m not directly handling the Electrum side myself, but I’ll loop in the developer working on that to provide deeper context soon.

zachchan105 avatar Oct 30 '25 23:10 zachchan105

could be related to https://github.com/KomodoPlatform/komodo-defi-framework/blob/dev/mm2src/mm2_bitcoin/serialization/src/reader.rs#L5-L8

cipig avatar Nov 18 '25 23:11 cipig