Edit everything for zcash

This commit is contained in:
Karel Bilek 2018-06-10 16:27:34 +02:00
parent bc8b6b364b
commit 0397b1a5c8
No known key found for this signature in database
GPG Key ID: 7006C66FDB36247C
2 changed files with 7 additions and 16 deletions

View File

@ -91,7 +91,7 @@ func open(path string) io.Writer {
}
func run(args ...string) string {
out, err := exec.Command("/home/g/dev/bitcoind/bitcoin-0.16.0/bin/bitcoin-cli", args...).CombinedOutput()
out, err := exec.Command("/home/g/zcash/zcash-1.1.1/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="Bitcoin Core RPC Docs{{if .Command}} - {{.Command.Name}}{{end}}">
<meta name="description" content="Zcash 1.1.1 RPC Docs{{if .Command}} - {{.Command.Name}}{{end}}">
<meta name="author" content="">
<title>{{if .Command}}{{.Command.Name}} - {{end}}Bitcoin Core RPC Docs</title>
<title>{{if .Command}}{{.Command.Name}} - {{end}}Zcash 1.1.1 RPC Docs</title>
<link href="./bootstrap.min.css" rel="stylesheet">
</head>
@ -25,32 +25,23 @@
<nav class="navbar navbar-dark bg-dark ">
<a class="navbar-brand" href="/">Bitcoin Core RPC docs</a>
<a class="navbar-brand" href="/">Zcash 1.1.1 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}}Bitcoin RPC</h1>
<h1>{{if .Command}}{{.Command.Name}} - {{end}}Zcash 1.1.1 RPC</h1>
{{if .Command}}
<pre>{{.Command.Description}}</pre>
<hr>
{{end}}
<p>
This is a website, created out of frustration with uncomplete and outdated Bitcoin Core RPC documentation online.
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>
It was inspired by <a href="http://chainquery.com/bitcoin-api">ChainQuery</a>, which seems to be abandoned. These docs are even simplier, so they can be regenerated by anyone.
</p>
<p>
Made by <a href="https://twitter.com/karel_3d">@karel_3d</a>; license of the docs is MIT (see <a href="https://github.com/bitcoin/bitcoin/">bitcoin repo</a>), license of the scripts and webpage is also MIT ((C) 2018 Karel Bilek) (<a href="https://github.com/bitcoin-rpc/bitcoin-rpc.github.io">github repo</a>)
</p>
<p>
Bitcoin version: 0.16.0.
</p>
<p>
Note that the RPC is from a regtest node (for completeness), so it includes some additional calls that a regular node doesn't have.
Note it uses a regtest node, so it includes some additional calls that a regular node doesn't have.
</p>
</div>
<div class="col-4 col-lg-3 col-xl-2">