Create account

Barricade
2299d · Bitcoin Cash
Do you mean in a brick & mortar store? Because in e-commerce you can wait for at least 1 confirmation.
En Fri Mand
replied 2299d
That's the same as Point-of-sale? If so, then yes.
Barricade
replied 2299d
I don't know much about PoS software, but I guess most of them are connected to multiple nodes, don't accept <1 sat/B tx and alert about detected double spends.
Barricade
replied 2299d
In that case, you have to trust 0-conf. It's safe enough unless we're talking about large purchases where buyers are incentive to double-spend. I believe 0 conf is safe enough.
En Fri Mand
replied 2299d
But would it be safe for a payment processor to rely on SPV?
Barricade
replied 2299d
For example. Bitcoin.com wallet does strange things: low fee tx appear and disappear suddenly in the balance screen. You have to be sure that your POS detects low fee txs and warns you
En Fri Mand
replied 2299d
I am considering using bcash made by Purse.io, since it can run in SPV mode. I will check if I can query the tx fee in this mode. If the fee is below 1 sat/b ....
En Fri Mand
replied 2299d
.... I will set a waiting screen for 1 confirmation.
Barricade
replied 2299d
Take in mind that a low fee tx could take days to confirm!
En Fri Mand
replied 2299d
Hm. I guess it would then be better to send the same coins back and then show a message that they should try again and pay a higher fee.
Barricade
replied 2299d
I don't know... A full node running BU or XT will detect < 1 sat/B under double spend attemp. A SPV depends on the connected nodes. I'm going to try if Bitcoin.com wallets detects it.