Skip to content

Commit 776e401

Browse files
committed
chore: minor improvements
1 parent f04cf1c commit 776e401

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ See `scripts/complex-scheme.sh` for a related example.
2424

2525
## Setup
2626

27-
If you're using rustup, it's recommended to add the musl target for static compilation:
27+
If you're using rustup, it's recommended to add the musl target for static compilation because it's the default target in cargo:
2828

2929
```bash
3030
$ rustup target add x86_64-unknown-linux-musl
@@ -33,14 +33,14 @@ $ rustup target add x86_64-unknown-linux-musl
3333
Then build with the alkali feature flag for best performance:
3434

3535
```bash
36-
$ cargo build --release -F alkali --target x86_64-unknown-linux-musl
36+
$ cargo build --release -F alkali
3737
```
3838

39-
Alternatively, you can use the provided Nix flake which automatically sets up the musl environment:
39+
Alternatively, you can use the provided Nix flake which automatically sets up the environment:
4040

4141
```bash
4242
$ nix develop
43-
$ cargo build --release -F alkali --target x86_64-unknown-linux-musl
43+
$ cargo build --release -F alkali
4444
```
4545

4646
## CLI quick‑start

scripts/complex-scheme.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ set -Eeuo pipefail
44

55
# The first preimage requires patience to derive and is impossible to brute-force
66
FIRST_PREIMAGE_NBITS=63
7-
# if OPS=100 takes 1507s, then for 30 days:
8-
# >>> 30 * 24 * 3600 / 1507 * 100
9-
# 171997
10-
MONTHS_LONG_OPS=172000
7+
# if OPS=10 takes 60s, then for 30 days:
8+
# >>> 30 * 24 * 3600 / 60 * 10
9+
# 432000
10+
MONTHS_LONG_OPS=432000
1111
# This is 16GB
1212
LARGE_MEM_LIMIT_KBYTES=16777216
1313

0 commit comments

Comments
 (0)