@@ -183,11 +183,15 @@ <h2>Table of Contents</h2>
183
183
</ li >
184
184
185
185
< li >
186
- < a href ="#cash.z.wallet.sdk.rpc.CompactOutput "> < span class ="badge "> M</ span > CompactOutput </ a >
186
+ < a href ="#cash.z.wallet.sdk.rpc.CompactOrchardAction "> < span class ="badge "> M</ span > CompactOrchardAction </ a >
187
187
</ li >
188
188
189
189
< li >
190
- < a href ="#cash.z.wallet.sdk.rpc.CompactSpend "> < span class ="badge "> M</ span > CompactSpend</ a >
190
+ < a href ="#cash.z.wallet.sdk.rpc.CompactSaplingOutput "> < span class ="badge "> M</ span > CompactSaplingOutput</ a >
191
+ </ li >
192
+
193
+ < li >
194
+ < a href ="#cash.z.wallet.sdk.rpc.CompactSaplingSpend "> < span class ="badge "> M</ span > CompactSaplingSpend</ a >
191
195
</ li >
192
196
193
197
< li >
@@ -408,7 +412,52 @@ <h3 id="cash.z.wallet.sdk.rpc.CompactBlock">CompactBlock</h3>
408
412
409
413
410
414
411
- < h3 id ="cash.z.wallet.sdk.rpc.CompactOutput "> CompactOutput</ h3 >
415
+ < h3 id ="cash.z.wallet.sdk.rpc.CompactOrchardAction "> CompactOrchardAction</ h3 >
416
+ < p > https://github.com/zcash/zips/blob/main/zip-0225.rst#orchard-action-description-orchardaction</ p > < p > (but not all fields are needed)</ p >
417
+
418
+
419
+ < table class ="field-table ">
420
+ < thead >
421
+ < tr > < td > Field</ td > < td > Type</ td > < td > Label</ td > < td > Description</ td > </ tr >
422
+ </ thead >
423
+ < tbody >
424
+
425
+ < tr >
426
+ < td > nullifier</ td >
427
+ < td > < a href ="#bytes "> bytes</ a > </ td >
428
+ < td > </ td >
429
+ < td > < p > [32] The nullifier of the input note </ p > </ td >
430
+ </ tr >
431
+
432
+ < tr >
433
+ < td > cmx</ td >
434
+ < td > < a href ="#bytes "> bytes</ a > </ td >
435
+ < td > </ td >
436
+ < td > < p > [32] The x-coordinate of the note commitment for the output note </ p > </ td >
437
+ </ tr >
438
+
439
+ < tr >
440
+ < td > ephemeralKey</ td >
441
+ < td > < a href ="#bytes "> bytes</ a > </ td >
442
+ < td > </ td >
443
+ < td > < p > [32] An encoding of an ephemeral Pallas public key </ p > </ td >
444
+ </ tr >
445
+
446
+ < tr >
447
+ < td > ciphertext</ td >
448
+ < td > < a href ="#bytes "> bytes</ a > </ td >
449
+ < td > </ td >
450
+ < td > < p > [52] The note plaintext component of the encCiphertext field </ p > </ td >
451
+ </ tr >
452
+
453
+ </ tbody >
454
+ </ table >
455
+
456
+
457
+
458
+
459
+
460
+ < h3 id ="cash.z.wallet.sdk.rpc.CompactSaplingOutput "> CompactSaplingOutput</ h3 >
412
461
< p > output is a Sapling Output Description as described in section 7.4 of the</ p > < p > Zcash protocol spec. Total size is 948.</ p >
413
462
414
463
@@ -436,7 +485,7 @@ <h3 id="cash.z.wallet.sdk.rpc.CompactOutput">CompactOutput</h3>
436
485
< td > ciphertext</ td >
437
486
< td > < a href ="#bytes "> bytes</ a > </ td >
438
487
< td > </ td >
439
- < td > < p > ciphertext and zkproof </ p > </ td >
488
+ < td > < p > first 52 bytes of ciphertext </ p > </ td >
440
489
</ tr >
441
490
442
491
</ tbody >
@@ -446,8 +495,8 @@ <h3 id="cash.z.wallet.sdk.rpc.CompactOutput">CompactOutput</h3>
446
495
447
496
448
497
449
- < h3 id ="cash.z.wallet.sdk.rpc.CompactSpend " > CompactSpend </ h3 >
450
- < p > CompactSpend is a Sapling Spend Description as described in 7.3 of the Zcash</ p > < p > protocol specification.</ p >
498
+ < h3 id ="cash.z.wallet.sdk.rpc.CompactSaplingSpend " > CompactSaplingSpend </ h3 >
499
+ < p > CompactSaplingSpend is a Sapling Spend Description as described in 7.3 of the Zcash</ p > < p > protocol specification.</ p >
451
500
452
501
453
502
< table class ="field-table ">
@@ -507,18 +556,25 @@ <h3 id="cash.z.wallet.sdk.rpc.CompactTx">CompactTx</h3>
507
556
508
557
< tr >
509
558
< td > spends</ td >
510
- < td > < a href ="#cash.z.wallet.sdk.rpc.CompactSpend " > CompactSpend </ a > </ td >
559
+ < td > < a href ="#cash.z.wallet.sdk.rpc.CompactSaplingSpend " > CompactSaplingSpend </ a > </ td >
511
560
< td > repeated</ td >
512
561
< td > < p > inputs </ p > </ td >
513
562
</ tr >
514
563
515
564
< tr >
516
565
< td > outputs</ td >
517
- < td > < a href ="#cash.z.wallet.sdk.rpc.CompactOutput " > CompactOutput </ a > </ td >
566
+ < td > < a href ="#cash.z.wallet.sdk.rpc.CompactSaplingOutput " > CompactSaplingOutput </ a > </ td >
518
567
< td > repeated</ td >
519
568
< td > < p > outputs </ p > </ td >
520
569
</ tr >
521
570
571
+ < tr >
572
+ < td > actions</ td >
573
+ < td > < a href ="#cash.z.wallet.sdk.rpc.CompactOrchardAction "> CompactOrchardAction</ a > </ td >
574
+ < td > repeated</ td >
575
+ < td > < p > </ p > </ td >
576
+ </ tr >
577
+
522
578
</ tbody >
523
579
</ table >
524
580
@@ -836,6 +892,21 @@ <h3 id="cash.z.wallet.sdk.rpc.DarksideStreamer">DarksideStreamer</h3>
836
892
< td > < p > Clear the incoming transaction pool.</ p > </ td >
837
893
</ tr >
838
894
895
+ < tr >
896
+ < td > AddAddressUtxo</ td >
897
+ < td > < a href ="#cash.z.wallet.sdk.rpc.GetAddressUtxosReply "> GetAddressUtxosReply</ a > </ td >
898
+ < td > < a href ="#cash.z.wallet.sdk.rpc.Empty "> Empty</ a > </ td >
899
+ < td > < p > Add a GetAddressUtxosReply entry to be returned by GetAddressUtxos().
900
+ There is no staging or applying for these, very simple.</ p > </ td >
901
+ </ tr >
902
+
903
+ < tr >
904
+ < td > ClearAddressUtxo</ td >
905
+ < td > < a href ="#cash.z.wallet.sdk.rpc.Empty "> Empty</ a > </ td >
906
+ < td > < a href ="#cash.z.wallet.sdk.rpc.Empty "> Empty</ a > </ td >
907
+ < td > < p > Clear the list of GetAddressUtxos entries (can't fail)</ p > </ td >
908
+ </ tr >
909
+
839
910
</ tbody >
840
911
</ table >
841
912
@@ -1045,7 +1116,7 @@ <h3 id="cash.z.wallet.sdk.rpc.Exclude">Exclude</h3>
1045
1116
1046
1117
1047
1118
< h3 id ="cash.z.wallet.sdk.rpc.GetAddressUtxosArg "> GetAddressUtxosArg</ h3 >
1048
- < p > </ p >
1119
+ < p > Results are sorted by height, which makes it easy to issue another </ p > < p > request that picks up from where the previous left off. </ p >
1049
1120
1050
1121
1051
1122
< table class ="field-table ">
@@ -1055,9 +1126,9 @@ <h3 id="cash.z.wallet.sdk.rpc.GetAddressUtxosArg">GetAddressUtxosArg</h3>
1055
1126
< tbody >
1056
1127
1057
1128
< tr >
1058
- < td > address </ td >
1129
+ < td > addresses </ td >
1059
1130
< td > < a href ="#string "> string</ a > </ td >
1060
- < td > </ td >
1131
+ < td > repeated </ td >
1061
1132
< td > < p > </ p > </ td >
1062
1133
</ tr >
1063
1134
@@ -1092,6 +1163,13 @@ <h3 id="cash.z.wallet.sdk.rpc.GetAddressUtxosReply">GetAddressUtxosReply</h3>
1092
1163
</ thead >
1093
1164
< tbody >
1094
1165
1166
+ < tr >
1167
+ < td > address</ td >
1168
+ < td > < a href ="#string "> string</ a > </ td >
1169
+ < td > </ td >
1170
+ < td > < p > </ p > </ td >
1171
+ </ tr >
1172
+
1095
1173
< tr >
1096
1174
< td > txid</ td >
1097
1175
< td > < a href ="#bytes "> bytes</ a > </ td >
@@ -1305,7 +1383,7 @@ <h3 id="cash.z.wallet.sdk.rpc.PingResponse">PingResponse</h3>
1305
1383
1306
1384
1307
1385
< h3 id ="cash.z.wallet.sdk.rpc.RawTransaction "> RawTransaction</ h3 >
1308
- < p > RawTransaction contains the complete transaction data. It also optionally includes </ p > < p > the block height in which the transaction was included.</ p >
1386
+ < p > RawTransaction contains the complete transaction data. It also optionally includes </ p > < p > the block height in which the transaction was included, or, when returned </ p > < p > by GetMempoolStream(), the latest block height .</ p >
1309
1387
1310
1388
1311
1389
< table class ="field-table ">
@@ -1572,6 +1650,14 @@ <h3 id="cash.z.wallet.sdk.rpc.CompactTxStreamer">CompactTxStreamer</h3>
1572
1650
in the exclude list that don't exist in the mempool are ignored.</ p > </ td >
1573
1651
</ tr >
1574
1652
1653
+ < tr >
1654
+ < td > GetMempoolStream</ td >
1655
+ < td > < a href ="#cash.z.wallet.sdk.rpc.Empty "> Empty</ a > </ td >
1656
+ < td > < a href ="#cash.z.wallet.sdk.rpc.RawTransaction "> RawTransaction</ a > stream</ td >
1657
+ < td > < p > Return a stream of current Mempool transactions. This will keep the output stream open while
1658
+ there are mempool transactions. It will close the returned stream when a new block is mined.</ p > </ td >
1659
+ </ tr >
1660
+
1575
1661
< tr >
1576
1662
< td > GetTreeState</ td >
1577
1663
< td > < a href ="#cash.z.wallet.sdk.rpc.BlockID "> BlockID</ a > </ td >
@@ -1607,7 +1693,7 @@ <h3 id="cash.z.wallet.sdk.rpc.CompactTxStreamer">CompactTxStreamer</h3>
1607
1693
< td > Ping</ td >
1608
1694
< td > < a href ="#cash.z.wallet.sdk.rpc.Duration "> Duration</ a > </ td >
1609
1695
< td > < a href ="#cash.z.wallet.sdk.rpc.PingResponse "> PingResponse</ a > </ td >
1610
- < td > < p > Testing-only</ p > </ td >
1696
+ < td > < p > Testing-only, requires lightwalletd --ping-very-insecure (do not enable in production) </ p > </ td >
1611
1697
</ tr >
1612
1698
1613
1699
</ tbody >
0 commit comments