Sync router wallet in background #531

Merged
paratoxic merged 7 commits from wallet-background-sync into master 2026-04-22 03:02:24 +00:00
Owner

Closes #527 and #504

Closes #527 and #504
Sync router wallet in background
Some checks failed
CI / ckpool (pull_request) Successful in 25s
CI / lint (pull_request) Successful in 2m29s
CI / test-linux (pull_request) Has been cancelled
95513cec48
Consolidate
Some checks failed
CI / ckpool (pull_request) Successful in 34s
CI / lint (pull_request) Successful in 3m0s
CI / test-linux (pull_request) Failing after 8m28s
7696a95a5f
Update
Some checks failed
CI / ckpool (pull_request) Successful in 18s
CI / lint (pull_request) Successful in 2m43s
CI / test-linux (pull_request) Has been cancelled
6c8954f70f
Solidify
Some checks failed
CI / ckpool (pull_request) Successful in 18s
CI / lint (pull_request) Successful in 2m45s
CI / test-linux (pull_request) Has been cancelled
d5870c6e7e
parabit approved these changes 2026-04-21 23:14:42 +00:00
parabit left a comment
Owner

LGTM

LGTM
@ -46,6 +50,7 @@ impl From<RouterError> for ServerError {
RouterError::HashPriceBelowMinimum { .. } => {
Self::UnprocessableEntity(error.to_string())
}
RouterError::WalletSyncing => Self::ServiceUnavailable(error.to_string()),
Owner

No change requested on this, but would it make sense, in the future, to use the log level and based on that, either return the real error (like you do here) or a generic "Service Unavailable, Try Again Later"?

No change requested on this, but would it make sense, in the future, to use the log level and based on that, either return the real error (like you do here) or a generic "Service Unavailable, Try Again Later"?
Author
Owner

I think for now let's stay verbose for debugging and then we can always change it later

I think for now let's stay verbose for debugging and then we can always change it later
Solidify
Some checks failed
CI / ckpool (pull_request) Successful in 25s
CI / lint (pull_request) Successful in 2m51s
CI / test-linux (pull_request) Failing after 9m8s
e4198a3eaf
Update
Some checks failed
CI / ckpool (pull_request) Successful in 20s
CI / lint (pull_request) Successful in 1m59s
CI / test-linux (pull_request) Has been cancelled
614aa95b80
Consolidate
All checks were successful
CI / ckpool (pull_request) Successful in 11s
CI / lint (pull_request) Successful in 2m36s
CI / test-linux (pull_request) Successful in 8m52s
6e7ff47f38
paratoxic merged commit 3bcfa9d678 into master 2026-04-22 03:02:24 +00:00
paratoxic deleted branch wallet-background-sync 2026-04-22 03:02:25 +00:00
Sign in to join this conversation.
No description provided.