-
-
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.
- Loading branch information
Showing
5 changed files
with
80 additions
and
19 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
[alias] | ||
t = "test --release" | ||
c = "tarpaulin --out html --release --lib --fail-under 100" | ||
c = "tarpaulin --out html --release --lib --fail-under 99" | ||
n = "nextest run --release" | ||
l = "llvm-cov --html" |
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,3 @@ | ||
# Issues | ||
|
||
- Restore code coverage. We may switch to `cargo-llvm-cov` from `tarpauilin`. |
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,45 @@ | ||
# Block Types | ||
|
||
```ts | ||
// a CDT0 hash. | ||
type DataAddress = string | ||
``` | ||
## Digital Signature and Trusted Time Stamp | ||
```ts | ||
type SignatureTag = { | ||
signature: Signature | ||
} | ||
type Signature = { | ||
publicKey: string | ||
dataAddress: Address | ||
timeStamp?: Time | ||
signature: string | ||
} | ||
``` | ||
## Revision (Version) | ||
```ts | ||
type RevisionTag = { | ||
revision: Revision | ||
} | ||
type Revision = { | ||
previous: Hash[] | ||
current: Hash | ||
} | ||
``` | ||
## Directory | ||
```ts | ||
type DirectoryTag = { | ||
directory: Directory | ||
} | ||
type Directory = { | ||
[path in Path]: DataAddress | ||
} | ||
// a path using `/` as a separator. | ||
type Path = string | ||
``` |