diff --git a/Cargo.toml b/Cargo.toml index b416eed6f..2e43db450 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,3 +28,7 @@ branch = "feature/hashing" [patch.crates-io] ring = { git = "https://github.com/paritytech/ring" } + +[[bin]] +path = "lighthouse/main.rs" +name = "lighthouse" diff --git a/src/config/mod.rs b/lighthouse/config/mod.rs similarity index 100% rename from src/config/mod.rs rename to lighthouse/config/mod.rs diff --git a/src/main.rs b/lighthouse/main.rs similarity index 100% rename from src/main.rs rename to lighthouse/main.rs diff --git a/src/pubkeystore/mod.rs b/lighthouse/pubkeystore/mod.rs similarity index 100% rename from src/pubkeystore/mod.rs rename to lighthouse/pubkeystore/mod.rs diff --git a/src/shuffling/mod.rs b/lighthouse/shuffling/mod.rs similarity index 100% rename from src/shuffling/mod.rs rename to lighthouse/shuffling/mod.rs diff --git a/src/shuffling/rng.rs b/lighthouse/shuffling/rng.rs similarity index 100% rename from src/shuffling/rng.rs rename to lighthouse/shuffling/rng.rs diff --git a/src/state/active_state.rs b/lighthouse/state/active_state.rs similarity index 100% rename from src/state/active_state.rs rename to lighthouse/state/active_state.rs diff --git a/src/state/attestation_record.rs b/lighthouse/state/attestation_record.rs similarity index 100% rename from src/state/attestation_record.rs rename to lighthouse/state/attestation_record.rs diff --git a/src/state/block.rs b/lighthouse/state/block.rs similarity index 100% rename from src/state/block.rs rename to lighthouse/state/block.rs diff --git a/src/state/config.rs b/lighthouse/state/config.rs similarity index 100% rename from src/state/config.rs rename to lighthouse/state/config.rs diff --git a/src/state/crosslink_record.rs b/lighthouse/state/crosslink_record.rs similarity index 100% rename from src/state/crosslink_record.rs rename to lighthouse/state/crosslink_record.rs diff --git a/src/state/crystallized_state.rs b/lighthouse/state/crystallized_state.rs similarity index 100% rename from src/state/crystallized_state.rs rename to lighthouse/state/crystallized_state.rs diff --git a/src/state/mod.rs b/lighthouse/state/mod.rs similarity index 100% rename from src/state/mod.rs rename to lighthouse/state/mod.rs diff --git a/src/state/shard_and_committee.rs b/lighthouse/state/shard_and_committee.rs similarity index 100% rename from src/state/shard_and_committee.rs rename to lighthouse/state/shard_and_committee.rs diff --git a/src/state/validator_record.rs b/lighthouse/state/validator_record.rs similarity index 100% rename from src/state/validator_record.rs rename to lighthouse/state/validator_record.rs diff --git a/src/sync/mod.rs b/lighthouse/sync/mod.rs similarity index 100% rename from src/sync/mod.rs rename to lighthouse/sync/mod.rs diff --git a/src/utils/bls.rs b/lighthouse/utils/bls.rs similarity index 100% rename from src/utils/bls.rs rename to lighthouse/utils/bls.rs diff --git a/src/utils/boolean_bitfield.rs b/lighthouse/utils/boolean_bitfield.rs similarity index 100% rename from src/utils/boolean_bitfield.rs rename to lighthouse/utils/boolean_bitfield.rs diff --git a/src/utils/logging.rs b/lighthouse/utils/logging.rs similarity index 100% rename from src/utils/logging.rs rename to lighthouse/utils/logging.rs diff --git a/src/utils/mod.rs b/lighthouse/utils/mod.rs similarity index 100% rename from src/utils/mod.rs rename to lighthouse/utils/mod.rs diff --git a/src/utils/test_helpers.rs b/lighthouse/utils/test_helpers.rs similarity index 100% rename from src/utils/test_helpers.rs rename to lighthouse/utils/test_helpers.rs diff --git a/src/utils/types.rs b/lighthouse/utils/types.rs similarity index 100% rename from src/utils/types.rs rename to lighthouse/utils/types.rs