lbry-sdk icon indicating copy to clipboard operation
lbry-sdk copied to clipboard

balance discrepancies / transactions time out on multitenant SDKs

Open tzarebczan opened this issue 4 years ago • 2 comments

adding/removing wallet does not help, utxo release neither. Not a balance caching issue because I tried sending LBC and it would only show the new one. All transactions and UTXOs were the same.

In this recent case, the user's balance was normal until they imported a yt synced channel and we sent claims over.

Only a reboot of the SDK helps.

This has happened a few times.

tzarebczan avatar Feb 05 '21 17:02 tzarebczan

We also have transactions time out until the SDK is restarted - recently happened to about 10 SDKs for Odysee, all connected to the same hub. Not sure if both issues are related, but if txes are not properly getting updated, it would cause the balance issues.

tzarebczan avatar Jul 18 '22 17:07 tzarebczan

The status call reveals a day old best blockhash:

  "wallet": {
    "available_servers": 1,
    "best_blockhash": "8869d7d72571d99ef50d737e3712205f5d0eb08dde2aea29e3cb7d6ace81da51",
    "blocks": 1194204,```

tzarebczan avatar Jul 18 '22 18:07 tzarebczan