@ledgerhq/zcash-utils 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +2 -0
- package/index.d.ts +14 -1
- package/index.darwin-arm64.node +0 -0
- package/index.darwin-x64.node +0 -0
- package/index.linux-arm64-gnu.node +0 -0
- package/index.linux-x64-gnu.node +0 -0
- package/index.win32-arm64-msvc.node +0 -0
- package/index.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @ledgerhq/zcash-utils
|
|
2
2
|
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix zero anchor
|
|
8
|
+
|
|
9
|
+
# @ledgerhq/zcash-utils
|
|
10
|
+
|
|
11
|
+
## 1.0.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Fix find block height low boundary block number
|
|
16
|
+
|
|
17
|
+
# @ledgerhq/zcash-utils
|
|
18
|
+
|
|
3
19
|
## 1.0.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -100,6 +100,7 @@ interface ShieldedTransaction {
|
|
|
100
100
|
fee: number; // Fee in zatoshis
|
|
101
101
|
saplingNotes: ShieldedNote[];
|
|
102
102
|
orchardNotes: ShieldedNote[];
|
|
103
|
+
ironwoodNotes: ShieldedNote[]; // Ironwood (NU6.3) pool notes
|
|
103
104
|
}
|
|
104
105
|
```
|
|
105
106
|
|
|
@@ -110,6 +111,7 @@ interface ShieldedNote {
|
|
|
110
111
|
amount: number; // Amount in zatoshis
|
|
111
112
|
transferType: string; // "incoming", "outgoing", or "internal"
|
|
112
113
|
memo: string;
|
|
114
|
+
pool: string; // "sapling", "orchard", or "ironwood" — the shielded pool this note belongs to
|
|
113
115
|
}
|
|
114
116
|
```
|
|
115
117
|
|
package/index.d.ts
CHANGED
|
@@ -54,7 +54,14 @@ export interface ShieldedNote {
|
|
|
54
54
|
transferType: string
|
|
55
55
|
/** Memo text decoded from the note. */
|
|
56
56
|
memo: string
|
|
57
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* `"sapling"`, `"orchard"`, or `"ironwood"` — the shielded pool this note
|
|
59
|
+
* belongs to. Additive field: existing consumers that ignore it are
|
|
60
|
+
* unaffected; new consumers use it to distinguish Orchard from Ironwood
|
|
61
|
+
* notes now that both appear in this shared `ShieldedNote` shape.
|
|
62
|
+
*/
|
|
63
|
+
pool: string
|
|
64
|
+
/** Orchard/Ironwood nullifier (64-char hex = 32 bytes). Used for spent detection and PCZT. */
|
|
58
65
|
nullifier?: string
|
|
59
66
|
/** rho value (64-char hex = 32 bytes). Required with rseed for Note::from_parts. */
|
|
60
67
|
rho?: string
|
|
@@ -91,6 +98,12 @@ export interface ShieldedTransaction {
|
|
|
91
98
|
saplingNotes: Array<ShieldedNote>
|
|
92
99
|
/** Decrypted Orchard notes belonging to this account. */
|
|
93
100
|
orchardNotes: Array<ShieldedNote>
|
|
101
|
+
/**
|
|
102
|
+
* Decrypted Ironwood (NU6.3) notes belonging to this account. Additive
|
|
103
|
+
* field, parallel to `orchard_notes` — existing consumers that only read
|
|
104
|
+
* `orchardNotes`/`saplingNotes` are unaffected.
|
|
105
|
+
*/
|
|
106
|
+
ironwoodNotes: Array<ShieldedNote>
|
|
94
107
|
}
|
|
95
108
|
/** Scan statistics returned once the stream is exhausted. */
|
|
96
109
|
export interface SyncStats {
|
package/index.darwin-arm64.node
CHANGED
|
Binary file
|
package/index.darwin-x64.node
CHANGED
|
Binary file
|
|
Binary file
|
package/index.linux-x64-gnu.node
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|