samotari / paynoway

A mobile app for testing payment systems against double-spend attacks.
GNU General Public License v3.0
37 stars 8 forks source link

Litecoin: "Mempool conflict" #10

Closed chill117 closed 4 years ago

chill117 commented 5 years ago

Users attempting to spend litecoin consistently saw the memory pool conflict error when attempting to send the double-spend transaction. The payment transaction worked.

chill117 commented 4 years ago

It is possible to double-spend using RBF on litecoin via electrumx servers. But it is necessary to be connected to an electrumx server that has its litecoind node configured to accept RBF transactions. The default for litecoind is to not accept RBF transactions. For those who would like to configure their litecoind node to allow RBF, start your node with the -mempoolreplacement=1 flag.

Edit: But after some testing, it is unlikely that an RBF transaction will be relayed by other electurmx servers and so unlikely that the RBF transaction will be seen by miner nodes. A better solution is needed to more reliably double-spend (see #7)