init: cryptographic append-only ledger
This commit is contained in:
21
crates/ledger-core/src/lib.rs
Normal file
21
crates/ledger-core/src/lib.rs
Normal file
@@ -0,0 +1,21 @@
|
||||
pub mod attestation;
|
||||
pub mod entry;
|
||||
pub mod identity;
|
||||
pub mod merkle;
|
||||
pub mod proof;
|
||||
pub mod receipt;
|
||||
pub mod storage;
|
||||
pub mod verify;
|
||||
|
||||
pub use attestation::{
|
||||
CHECKPOINT_ATTESTATION_V0_FORMAT, CHECKPOINT_ATTESTATION_V1_FORMAT, CheckpointAttestation,
|
||||
CheckpointAttestationV0, CheckpointAttestationV1, verify_checkpoint_attestation,
|
||||
verify_checkpoint_attestation_v0, verify_checkpoint_attestation_v1,
|
||||
};
|
||||
pub use entry::{Entry, EntryHash, EntryUnsigned};
|
||||
pub use identity::{KeyFile, KeyFilePublic};
|
||||
pub use merkle::{MerkleRoot, merkle_root};
|
||||
pub use proof::{ReadProofV0, verify_read_proof_v0};
|
||||
pub use receipt::{RECEIPT_V0_FORMAT, ReceiptV0, verify_receipt_v0};
|
||||
pub use storage::{Checkpoint, LedgerDir};
|
||||
pub use verify::{AuditReport, verify_ledger_dir};
|
||||
Reference in New Issue
Block a user