-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Try recover from TrieException when missing key * Add multiple peers * simplify peer allocations increase timeout * Add logs and usings * break db on queue empty * different test * more logs * test * test * test * commented out eth67&68 * more info * Support for HealingPatriciaTree * Revert "Support for HealingPatriciaTree" This reverts commit 1c6e52b. * Add support for snap sync recovery * Add IsMainProcessingThread guards * Initialize healing when pruning only. Mark main processor. * revert `tests` * refactor * refactor * add artificial throw * debug state root issue * fix compatibility * Revert "debug state root issue" This reverts commit 37f46cf. * fix state root access in PersistentStorageProvider * Disable HealingTrieStore * enable snap protocol all time * fix exception handling when querying peer * name with generics * simplify testing * more logs * more logs * whitespace fix * add length check to snap rlp recovery * try test different;y * change for tests * one more test * more logs * fix * Better retry * more tries * remove peer head check * More logs * test more * more test * more test * more test * Fix * Refactor logging * Improve logging more * better logging * fix formatting * refactor initialization * Add HealingTrieTests * Add HealingTrieStoreTests * Add RecoveryTests * Remove TESTING code * Some more changes * improvement * whitespace * fix test * fix test names * Validate RLP even when doing snap sync * simplified refactor * Move to ArrayPoolList<Recovery> * always run healing even in archive * Ingore Netherminds in CanGetSnapData until snap server is implemented
- Loading branch information
1 parent
7549b9e
commit a099f0f
Showing
47 changed files
with
1,177 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// SPDX-FileCopyrightText: 2023 Demerzel Solutions Limited | ||
// SPDX-License-Identifier: LGPL-3.0-only | ||
|
||
using Nethermind.Core; | ||
using Nethermind.Core.Crypto; | ||
using Nethermind.Logging; | ||
using Nethermind.Trie.Pruning; | ||
|
||
namespace Nethermind.State; | ||
|
||
public interface IStorageTreeFactory | ||
{ | ||
StorageTree Create(Address address, ITrieStore trieStore, Keccak storageRoot, Keccak stateRoot, ILogManager? logManager); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.