Skip to content

Commit f4a908d

Browse files
committed
Rename 'mitril-core' to 'mithril-stm'
1 parent 568a90d commit f4a908d

File tree

28 files changed

+20
-20
lines changed

28 files changed

+20
-20
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
mithril.cabal
22
.stack-work/
33
.direnv/
4-
mithril-core/c-tests/tests
5-
mithril-core/c-tests/tests.dSYM/
4+
mithril-stm/c-tests/tests
5+
mithril-stm/c-tests/tests.dSYM/
66
*~
7-
mithril-core/proptest-regressions/
7+
mithril-stm/proptest-regressions/
88
*.dump
99
.tmp/
1010
.s.PGSQL*

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77
"mithril-aggregator",
88
"mithril-client",
99
"mithril-common",
10-
"mithril-core",
10+
"mithril-stm",
1111
"mithril-signer",
1212
"mithril-test-lab/mithril-end-to-end"
1313
]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
COMPONENTS = mithril-common mithril-core mithril-aggregator mithril-client mithril-signer demo/protocol-demo mithril-test-lab
1+
COMPONENTS = mithril-common mithril-stm mithril-aggregator mithril-client mithril-signer demo/protocol-demo mithril-test-lab
22
GOALS := $(or $(MAKECMDGOALS),all)
33

44
.PHONY: $(GOALS) $(COMPONENTS)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ This repository is sliced in the following parts:
5454

5555
* [**Mithril Common**](./mithril-common): this is the **common** library that is used by the **Mithril Network** nodes.
5656

57-
* [**Mithril Core**](./mithril-core): the **core** library that implements **Mithril** protocol cryptographic engine.
57+
* [**Mithril Core**](./mithril-stm): the **core** library that implements **Mithril** protocol cryptographic engine.
5858

5959
* [**Mithril Explorer**](./mithril-explorer): the **explorer** website that connects to a **Mithril Aggregator** and displays its **Certificate Chain**.
6060

docs/root/manual/developer-docs/references.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For more information about the **Mithril Protocol**, please refer to the [About
2929
| Dependency | Description | Source Repository | Rust Documentation | REST API
3030
|------------|-------------|:-----------------:|:------------------:|:------------:|
3131
| **Mithril Common** | This is the **common** library that is used by the **Mithril Network** nodes. | [:arrow_upper_right:](https://github.com/input-output-hk/mithril/tree/main/mithril-common) | [:arrow_upper_right:](https://mithril.network/rust-doc/mithril_common/index.html) | -
32-
| **Mithril Core** | The **core** library that implements **Mithril** protocol cryptographic engine. | [:arrow_upper_right:](https://github.com/input-output-hk/mithril/tree/main/mithril-core) | [:arrow_upper_right:](https://mithril.network/rust-doc/mithril/index.html) | -
32+
| **Mithril Core** | The **core** library that implements **Mithril** protocol cryptographic engine. | [:arrow_upper_right:](https://github.com/input-output-hk/mithril/tree/main/mithril-stm) | [:arrow_upper_right:](https://mithril.network/rust-doc/mithril/index.html) | -
3333
| **Mithril Aggregator** | The node of the **Mithril Network** responsible for collecting individual signatures from the **Mithril Signers** and aggregate them into a multisignature. The **Mithril Aggregator** uses this ability to provide certified snapshots of the **Cardano** blockchain. | [:arrow_upper_right:](https://github.com/input-output-hk/mithril/tree/main/mithril-aggregator) | [:arrow_upper_right:](https://mithril.network/rust-doc/mithril_aggregator/index.html) | [:arrow_upper_right:](/aggregator-api)
3434
| **Mithril Client** | The node of the **Mithril Network** responsible for restoring the **Cardano** blockchain on an empty node from a certified snapshot. | [:arrow_upper_right:](https://github.com/input-output-hk/mithril/tree/main/mithril-client) | [:arrow_upper_right:](https://mithril.network/rust-doc/mithril_client/index.html) | -
3535
| **Mithril Signer** | The node of the **Mithril Network** responsible for producing individual signatures that are collected and aggregated by the **Mithril Aggregator**. | [:arrow_upper_right:](https://github.com/input-output-hk/mithril/tree/main/mithril-signer) | [:arrow_upper_right:](https://mithril.network/rust-doc/mithril_signer/index.html) | -

mithril-aggregator/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ RUN adduser --no-create-home --disabled-password appuser
1818
WORKDIR /app
1919

2020
# Copy local dependencies
21-
COPY mithril-core/ /mithril-core/
22-
COPY Cargo.lock /mithril-core/
21+
COPY mithril-stm/ /mithril-stm/
22+
COPY Cargo.lock /mithril-stm/
2323
COPY mithril-common/ /mithril-common/
2424
COPY Cargo.lock /mithril-common/
2525

mithril-client/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ RUN adduser --no-create-home --disabled-password appuser
1818
WORKDIR /app
1919

2020
# Copy local dependencies
21-
COPY mithril-core/ /mithril-core/
22-
COPY Cargo.lock /mithril-core/
21+
COPY mithril-stm/ /mithril-stm/
22+
COPY Cargo.lock /mithril-stm/
2323
COPY mithril-common/ /mithril-common/
2424
COPY Cargo.lock /mithril-common/
2525

mithril-common/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ warp = "0.3"
4444

4545
[target.'cfg(not(windows))'.dependencies]
4646
# non-windows: use default rug backend
47-
mithril-stm = { path = "../mithril-core" }
47+
mithril-stm = { path = "../mithril-stm" }
4848

4949
[target.'cfg(windows)'.dependencies]
5050
# Windows doesn't support rug backend, fallback to num-integer
51-
mithril-stm = { path = "../mithril-core", default-features = false, features = ["num-integer-backend"] }
51+
mithril-stm = { path = "../mithril-stm", default-features = false, features = ["num-integer-backend"] }
5252

5353
[dev-dependencies]
5454
slog-scope = "4.4.0"

mithril-common/src/crypto_helper/cardano/key_certification.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! API for mithril key certification.
22
//! Includes the wrappers for StmInitializer and KeyReg, and ProtocolRegistrationErrorWrapper.
3-
//! These wrappers allows keeping mithril-core agnostic to Cardano, while providing some
4-
//! guarantees that mithril-core will not be misused in the context of Cardano.
3+
//! These wrappers allows keeping mithril-stm agnostic to Cardano, while providing some
4+
//! guarantees that mithril-stm will not be misused in the context of Cardano.
55
66
use crate::crypto_helper::cardano::{OpCert, ParseError, SerDeShelleyFileFormat};
77
use crate::crypto_helper::types::{

mithril-signer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ RUN adduser --no-create-home --disabled-password appuser
1818
WORKDIR /app
1919

2020
# Copy local dependencies
21-
COPY mithril-core/ /mithril-core/
22-
COPY Cargo.lock /mithril-core/
21+
COPY mithril-stm/ /mithril-stm/
22+
COPY Cargo.lock /mithril-stm/
2323
COPY mithril-common/ /mithril-common/
2424
COPY Cargo.lock /mithril-common/
2525

0 commit comments

Comments
 (0)