diff --git a/Cargo.toml b/Cargo.toml index 82aab18442..e30226a982 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,8 +33,8 @@ members = [ "common/network-defaults", "common/nonexhaustive-delayqueue", "common/nymcoconut", - "common/nym_compact_ecash", - "common/nym-divisible-ecash", + "common/nym_offline_compact_ecash", + "common/nym-offline-divisible-ecash", "common/nymsphinx", "common/nymsphinx/acknowledgements", "common/nymsphinx/addressing", diff --git a/common/nym-divisible-ecash/Cargo.toml b/common/nym-offline-divisible-ecash/Cargo.toml similarity index 100% rename from common/nym-divisible-ecash/Cargo.toml rename to common/nym-offline-divisible-ecash/Cargo.toml diff --git a/common/nym-divisible-ecash/src/error.rs b/common/nym-offline-divisible-ecash/src/error.rs similarity index 100% rename from common/nym-divisible-ecash/src/error.rs rename to common/nym-offline-divisible-ecash/src/error.rs diff --git a/common/nym-divisible-ecash/src/lib.rs b/common/nym-offline-divisible-ecash/src/lib.rs similarity index 100% rename from common/nym-divisible-ecash/src/lib.rs rename to common/nym-offline-divisible-ecash/src/lib.rs diff --git a/common/nym-divisible-ecash/src/proofs/mod.rs b/common/nym-offline-divisible-ecash/src/proofs/mod.rs similarity index 100% rename from common/nym-divisible-ecash/src/proofs/mod.rs rename to common/nym-offline-divisible-ecash/src/proofs/mod.rs diff --git a/common/nym-divisible-ecash/src/scheme/aggregation.rs b/common/nym-offline-divisible-ecash/src/scheme/aggregation.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/aggregation.rs rename to common/nym-offline-divisible-ecash/src/scheme/aggregation.rs diff --git a/common/nym-divisible-ecash/src/scheme/identify.rs b/common/nym-offline-divisible-ecash/src/scheme/identify.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/identify.rs rename to common/nym-offline-divisible-ecash/src/scheme/identify.rs diff --git a/common/nym-divisible-ecash/src/scheme/keygen.rs b/common/nym-offline-divisible-ecash/src/scheme/keygen.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/keygen.rs rename to common/nym-offline-divisible-ecash/src/scheme/keygen.rs diff --git a/common/nym-divisible-ecash/src/scheme/mod.rs b/common/nym-offline-divisible-ecash/src/scheme/mod.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/mod.rs rename to common/nym-offline-divisible-ecash/src/scheme/mod.rs diff --git a/common/nym-divisible-ecash/src/scheme/setup.rs b/common/nym-offline-divisible-ecash/src/scheme/setup.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/setup.rs rename to common/nym-offline-divisible-ecash/src/scheme/setup.rs diff --git a/common/nym-divisible-ecash/src/scheme/spend.rs b/common/nym-offline-divisible-ecash/src/scheme/spend.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/spend.rs rename to common/nym-offline-divisible-ecash/src/scheme/spend.rs diff --git a/common/nym-divisible-ecash/src/scheme/structure_preserving_signature.rs b/common/nym-offline-divisible-ecash/src/scheme/structure_preserving_signature.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/structure_preserving_signature.rs rename to common/nym-offline-divisible-ecash/src/scheme/structure_preserving_signature.rs diff --git a/common/nym-divisible-ecash/src/scheme/withdrawal.rs b/common/nym-offline-divisible-ecash/src/scheme/withdrawal.rs similarity index 100% rename from common/nym-divisible-ecash/src/scheme/withdrawal.rs rename to common/nym-offline-divisible-ecash/src/scheme/withdrawal.rs diff --git a/common/nym-divisible-ecash/src/tests/e2e.rs b/common/nym-offline-divisible-ecash/src/tests/e2e.rs similarity index 100% rename from common/nym-divisible-ecash/src/tests/e2e.rs rename to common/nym-offline-divisible-ecash/src/tests/e2e.rs diff --git a/common/nym-divisible-ecash/src/tests/mod.rs b/common/nym-offline-divisible-ecash/src/tests/mod.rs similarity index 100% rename from common/nym-divisible-ecash/src/tests/mod.rs rename to common/nym-offline-divisible-ecash/src/tests/mod.rs diff --git a/common/nym-divisible-ecash/src/traits.rs b/common/nym-offline-divisible-ecash/src/traits.rs similarity index 100% rename from common/nym-divisible-ecash/src/traits.rs rename to common/nym-offline-divisible-ecash/src/traits.rs diff --git a/common/nym-divisible-ecash/src/utils.rs b/common/nym-offline-divisible-ecash/src/utils.rs similarity index 100% rename from common/nym-divisible-ecash/src/utils.rs rename to common/nym-offline-divisible-ecash/src/utils.rs diff --git a/common/nym_compact_ecash/Cargo.toml b/common/nym_offline_compact_ecash/Cargo.toml similarity index 100% rename from common/nym_compact_ecash/Cargo.toml rename to common/nym_offline_compact_ecash/Cargo.toml diff --git a/common/nym_compact_ecash/benches/benchmarks.rs b/common/nym_offline_compact_ecash/benches/benchmarks.rs similarity index 100% rename from common/nym_compact_ecash/benches/benchmarks.rs rename to common/nym_offline_compact_ecash/benches/benchmarks.rs diff --git a/common/nym_compact_ecash/src/constants.rs b/common/nym_offline_compact_ecash/src/constants.rs similarity index 100% rename from common/nym_compact_ecash/src/constants.rs rename to common/nym_offline_compact_ecash/src/constants.rs diff --git a/common/nym_compact_ecash/src/error.rs b/common/nym_offline_compact_ecash/src/error.rs similarity index 100% rename from common/nym_compact_ecash/src/error.rs rename to common/nym_offline_compact_ecash/src/error.rs diff --git a/common/nym_compact_ecash/src/lib.rs b/common/nym_offline_compact_ecash/src/lib.rs similarity index 100% rename from common/nym_compact_ecash/src/lib.rs rename to common/nym_offline_compact_ecash/src/lib.rs diff --git a/common/nym_compact_ecash/src/proofs/mod.rs b/common/nym_offline_compact_ecash/src/proofs/mod.rs similarity index 100% rename from common/nym_compact_ecash/src/proofs/mod.rs rename to common/nym_offline_compact_ecash/src/proofs/mod.rs diff --git a/common/nym_compact_ecash/src/proofs/proof_spend.rs b/common/nym_offline_compact_ecash/src/proofs/proof_spend.rs similarity index 100% rename from common/nym_compact_ecash/src/proofs/proof_spend.rs rename to common/nym_offline_compact_ecash/src/proofs/proof_spend.rs diff --git a/common/nym_compact_ecash/src/proofs/proof_withdrawal.rs b/common/nym_offline_compact_ecash/src/proofs/proof_withdrawal.rs similarity index 100% rename from common/nym_compact_ecash/src/proofs/proof_withdrawal.rs rename to common/nym_offline_compact_ecash/src/proofs/proof_withdrawal.rs diff --git a/common/nym_compact_ecash/src/scheme/aggregation.rs b/common/nym_offline_compact_ecash/src/scheme/aggregation.rs similarity index 100% rename from common/nym_compact_ecash/src/scheme/aggregation.rs rename to common/nym_offline_compact_ecash/src/scheme/aggregation.rs diff --git a/common/nym_compact_ecash/src/scheme/identify.rs b/common/nym_offline_compact_ecash/src/scheme/identify.rs similarity index 100% rename from common/nym_compact_ecash/src/scheme/identify.rs rename to common/nym_offline_compact_ecash/src/scheme/identify.rs diff --git a/common/nym_compact_ecash/src/scheme/keygen.rs b/common/nym_offline_compact_ecash/src/scheme/keygen.rs similarity index 100% rename from common/nym_compact_ecash/src/scheme/keygen.rs rename to common/nym_offline_compact_ecash/src/scheme/keygen.rs diff --git a/common/nym_compact_ecash/src/scheme/mod.rs b/common/nym_offline_compact_ecash/src/scheme/mod.rs similarity index 100% rename from common/nym_compact_ecash/src/scheme/mod.rs rename to common/nym_offline_compact_ecash/src/scheme/mod.rs diff --git a/common/nym_compact_ecash/src/scheme/setup.rs b/common/nym_offline_compact_ecash/src/scheme/setup.rs similarity index 100% rename from common/nym_compact_ecash/src/scheme/setup.rs rename to common/nym_offline_compact_ecash/src/scheme/setup.rs diff --git a/common/nym_compact_ecash/src/scheme/withdrawal.rs b/common/nym_offline_compact_ecash/src/scheme/withdrawal.rs similarity index 100% rename from common/nym_compact_ecash/src/scheme/withdrawal.rs rename to common/nym_offline_compact_ecash/src/scheme/withdrawal.rs diff --git a/common/nym_compact_ecash/src/tests/e2e.rs b/common/nym_offline_compact_ecash/src/tests/e2e.rs similarity index 100% rename from common/nym_compact_ecash/src/tests/e2e.rs rename to common/nym_offline_compact_ecash/src/tests/e2e.rs diff --git a/common/nym_compact_ecash/src/tests/mod.rs b/common/nym_offline_compact_ecash/src/tests/mod.rs similarity index 100% rename from common/nym_compact_ecash/src/tests/mod.rs rename to common/nym_offline_compact_ecash/src/tests/mod.rs diff --git a/common/nym_compact_ecash/src/traits.rs b/common/nym_offline_compact_ecash/src/traits.rs similarity index 100% rename from common/nym_compact_ecash/src/traits.rs rename to common/nym_offline_compact_ecash/src/traits.rs diff --git a/common/nym_compact_ecash/src/utils.rs b/common/nym_offline_compact_ecash/src/utils.rs similarity index 100% rename from common/nym_compact_ecash/src/utils.rs rename to common/nym_offline_compact_ecash/src/utils.rs