Latest code on dev branch tries to deal with this by making sendrawtransaction the only RPC that is allowed to fail all retries without making the lite server shutdown.
The code could be much better. Ideally it should check for an expired tx error and not do any retries at all but doing that is more complex code. What I wrote is a simple hack to hopefully make the lite server usable.
Latest code on dev branch tries to deal with this by making `sendrawtransaction` the only RPC that is allowed to fail all retries without making the lite server shutdown.
The code could be much better. Ideally it should check for an expired tx error and not do any retries at all but doing that is more complex code. What I wrote is a simple hack to hopefully make the lite server usable.
I restarted the server with recent changes 20 hours ago, seems to be stable.
From the logs:
{"app":"lightwalletd","error":"-26: 16: tx-overwinter-expired","level":"warning","msg":"error with sendrawtransaction rpc, retrying...","retry":50,"time":"2024-04-21T18:00:17+02:00"}
{"app":"lightwalletd","level":"info","msg":"Waiting for block: 1750490","time":"2024-04-21T18:00:37+02:00"}
{"app":"lightwalletd","level":"info","msg":"Waiting for block: 1750491","time":"2024-04-21T18:00:55+02:00"}
{"app":"lightwalletd","level":"info","msg":"Waiting for block: 1750492","time":"2024-04-21T18:01:33+02:00"}
{"app":"lightwalletd","level":"info","msg":"Waiting for block: 1750493","time":"2024-04-21T18:04:20+02:00"}
{"app":"lightwalletd","error":"-26: 16: tx-overwinter-expired","level":"warning","msg":"giving up on sendrawtransaction rpc","retry":51,"time":"2024-04-21T18:04:37+02:00"}
Thank you for fixing this problem fast.
I restarted the server with recent changes 20 hours ago, seems to be stable.
From the logs:
```
{"app":"lightwalletd","error":"-26: 16: tx-overwinter-expired","level":"warning","msg":"error with sendrawtransaction rpc, retrying...","retry":50,"time":"2024-04-21T18:00:17+02:00"}
{"app":"lightwalletd","level":"info","msg":"Waiting for block: 1750490","time":"2024-04-21T18:00:37+02:00"}
{"app":"lightwalletd","level":"info","msg":"Waiting for block: 1750491","time":"2024-04-21T18:00:55+02:00"}
{"app":"lightwalletd","level":"info","msg":"Waiting for block: 1750492","time":"2024-04-21T18:01:33+02:00"}
{"app":"lightwalletd","level":"info","msg":"Waiting for block: 1750493","time":"2024-04-21T18:04:20+02:00"}
{"app":"lightwalletd","error":"-26: 16: tx-overwinter-expired","level":"warning","msg":"giving up on sendrawtransaction rpc","retry":51,"time":"2024-04-21T18:04:37+02:00"}
```
Thank you for fixing this problem fast.
@jahway603 sounds good. All light wallet node operators will need to update (since whatever is generating these expired txs is going to connect to various servers) and we should make a new release as long as you don't find any issues.
@jahway603 sounds good. All light wallet node operators will need to update (since whatever is generating these expired txs is going to connect to various servers) and we should make a new release as long as you don't find any issues.
lwd crashes, hush3 runs fine.
From lwd:
From hush3:
Latest code on dev branch tries to deal with this by making
sendrawtransaction
the only RPC that is allowed to fail all retries without making the lite server shutdown.The code could be much better. Ideally it should check for an expired tx error and not do any retries at all but doing that is more complex code. What I wrote is a simple hack to hopefully make the lite server usable.
I restarted the server with recent changes 20 hours ago, seems to be stable.
From the logs:
Thank you for fixing this problem fast.
@onryo great to hear. Going to close this now, make a new issue if problems arise with the new code
I had the same issue and am also now trying the dev branch code
@jahway603 sounds good. All light wallet node operators will need to update (since whatever is generating these expired txs is going to connect to various servers) and we should make a new release as long as you don't find any issues.