-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cleanup] Partial cleanup & refactor of different parts of the codeba…
…se (#44) This PR does not introduce any functional changes to the logic. - **Tests**: It is a partial cleanup & refatctor of functions, names, options and all tests remain the same & passing. - **Why**: Make it easier for new developers to understand the SMT - **Up next**: - Continud cleanup & refactor - Adding relay counts (not just compute units) to the tree (needed for relay mining) --- Signed-off-by: Daniel Olshansky <[email protected]> Co-authored-by: h5law <[email protected]> Co-authored-by: h5law <[email protected]>
- Loading branch information
1 parent
fea9ecb
commit 921f308
Showing
30 changed files
with
1,300 additions
and
1,005 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ | |
# Ignore Goland and JetBrains IDE files | ||
.idea/ | ||
|
||
# Visual Studio Code | ||
# Ignore vscode files | ||
.vscode |
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,25 @@ | ||
# FAQ <!-- omit in toc --> | ||
|
||
- [History](#history) | ||
- [Fork](#fork) | ||
- [Implementation](#implementation) | ||
- [What's the story behind Extension Node Implementation?](#whats-the-story-behind-extension-node-implementation) | ||
|
||
This documentation is meant to capture common questions that come up and act | ||
as a supplement or secondary reference to the primary documentation. | ||
|
||
## History | ||
|
||
### Fork | ||
|
||
This library was originally forked off of [celestiaorg/smt](https://github.com/celestiaorg/smt) | ||
which was archived on Feb 27th, 2023. | ||
|
||
## Implementation | ||
|
||
### What's the story behind Extension Node Implementation? | ||
|
||
The [SMT extension node](./smt.md#extension-nodes) is very similar to that of | ||
Ethereum's [Modified Merkle Patricia Trie](https://ethereum.org/developers/docs/data-structures-and-encoding/patricia-merkle-trie). | ||
|
||
A quick primer on it can be found in this [5P;1R post](https://olshansky.substack.com/p/5p1r-ethereums-modified-merkle-patricia). |
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.