Commit Graph

1812 Commits

Author SHA1 Message Date
str4d 5c7ec37c04 Specify Equihash solution format 2020-06-29 17:40:21 +01:00
str4d 565ceecfb4 Improve specification for nonce parts 2020-06-29 17:40:21 +01:00
str4d 1ee4ba1409 Use block quotes for protocol messages, emphasise parameters 2020-06-29 17:40:21 +01:00
str4d f4fe8fea10 Miners can use error code for deriving human-readable messages 2020-06-29 17:40:21 +01:00
str4d 26d4d827d8 Correct boolean methods to follow JSON-RPC 1.0 2020-06-29 17:40:21 +01:00
str4d 0b2941372e Correct order of parameters in mining.subscribe response 2020-06-29 17:40:21 +01:00
str4d 1f001c06ee Clarify that block header parts use block header encoding 2020-06-29 17:40:21 +01:00
str4d fe0574906f Specify error objects 2020-06-29 17:40:21 +01:00
str4d a396f5b973 Minor tweaks 2020-06-29 17:40:21 +01:00
str4d 6ea4d05e76 Specify session resuming 2020-06-29 17:40:21 +01:00
str4d b2d405ced0 Add comment about id uniqueness 2020-06-29 17:40:21 +01:00
str4d 2aabd172bd Extract definition of nonce parts into a separate section 2020-06-29 17:40:21 +01:00
str4d 1e21aeb83e Add Daira as editor 2020-06-29 17:40:21 +01:00
str4d 5dc732e7ef Add reference to Bitcoin block header 2020-06-29 17:40:20 +01:00
str4d 47eb8924c9 Reference P2Pool 2020-06-29 17:40:20 +01:00
str4d fcf68b6200 Reference original Stratum docs in motivation section 2020-06-29 17:40:20 +01:00
str4d e3af1254c5 Add reference to ZIP-1 2020-06-29 17:40:20 +01:00
str4d 33a2d8f35f Move motivation section just under abstract 2020-06-29 17:40:20 +01:00
str4d 11e51b6349 Specify encoding of VERSION and TIME 2020-06-29 17:40:20 +01:00
str4d becff6ffdd Improve specification of target 2020-06-29 17:40:20 +01:00
str4d 4a8cce90b7 Require error messages for false boolean results 2020-06-29 17:40:20 +01:00
str4d 30d06746c9 Add specification overview and protocol flow 2020-06-29 17:40:20 +01:00
str4d 2a7d10c053 Explain link between worker names and job IDs 2020-06-29 17:40:20 +01:00
str4d 437100c81c Explain the host and port fields in mining.subscribe 2020-06-29 17:40:20 +01:00
str4d 5723b79f69 Use definition lists for variable definitions 2020-06-29 17:40:20 +01:00
str4d 569aa36450 First draft of Zcash Stratum protocol 2020-06-29 17:40:20 +01:00
Daira Hopwood bba80b5b0b ZIP 307: fix a reference.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-29 17:15:57 +01:00
Daira Hopwood 513e6ef89a Update README.rst.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-29 17:14:12 +01:00
Daira Hopwood 909b60e942 ZIP 307: add HTML and index entry.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-29 17:13:17 +01:00
Daira Hopwood e8e41470f8 zip-XXX-light-payment-detection.rst -> zip-0307.rst
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-29 17:12:04 +01:00
Daira Hopwood 1c5281f906 ZIP 307 updates.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-29 17:12:04 +01:00
Jack Grigg 8574f3df93 Block header validation 2020-06-29 17:12:04 +01:00
Jack Grigg 201609ad7e Expand note witness handling 2020-06-29 17:12:04 +01:00
Jack Grigg 8bfa5e60b4 Describe interaction changes when importing a seed 2020-06-29 17:12:04 +01:00
Jack Grigg 481436cc00 Reformat client-server interaction and block privacy sections 2020-06-29 17:12:04 +01:00
Jack Grigg 3c534067bf Client operations 2020-06-29 17:12:04 +01:00
George Tankersley 81fc443ec1 zipXXX: add description of API 2020-06-29 17:12:04 +01:00
George Tankersley e0ec6d5eff zipWIP: add diagrams and tables 2020-06-29 17:12:04 +01:00
George Tankersley 8f11e9dee1 zipWIP: light payment draft 2020-06-29 17:12:04 +01:00
Daira Hopwood 03932d2335 Regenerate PDFs.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-26 21:24:41 +01:00
Daira Hopwood a333649a4e Cosmetic change to the 2020.1.6 history entry. 2020-06-26 20:57:39 +01:00
Daira Hopwood 3ce9bd9823 Replace the block interval 32256 with the constant ZIP212GracePeriod.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-26 20:57:39 +01:00
Daira Hopwood 66acf80d18 Other cosmetic changes to the batch validation equations.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-26 20:57:39 +01:00
Daira Hopwood 45c2b616e2 Fix sign errors in the fixed-base terms of the batch validation equations in Appendices B.1 and B.3.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-26 20:57:39 +01:00
Daira Hopwood 3e98e63a6c For Sprout, add an explicit lead byte field to note plaintexts.
For Sapling, define note plaintext lead bytes as just bytes (so that decoding always succeeds and error handling is more explicit).

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-26 20:47:32 +01:00
Daira Hopwood a3e4403f50 Delete some 'new' superscripts that only added notational clutter.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-26 18:58:17 +01:00
Daira Hopwood 3567634837 Regenerate PDFs.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-17 23:32:25 +01:00
Daira Hopwood af41efa40c Protocol spec: ZIP 212 changes.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-17 23:28:27 +01:00
Daira Hopwood eb222b4fe0 Remove some unused macros.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-17 23:01:13 +01:00
Daira Hopwood 8ccd4e656b Add an appendix on Ed25519 batch validation.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2020-06-17 23:01:13 +01:00