Commit 1da19fb
[release-v2.1] wallet: Don't validate already validated blocks.
Since the merkle root of blocks fetched from SPV peers are now validated
immediately, and blocks from a local node are already considered to be
trusted, there is no need for the merkle root to be checked again.
Backport of f617518.1 parent 745996b commit 1da19fb
1 file changed
Lines changed: 1 addition & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
346 | 345 | | |
347 | 346 | | |
348 | 347 | | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | 348 | | |
359 | 349 | | |
360 | 350 | | |
| |||
0 commit comments