Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/holger

deploy/oden-mirror/holger-c-proof.ron

// C's ACCEPTANCE declaration — identical to `holger-c.ron` except that it names
// the upstream stand-in (`holger-a-proof.ron`, running on t14s) BESIDE the real
// holger.rs, so the seven acceptance points can be driven with real bytes over a
// real network while holger.rs's repositories are still empty.
//
// Two SOURCES, not one, and that is the point: the change map is keyed
// (upstream, repository), so `a-proof` and `holger-rs` each get their own file
// and neither can adopt over the other's state.
//
// The `a-proof` pair runs on the DEFAULT `ron_unproven` (Refetch) — omitted on
// purpose, so the transcript shows what a pair that says nothing does. The
// `bundles` pair against holger.rs keeps its `TrustSize` opt-in.
(
    repositories: [
        ( ron_name: "bundles", ron_repo_type: "raw", ron_upstreams: [], ron_in: None,
          ron_out: Some((ron_storage_endpoint: "store", ron_exposed_endpoint: "doors")),
          ron_data_dir: Some("/home/rickard/holger-c/store/bundles") ),
        ( ron_name: "crates", ron_repo_type: "rust", ron_upstreams: [], ron_in: None,
          ron_out: Some((ron_storage_endpoint: "store", ron_exposed_endpoint: "doors")),
          ron_data_dir: Some("/home/rickard/holger-c/store/crates") ),
    ],
    exposed_endpoints: [
        (ron_name: "doors", ron_url: "127.0.0.1:50061", ron_http_url: Some("127.0.0.1:8453")),
    ],
    storage_endpoints: [
        (ron_name: "store", ron_storage_type: "znippy", ron_path: "/home/rickard/holger-c/store"),
    ],
    auth: Some((methods: [], require_auth_for_reads: false)),

    mirror: Some((
        ron_state_dir: "holger-mirror",
        ron_sources: [
            (
                ron_name: "a-proof",
                ron_kind: Holger,
                ron_endpoint: "http://100.67.148.64:50071",
                ron_credential: Anonymous,
                ron_every_secs: 60,
                ron_repositories: [
                    ( ron_from: "bundles", ron_to: "bundles" ),
                ],
            ),
            (
                ron_name: "holger-rs",
                ron_kind: Holger,
                ron_endpoint: "http://holger.rs:50051",
                ron_credential: Anonymous,
                ron_every_secs: 300,
                ron_repositories: [
                    ( ron_from: "crates",  ron_to: "crates" ),
                    ( ron_from: "bundles", ron_to: "bundles", ron_unproven: TrustSize ),
                ],
            ),
        ],
    )),
)