mirror of https://github.com/zcash/zips.git
Compare commits
8 Commits
d99e522bfc
...
e90c735548
Author | SHA1 | Date |
---|---|---|
Andrew Arnott | e90c735548 | |
Daira-Emma Hopwood | 5273fc9c99 | |
dependabot[bot] | bf6c166940 | |
Daira-Emma Hopwood | 2e9272e850 | |
Andrew Arnott | 1f9cb8713d | |
github-actions | 6a0a93c020 | |
Andrew Arnott | 250425e54a | |
Andrew Arnott | b8ba2282c2 |
|
@ -1 +0,0 @@
|
||||||
../../../Dockerfile
|
|
|
@ -1,7 +0,0 @@
|
||||||
name: Render Zcash Protocol Specification
|
|
||||||
description: GitHub Action to compile Zcash Protocol Specification LaTeX documents
|
|
||||||
author: Deirdre Connolly
|
|
||||||
runs:
|
|
||||||
using: docker
|
|
||||||
# Runs `make all` or something like it
|
|
||||||
image: Dockerfile
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
name: Render ZIPs and Zcash Protocol Specification
|
||||||
|
description: GitHub Action to compile ZIPs and Zcash Protocol Specification LaTeX documents
|
||||||
|
author: Deirdre Connolly
|
||||||
|
runs:
|
||||||
|
using: docker
|
||||||
|
# Runs `make all` or something like it
|
||||||
|
image: ../../../Dockerfile
|
|
@ -1,19 +1,23 @@
|
||||||
name: Render pdfs
|
name: Build tex and rst
|
||||||
|
|
||||||
on: workflow_dispatch
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
render:
|
render:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Git repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4.1.1
|
uses: actions/checkout@v4.1.2
|
||||||
|
|
||||||
- name: Compile Zcash Protocol Specification
|
- name: Compile ZIPs and Zcash Protocol Specification
|
||||||
uses: ./.github/actions/render-protocol-pdf
|
uses: ./.github/actions/render
|
||||||
|
|
||||||
- uses: EndBug/add-and-commit@v9.1.3
|
- uses: EndBug/add-and-commit@v9.1.3
|
||||||
with:
|
with:
|
||||||
add: '**/*.pdf'
|
add: 'protocol/*.pdf *.html'
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
FROM debian:latest
|
FROM debian:latest
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update
|
||||||
&& apt-get install -y \
|
RUN apt-get install -y \
|
||||||
gawk \
|
gawk \
|
||||||
perl \
|
perl \
|
||||||
sed \
|
sed \
|
||||||
|
@ -17,7 +17,10 @@ RUN apt-get update \
|
||||||
texlive-plain-generic \
|
texlive-plain-generic \
|
||||||
texlive-bibtex-extra
|
texlive-bibtex-extra
|
||||||
|
|
||||||
RUN pip3 install rst2html5
|
RUN rm /usr/lib/python3.11/EXTERNALLY-MANAGED
|
||||||
|
RUN pip install rst2html5
|
||||||
|
|
||||||
|
ENV PATH=${PATH}:/root/.local/bin
|
||||||
|
|
||||||
WORKDIR "/zips"
|
WORKDIR "/zips"
|
||||||
ENTRYPOINT ["make", "all"]
|
ENTRYPOINT ["make", "all"]
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
protocol/nu5.pdf
BIN
protocol/nu5.pdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -323,11 +323,13 @@ A Revision 0 UA/UVK is distinguished from a Revision 1 UA/UVK by its
|
||||||
Human-Readable Part, as follows.
|
Human-Readable Part, as follows.
|
||||||
|
|
||||||
Let *prefix* be:
|
Let *prefix* be:
|
||||||
|
|
||||||
* “``u``”, if this is a UA/UVK prior to `Revision 1`_;
|
* “``u``”, if this is a UA/UVK prior to `Revision 1`_;
|
||||||
* “``ur``”, if this is a UA/UVK from `Revision 1`_ onward.
|
* “``ur``”, if this is a UA/UVK from `Revision 1`_ onward.
|
||||||
|
|
||||||
The Human-Readable Parts (as defined in [#bip-0350]_) of Unified
|
The Human-Readable Parts (as defined in [#bip-0350]_) of Unified
|
||||||
Addresses are defined as:
|
Addresses are defined as:
|
||||||
|
|
||||||
* *prefix*, for Unified Addresses on Mainnet;
|
* *prefix*, for Unified Addresses on Mainnet;
|
||||||
* *prefix* || “``test``”, for Unified Addresses on Testnet.
|
* *prefix* || “``test``”, for Unified Addresses on Testnet.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue