-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rust/immutable-ledger): block encoding decoding and validation (#67
) * feat(decode and encode block header): wip barebones * feat(block decoding): wip * feat(validators): block signatures * feat(validators): block signatures * feat(validators): block signatures * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * ci(pr name): housekeeping * ci(pr name): housekeeping * ci(pr name): housekeeping * ci(pr name): housekeeping * ci(pr name): housekeeping * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * feat(block validation): ledger * ci(lints): fix * ci(lints): fix * ci(lints): fix * ci(lints): fix * ci(lints): fix * ci(lints): fix * refactor(encode block): simpler api * refactor(encode block): simpler api * refactor(encode block): simpler api * refactor(encode block): simpler api * refactor(add block types and cddl tests): verifcation and refactor * refactor(add block types and cddl tests): verifcation and refactor * refactor(add block types and cddl tests): verifcation and refactor * refactor(rm redundant test): test * refactor(deny.toml): rustsec * refactor(deny.toml): rustsec * refactor(deny.toml): rustsec * Update rust/immutable-ledger/src/serialize.rs Co-authored-by: Alex Pozhylenkov <[email protected]> * Update rust/immutable-ledger/src/serialize.rs Co-authored-by: Alex Pozhylenkov <[email protected]> * refactor(agnostic signing algo and proptest): generic * refactor(agnostic signing algo and proptest): generic * refactor(agnostic signing algo and proptest): generic * refactor(agnostic signing algo and proptest): generic * refactor(agnostic signing algo and proptest): generic * ci --------- Co-authored-by: Alex Pozhylenkov <[email protected]> Co-authored-by: Oleksandr Prokhorenko <[email protected]>
- Loading branch information
1 parent
575a153
commit 405f07a
Showing
10 changed files
with
954 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
[package] | ||
name = "immutable-ledger" | ||
version = "0.1.0" | ||
edition.workspace = true | ||
authors.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
license.workspace = true | ||
|
||
[dependencies] | ||
ed25519-dalek = "2.1.1" | ||
anyhow = "1.0.86" | ||
minicbor = { version = "0.24", features = ["std"] } | ||
uuid = { version = "1.10.0", features = ["v4", "serde"] } | ||
ulid = { version = "1.1.3", features = ["serde", "uuid"] } | ||
hex = "0.4.3" | ||
blake2b_simd = "1.0.2" | ||
blake3 = "=0.1.3" | ||
proptest = { version = "1.5.0" } | ||
|
||
[package.metadata.cargo-machete] | ||
ignored = ["proptest"] | ||
|
||
|
||
|
||
[lints] | ||
workspace = true | ||
|
||
|
||
[dev-dependencies] | ||
test-strategy = "0.4.0" | ||
|
||
|
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,8 @@ | ||
//! Block Serialization | ||
//! | ||
//! Facilitates block serialization and validation for immutable ledger | ||
//! | ||
//! Spec: `<https://input-output-hk.github.io/catalyst-voices/architecture/08_concepts/immutable_ledger/ledger>` | ||
/// Block encoding decoding and validation | ||
pub mod serialize; |
Oops, something went wrong.