Merge branch 'nexus-xyz:main' into main
This commit is contained in:
commit
0e2abc2742
@ -5,7 +5,7 @@ Command line interface (CLI) for accessing the Nexus Network. Highest-performanc
|
|||||||
## Quick start
|
## Quick start
|
||||||
|
|
||||||
```
|
```
|
||||||
curl https://cli.nexus.xyz/install.sh | sh
|
curl https://cli.nexus.xyz/ | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
If you do not already have Rust, you will be prompted to install it.
|
If you do not already have Rust, you will be prompted to install it.
|
||||||
@ -20,4 +20,4 @@ add `NONINTERACTIVE=1` before `sh`.
|
|||||||
## Known issues
|
## Known issues
|
||||||
|
|
||||||
Currently only proving is supported. Submitting programs to the network is in private beta.
|
Currently only proving is supported. Submitting programs to the network is in private beta.
|
||||||
To request an API key, [contact us](https://forms.gle/183D9bcDHUdbxCV5A).
|
To request an API key, contact us at growth@nexus.xyz.
|
||||||
|
@ -309,13 +309,13 @@ async fn main() {
|
|||||||
proof: Some(proof::Proof::NovaBytes(buf)),
|
proof: Some(proof::Proof::NovaBytes(buf)),
|
||||||
})),
|
})),
|
||||||
};
|
};
|
||||||
client
|
|
||||||
.send(Message::Binary(response.encode_to_vec()))
|
|
||||||
.await
|
|
||||||
.unwrap();
|
|
||||||
let duration = SystemTime::now().duration_since(start_time).unwrap();
|
let duration = SystemTime::now().duration_since(start_time).unwrap();
|
||||||
let proof_cycles_hertz = cycles_proven * 1000 / duration.as_millis();
|
let proof_cycles_hertz = cycles_proven * 1000 / duration.as_millis();
|
||||||
let proof_cycles_per_minute = cycles_proven * 60 * 1000 / duration.as_millis();
|
let proof_cycles_per_minute = cycles_proven * 60 * 1000 / duration.as_millis();
|
||||||
|
client
|
||||||
|
.send(Message::Binary(response.encode_to_vec()))
|
||||||
|
.await
|
||||||
|
.unwrap();
|
||||||
track(
|
track(
|
||||||
"proof".into(),
|
"proof".into(),
|
||||||
format!("Proof sent! You proved at {} Hz.", proof_cycles_hertz),
|
format!("Proof sent! You proved at {} Hz.", proof_cycles_hertz),
|
||||||
|
Loading…
Reference in New Issue
Block a user