|
Ran
|
Jobs
1
|
Files
145
|
Run time
8s
|
Badge
README BADGES
|
push
travis-ci
Fixes #449 What was happening was the wallet claimed to be caught up before it actually was and so the wallet’s local_height was still the value from when lbry was last run, frequently more than 20 or 50 blocks behind. _get_value_for_name uses the block at local_height as the basis for the proof. If _get_value_for_name is called during that time between when the wallet claims to be caught up and it actually is, the “Block too deep error” happens. And since the discover page of the UI does name resolution right away, the error basically happens anytime somebody starts the app after not using it for a few hours. This changes the startup behaviour of the wallet to - use the `update` callback provided by lbryum - check that local_height and network_height match before declaring that the wallet has caught up For reference, the error is raised here: https://github.com/lbryio/lbrycrd/blob/1b896ae75/src/rpc/claimtrie.cpp#L688
5928 of 13036 relevant lines covered (45.47%)
0.45 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 1893.1 | 0 |
45.47 |
Travis Job 1893.1 |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|