smartpool-client icon indicating copy to clipboard operation
smartpool-client copied to clipboard

sometime tx takes too long to verify

Open tranvictor opened this issue 7 years ago • 3 comments

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.

tranvictor avatar Apr 03 '17 08:04 tranvictor

Item 3 is applicable only if submitClaim tx is stuck. If verifyClaim tx stuck you cannot resubmit them.

Also: 4. In mainnet, retransmit from

yaronvel avatar Apr 03 '17 08:04 yaronvel

You are right, updated the issue.

tranvictor avatar Apr 03 '17 08:04 tranvictor

I'm going to implement 2 and 4 to test on ETH soon.

tranvictor avatar Jun 11 '17 22:06 tranvictor