Commit graph

147 commits

Author SHA1 Message Date
3c2e8fc994
Fix TxIn parsing 2024-04-05 12:47:17 -05:00
98fb89b7b0
Merge branch 'dev040' into rav001 2024-04-02 11:36:14 -05:00
6ad879c155
Implements FFI for transaction deserialization 2024-04-02 11:23:05 -05:00
93a04c09d3
Merge branch 'dev040' into rvv040 2024-03-31 06:43:17 -05:00
58b74a4c9a
Update getBlockTime to use HexString 2024-03-29 15:51:48 -05:00
7cada685ce getBlockTime function added 2024-03-28 15:06:02 -04:00
52950885c1
Implements parsing of transparent bundles 2024-03-27 13:22:34 -05:00
0fb02b2514
Correct parsing of OutPoint 2024-03-27 09:00:00 -05:00
f593fefd7f
Add types for low-level transparent components 2024-03-26 15:37:04 -05:00
b0df0480c5
Implement Transaction hex deserialization 2024-03-26 09:50:49 -05:00
f099544162
Account for missing response fields in Zebra response (#43)
This PR adds code to account for the missing `time` field in the Zebra response for blocks and raw transactions.

Reviewed-on: #43
Co-authored-by: pitmutt <rene@vergara.network>
Co-committed-by: pitmutt <rene@vergara.network>
2024-03-22 18:04:04 +00:00
5b6ce3f29b
Account for missing block time field 2024-03-21 19:27:09 -05:00
aa10e09595
Implement Sapling spends (#42)
This PR add support for Sapling spends in the communication with Zebra.

Reviewed-on: #42
Co-authored-by: Rene Vergara <rene@vergara.network>
Co-committed-by: Rene Vergara <rene@vergara.network>
2024-03-21 20:15:49 +00:00
9c8a851ead
Implement Sapling spends 2024-03-21 15:12:22 -05:00
d7752e9866
Improve response handling for Zebra RPC (#41)
This PR includes changes to handle differences between the `zebrad` and `zcashd` RPC.

Reviewed-on: #41
Co-authored-by: Rene Vergara <rene@vergara.network>
Co-committed-by: Rene Vergara <rene@vergara.network>
2024-03-21 18:26:13 +00:00
69bce58345
Improve exception handling of Zebra calls 2024-03-21 12:52:45 -05:00
3af235377b
Adapt response handling to Zebra (#40)
This PR allows for the Zebra behavior of not having a `result` field in the RPC response on error conditions.

Reviewed-on: #40
Co-authored-by: Rene Vergara <rene@vergara.network>
Co-committed-by: Rene Vergara <rene@vergara.network>
2024-03-20 19:33:36 +00:00
517b736c9a
Allow for missing result in RPC response 2024-03-20 14:16:12 -05:00
1af152dc31
Upgrade Zebra call (#39)
Reviewed-on: #39
Co-authored-by: Rene Vergara <rene@vergara.network>
Co-committed-by: Rene Vergara <rene@vergara.network>
2024-03-20 16:15:30 +00:00
e7050f03c0
Upgrade Zebra call 2024-03-20 11:13:02 -05:00
bc1ee2430a
Improve dependency on Haskoin for downstream 2024-03-15 12:26:28 -05:00
d1b0436af2
Add documentation for new functions 2024-03-15 10:26:06 -05:00
d5c50d58c5
Merge branch 'rvv040' into rav001 2024-03-15 10:11:27 -05:00
0a98246855 Transparent fix 2 2024-03-14 17:47:09 -04:00
2c58d1260a Transparent address fix 2024-03-14 17:44:18 -04:00
c93809489b
Add Read instance to Phrase 2024-03-14 13:12:18 -05:00
d0ba74c7a1
Fix #34 2024-03-14 13:02:02 -05:00
4cc4c37960
Improve type safety for Orchard 2024-03-14 12:35:13 -05:00
d2619123c0
Improve type safety for Sapling 2024-03-14 11:30:54 -05:00
23472ee1c4
Improve type safety for Seed and Phrase 2024-03-14 11:13:10 -05:00
8a293f4e79
Enable for internal/external Orchard receivers 2024-03-14 11:12:31 -05:00
5815c5c326 Merge with dev040 2024-03-13 15:37:23 -04:00
6e1048cd4d
Adjust Transparent generators to use indices 2024-03-13 14:12:28 -05:00
c5feb10fbc
Update Sapling spending key with coin type 2024-03-13 12:50:39 -05:00
4f20160c36
Enable Unified Address generation tests 2024-03-12 16:03:35 -05:00
1d59e8f5eb After merging with dev040 2024-03-12 15:57:43 -04:00
5db66dcf39
Adjust indexing of Sapling payment addresses 2024-03-12 12:22:05 -05:00
db92dd7de7
Implement Sapling child key derivation 2024-03-11 15:23:29 -05:00
46efe9cd21 Commit first version of genSaplingInternalAddress function 2024-03-10 22:19:51 -04:00
4443ffeec5
Add signature for internal Sapling address 2024-03-10 10:20:10 -05:00
1e795dbcea
Merge remote-tracking branch 'forge/rvv040' into rvv040 2024-03-10 10:01:19 -05:00
7538bbfa19
Revision of Sapling receiver logic 2024-03-10 07:47:26 -05:00
477817f37f Find_Address method implemented 2024-03-09 10:28:36 -05:00
a549c8be9a Merge branch 'dev040' into rvv040 2024-03-08 15:32:36 -05:00
54b1567011 Default Paymebt address and DiversifierIndex created
x
2024-03-08 14:46:41 -05:00
9c4e26c9f2
Implement initial changes for ZIP-320 Rev1 2024-03-08 13:35:37 -06:00
6e31d83963
Update UnifiedAddress to use named types for receivers 2024-03-08 13:09:13 -06:00
6c2dfa02fa
Implement QuickCheck tests for Orchard components 2024-03-08 12:44:10 -06:00
72e87577a7
Add generation of Orchard receivers 2024-03-07 16:06:33 -06:00
f1174751fc
Add new types for Spending Keys and Receivers 2024-03-07 16:05:59 -06:00
977f4e791d
Implement Unified HRP constants 2024-03-06 15:35:03 -06:00
d118a83993
Add constants to library 2024-03-06 13:05:00 -06:00
0e6f7503d4 Sapling Extended Spemding Key generation from HDSedd (64 byte array) 2024-03-05 22:10:05 -05:00
dbccb23b45 Merge branch 'dev040' into rvv040
-- Include orchard Spending Key and new types for working with
	-- zcash network and keys
2024-03-05 17:16:27 -05:00
7b65d322e6 Commit 003 - before merging with dev040 - with orchard spending key 2024-03-05 17:01:17 -05:00
3822e9f2ff
Add tests for Orchard spending key 2024-03-05 15:09:35 -06:00
53716685a8
Add new types for constants for Zcash protocol 2024-03-05 14:44:19 -06:00
694ab8fd17
Add new Orchard spending key generation 2024-03-05 14:44:00 -06:00
9acbe5b98c
Fix compilation for Spending Key 2024-03-05 07:36:45 -06:00
a6c358cd5d Commit for debuggin process
Erros with Parameters for rustWrapperSaplingSpendingkey function
   x in Sapling.hs module
2024-03-04 18:46:39 -05:00
0b1d9e0920
Implement UA encoding per ZIP-316 2024-03-04 11:59:07 -06:00
97b338bddc Commit for revision... 2024-03-03 16:19:06 -05:00
9a5ad756b8
Add Read implementation to UnifiedAddress 2024-03-02 07:53:48 -06:00
cb44b6d4e0
Correct type for blockheight 2024-02-27 19:06:58 -06:00
f95ebc7b00
Add host parameter for Zebra nodes 2024-02-14 08:19:34 -06:00
75c95b03dc
Implement Zebra RPC calling functions 2024-02-12 11:55:42 -06:00
88a5189eba
Add Read implementations 2024-02-09 13:24:34 -06:00
c91e23ab9c
Add function documentation 2024-02-09 13:23:58 -06:00
c001fb5343
Implement HexString 2024-02-06 13:10:06 -06:00
beebabcf49
Update license to MIT 2024-01-18 12:55:23 -06:00
ca8010145b
Add functions to generate seed phrases and seeds 2024-01-16 16:15:05 -06:00
dce171d830
Encode transparent addresses 2024-01-12 09:46:26 -06:00
abd605e6eb
Licensing update 2023-12-20 14:03:42 -06:00
1d558fc646
Implement check of Unified Address and UVK 2023-10-04 11:12:30 -05:00
7992e5bfbe
Expand fields of raw Tx parsing 2023-10-02 15:25:44 -05:00
a6a69ae4cc
Integrate Bech32 decoding into Sapling key validation 2023-09-28 14:23:42 -05:00
cbbbaa0fd0
Correct JSON parser for raw Tx 2023-09-28 13:56:31 -05:00
d78c269d96
Update raw Tx parsing to extract shielded outputs 2023-09-27 14:04:53 -05:00
489d3d632f
Add extraction of shielded outputs 2023-09-27 10:37:53 -05:00
c4799c3558
Changes for use of viewing keys 2023-09-26 15:24:18 -05:00
90b0b3e954
Add tx hex field parsing 2023-09-25 07:51:14 -05:00
846c8971fe
Update Sapling decoding functions 2023-08-23 15:19:31 -05:00
1d8e3729a8
Implement Sapling tx decoding 2023-08-22 15:05:40 -05:00
4d2540dce1
Update dependency graph 2023-08-21 15:58:12 -05:00
deb3ef33da
Add tests for JSON parsers 2023-08-21 09:57:45 -05:00
fef27b09bd
Add types for block and raw Tx response 2023-08-19 07:58:47 -05:00
2f8d9a0c11
Documentation update 2023-08-17 10:02:32 -05:00
76d42c46d4
Prepare release 2023-06-14 19:09:43 -05:00
0dd9680158
Add tests for matching Sapling address and VK 2023-06-14 10:55:20 -05:00
19c9d8c466
Update source path 2023-06-14 10:53:29 -05:00
80478c9b6f
Add Sapling VK validation 2023-06-14 09:55:52 -05:00
b35b89fbb4
Implement Orchard Tx decoding and tests 2023-05-04 15:26:49 -05:00
7f181ccac3
Add Rust orchard tx decoding function 2023-05-04 09:23:05 -05:00
ccd4ede950
Add functions and tests for Bech32 and F4UnJumble 2023-04-27 09:50:07 -05:00
1261a585e6
Implement shielded address validator 2023-04-18 13:58:21 -05:00
4a82f9e6e0
Include the wrapper for librustzcash 2023-04-15 18:54:54 -05:00
6b1ad46c9a
Initial commit 2023-04-13 18:35:15 -05:00