smartpool-client
smartpool-client copied to clipboard
sometime tx takes too long to verify
some discussed strategies:
- [ ] ~~For testnet only, we can just drop the claim if a tx is not verified in time (hardcoded 10 mins)~~
- [x] Rebroadcast the tx with gas price increased by 25% so it can replace the old tx (we are using this strategy now).
- [ ] ~~Query last counter from contract side and put all shares of the claim back to active share pool so they can be included in next claim. This is applicable only if tx that is submitting the claim is stuck.~~
- [ ] In mainnet, we might retransmit the tx from some chosen stable public nodes.
Item 3 is applicable only if submitClaim
tx is stuck.
If verifyClaim
tx stuck you cannot resubmit them.
Also: 4. In mainnet, retransmit from
You are right, updated the issue.
I'm going to implement 2 and 4 to test on ETH soon.