Skip to content

Commit 7a3e03c

Browse files
committedFeb 18, 2021
coda.exe -> mina.exe
1 parent 9e1d763 commit 7a3e03c

13 files changed

+24
-23
lines changed
 

‎.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
*
22
!src/opam.export
33
!coda.deb
4+
!mina.deb
45
!coda-discovery.deb
56
!scripts/run-demo.sh
67
!src/external/**/*

‎frontend/wallet/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Run locally with hot reloading:
4444
up before you pulled the code. Make sure you ran `git lfs install` and then
4545
run `git lfs pull` to download files.
4646

47-
### Repackaging coda.exe [Needs work]
47+
### Repackaging mina.exe [Needs work]
4848

4949
1. cd to root of repo
5050
2. `make build`

‎frontend/wallet/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
},
3232
"scripts": {
3333
"fake": "graphql-faker --port 3085 -- schema.graphql",
34-
"real": "./_build/coda-daemon-macos/coda.exe daemon -rest-port 8080 &> /dev/tty",
34+
"real": "./_build/coda-daemon-macos/mina.exe daemon -rest-port 8080 &> /dev/tty",
3535
"fake-inspector": "graphql-faker --open -- schema.graphql",
3636
"build": "yarn copy-schema && bsb -make-world",
3737
"build-ci": "yarn run query-fake && yarn run build",

‎frontend/wallet/src/render/DownloadLogic.re

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ let installCoda = (tempPath, doneCb) => {
153153
extractZip(tempPath, installPath, res =>
154154
switch (res) {
155155
| Belt.Result.Ok () =>
156-
Bindings.Fs.chmodSync(installPath ++ "/coda.exe", 0o755);
156+
Bindings.Fs.chmodSync(installPath ++ "/mina.exe", 0o755);
157157
Bindings.Fs.chmodSync(installPath ++ "/libp2p_helper", 0o755);
158158
Bindings.Fs.readdirSync(installPath ++ "/keys")
159159
|> Array.to_list

‎maintenance/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
Generate full dune transitive dependency graph with `./gen_deps.sh`. This script will output `deps.dot` and `deps.png`.
66

7-
Once `deps.dot` is generated, you can narrow the dependency graph using `./narrow_deps.sh <node-id>`. You can inspect `deps.dot` to find the relevant node id you would like to narrow the graph to. Narrowing the graph will filter out the graph so that it only displays nodes which are dominated by the target, nodes that dominate the target, and all nodes in edges between these sets. For example, running `./narrow_deps.sh exe:./src/app/cli/src/dune:0` will generate a dependency graph for the `coda.exe` executable.
7+
Once `deps.dot` is generated, you can narrow the dependency graph using `./narrow_deps.sh <node-id>`. You can inspect `deps.dot` to find the relevant node id you would like to narrow the graph to. Narrowing the graph will filter out the graph so that it only displays nodes which are dominated by the target, nodes that dominate the target, and all nodes in edges between these sets. For example, running `./narrow_deps.sh exe:./src/app/cli/src/dune:0` will generate a dependency graph for the `mina.exe` executable.

‎rfcs/0039-snark-keys-management.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ to begin with. The interface may be extremely basic, reusing the current
108108
runtime configuration files:
109109

110110
```
111-
coda.exe advanced generate-snark-keys -config-file path/to/config.json
111+
mina.exe advanced generate-snark-keys -config-file path/to/config.json
112112
```
113113

114114
Suggested optional arguments are:
@@ -181,7 +181,7 @@ specific details of these are not clear yet and may vary, so these details are
181181
considered out of the scope of this RFC.
182182

183183
In most cases, it should be possible to use the
184-
`coda.exe advanced generate-snark-keys -config-file path/to/input_config.json -output-config-file path/to/output_config.json`
184+
`mina.exe advanced generate-snark-keys -config-file path/to/input_config.json -output-config-file path/to/output_config.json`
185185
form of the `generate-snark-keys` function above to do most or all of the
186186
necessary setup work.
187187

‎scripts/debug-dist-coda.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ sysctl -n machdep.cpu.brand_string
2121
echo "========="
2222
echo "== Verify static initilization works"
2323
echo "========="
24-
./coda.exe -help
24+
./mina.exe -help
2525

2626
# Re-enable if you want to debug illegal instructions
27-
# lldb -o run ./coda.exe transaction-snark-profiler
27+
# lldb -o run ./mina.exe transaction-snark-profiler
2828

2929
echo "========="
3030
echo "== Verify snarks work"
3131
echo "========="
32-
./coda.exe transaction-snark-profiler
32+
./mina.exe transaction-snark-profiler
3333

3434
rm -rf ~/.coda-config
3535

3636
echo "========="
3737
echo "== Verify full test"
3838
echo "========="
39-
./coda.exe integration-tests full-test
39+
./mina.exe integration-tests full-test
4040

‎scripts/macos-portable.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
set -eou pipefail
77

88
if [[ $# -ne 3 ]]; then
9-
echo "Usage: $0 <path-to-coda.exe> <outdir>"
9+
echo "Usage: $0 <path-to-mina.exe> <outdir>"
1010
exit 1
1111
fi
1212

@@ -16,7 +16,7 @@ DIST_DIR="$3"
1616

1717
mkdir -p "$DIST_DIR"
1818

19-
# move and sign coda.exe (if has rights)
19+
# move and sign mina.exe (if has rights)
2020
cp "$1" "$DIST_DIR/$LOCAL_CODA_EXE"
2121
set +u
2222
[ -z "$APPLE_ID" ] || codesign -s "$APPLE_ID" "$DIST_DIR/$LOCAL_CODA_EXE"
@@ -72,5 +72,5 @@ fixup() {
7272
done
7373
}
7474

75-
# Fix coda.exe
75+
# Fix mina.exe
7676
fixup "$LOCAL_CODA_EXE"

‎src/app/rosetta/docker-demo-start.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ function cleanup
77
CODE=${1:-0}
88
echo "Killing archive.exe"
99
kill $(ps aux | egrep '/mina-bin/.*archive.exe' | grep -v grep | awk '{ print $2 }') || true
10-
echo "Killing coda.exe"
11-
kill $(ps aux | egrep '/mina-bin/.*coda.exe' | grep -v grep | awk '{ print $2 }') || true
10+
echo "Killing mina.exe"
11+
kill $(ps aux | egrep '/mina-bin/.*mina.exe' | grep -v grep | awk '{ print $2 }') || true
1212
echo "Killing rosetta.exe"
1313
kill $(ps aux | egrep '/mina-bin/rosetta' | grep -v grep | awk '{ print $2 }') || true
1414
exit $CODE

‎src/app/rosetta/docker-start.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ function cleanup
66
{
77
echo "Killing archive.exe"
88
kill $(ps aux | egrep '/mina-bin/.*archive.exe' | grep -v grep | awk '{ print $2 }') || true
9-
echo "Killing coda.exe"
10-
kill $(ps aux | egrep '/mina-bin/.*coda.exe' | grep -v grep | awk '{ print $2 }') || true
9+
echo "Killing mina.exe"
10+
kill $(ps aux | egrep '/mina-bin/.*mina.exe' | grep -v grep | awk '{ print $2 }') || true
1111
echo "Killing rosetta.exe"
1212
kill $(ps aux | egrep '/mina-bin/rosetta' | grep -v grep | awk '{ print $2 }') || true
1313
echo "Stopping postgres"

‎src/app/rosetta/docker-test-start.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ function cleanup
77
CODE=${1:-0}
88
echo "Killing archive.exe"
99
kill $(ps aux | egrep '/mina-bin/.*archive.exe' | grep -v grep | awk '{ print $2 }') || true
10-
echo "Killing coda.exe"
11-
kill $(ps aux | egrep '/mina-bin/.*coda.exe' | grep -v grep | awk '{ print $2 }') || true
10+
echo "Killing mina.exe"
11+
kill $(ps aux | egrep '/mina-bin/.*mina.exe' | grep -v grep | awk '{ print $2 }') || true
1212
echo "Killing agent.exe"
1313
kill $(ps aux | egrep '/mina-bin/rosetta/test-agent/agent.exe' | grep -v grep | awk '{ print $2 }') || true
1414
echo "Killing rosetta.exe"

‎src/app/rosetta/start.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ function cleanup
77
CODE=${1:-0}
88
echo "Killing archive.exe"
99
kill $(ps aux | egrep '_build/default/src/app/.*archive.exe' | grep -v grep | awk '{ print $2 }') || true
10-
echo "Killing coda.exe"
11-
kill $(ps aux | egrep '_build/default/src/app/.*coda.exe' | grep -v grep | awk '{ print $2 }') || true
10+
echo "Killing mina.exe"
11+
kill $(ps aux | egrep '_build/default/src/app/.*mina.exe' | grep -v grep | awk '{ print $2 }') || true
1212
echo "Killing agent.exe"
1313
kill $(ps aux | egrep '_build/default/src/app/rosetta/test-agent/agent.exe' | grep -v grep | awk '{ print $2 }') || true
1414
echo "Killing rosetta.exe"

‎src/lib/command_line_tests/command_line_tests.ml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let%test_module "Command line tests" =
1616
dune won't allow running it via "dune exec", because it's outside its
1717
workspace, so we invoke the executable directly
1818
19-
the coda.exe executable must have been built before running the test
19+
the mina.exe executable must have been built before running the test
2020
here, else it will fail
2121
2222
*)
@@ -112,6 +112,6 @@ let%test_module "Command line tests" =
112112
| `Yes ->
113113
Async.Thread_safe.block_on_async_exn test_background_daemon
114114
| _ ->
115-
printf !"Please build coda.exe in order to run this test\n%!" ;
115+
printf !"Please build mina.exe in order to run this test\n%!" ;
116116
false
117117
end )

0 commit comments

Comments
 (0)