This commit is contained in:
Karel Bilek 2018-08-20 23:14:10 +07:00
parent ed921195a9
commit 9744dc11ae
No known key found for this signature in database
GPG Key ID: 7006C66FDB36247C
2 changed files with 6 additions and 6 deletions

View File

@ -91,7 +91,7 @@ func open(path string) io.Writer {
}
func run(args ...string) string {
out, err := exec.Command("/home/g/zcash/zcash-1.1.1/bin/zcash-cli", args...).CombinedOutput()
out, err := exec.Command("/usr/bin/zcash-cli", args...).CombinedOutput()
if err != nil {
panic(err)
}

View File

@ -3,10 +3,10 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1200px, shrink-to-fit=yes">
<meta name="description" content="Zcash 1.1.1 RPC Docs{{if .Command}} - {{.Command.Name}}{{end}}">
<meta name="description" content="Zcash 2.0.0 RPC Docs{{if .Command}} - {{.Command.Name}}{{end}}">
<meta name="author" content="">
<title>{{if .Command}}{{.Command.Name}} - {{end}}Zcash 1.1.1 RPC Docs</title>
<title>{{if .Command}}{{.Command.Name}} - {{end}}Zcash 2.0.0 RPC Docs</title>
<link href="./bootstrap.min.css" rel="stylesheet">
</head>
@ -25,14 +25,14 @@
<nav class="navbar navbar-dark bg-dark ">
<a class="navbar-brand" href="/">Zcash 1.1.1 RPC docs</a>
<a class="navbar-brand" href="/">Zcash 2.0.0 RPC docs</a>
</nav>
<main role="main" class="container-fluid" style="margin-top: 1pc;">
<div class="row">
<div class="col-8 col-lg-9 col-xl-10">
<h1>{{if .Command}}{{.Command.Name}} - {{end}}Zcash 1.1.1 RPC</h1>
<h1>{{if .Command}}{{.Command.Name}} - {{end}}Zcash 2.0.0 RPC</h1>
{{if .Command}}
<pre>{{.Command.Description}}</pre>
<hr>
@ -41,7 +41,7 @@
Made by <a href="https://twitter.com/karel_3d">@karel_3d</a>; license of the docs is MIT (see <a href="https://github.com/zcash/zcash">zcash repo</a>), license of the scripts and webpage is also MIT ((C) 2018 Karel Bilek) (<a href="https://github.com/zcash-rpc/zcash-rpc.github.io">github repo</a>)
</p>
<p>
Note it uses a regtest node, so it includes some additional calls that a regular node doesn't have.
Note it uses a mainnet node
</p>
</div>
<div class="col-4 col-lg-3 col-xl-2">