mike_t_2019
Member
- Messages
- 60
- Reaction score
- 0
- Location
- Leeds, UK
Running a crash + plinko backend on PHP 8.2 with a Redis queue handling withdrawals and I keep flip flopping on confirmations.
Right now I sit at 3 blocks before I mark a payout done. Problem is my geth websocket drops every few hours (cheap VPS, I know) and the fallback poller re-broadcasts the tx because my nonce check is borderline garbage. Ended up double sending 0.4 ETH once. That one hurt.
So what are you all actually running in prod? 1 block and eat the risk? 12 and make people stare at a spinner for 3 minutes? Offshore sites credit off the mempool instantly and honestly it feels great as a user, but that's exactly how you get reorg'd into a hole. Meanwhile the regulated stuff up here takes 45 minutes and charges you for the privilege lol.
Also wondering if anyone does the intermediate step, show "detected" right away then flip to confirmed once it hits depth. Does that actually cut support tickets or does it just create a new kind of ticket where people think every pending tx is stuck?