Commit bfe5f9a 1 parent c99b140 commit bfe5f9a Copy full SHA for bfe5f9a
File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,11 @@ pub mod pczt;
7
7
8
8
use errors:: { Result , ZcashError } ;
9
9
10
- use alloc:: string:: { String , ToString } ;
10
+ use alloc:: {
11
+ string:: { String , ToString } ,
12
+ vec:: Vec ,
13
+ } ;
14
+ use pczt:: structs:: ParsedPczt ;
11
15
use zcash_vendor:: {
12
16
zcash_keys:: keys:: { UnifiedAddressRequest , UnifiedFullViewingKey } ,
13
17
zcash_protocol:: consensus:: MainNetwork ,
@@ -22,6 +26,18 @@ pub fn get_address(ufvk_text: &str) -> Result<String> {
22
26
Ok ( address. encode ( & MainNetwork ) )
23
27
}
24
28
29
+ pub fn check_pczt ( pczt : & [ u8 ] , ufvk_text : & str , seed_fingerprint : & [ u8 ; 32 ] ) -> Result < ( ) > {
30
+ unimplemented ! ( )
31
+ }
32
+
33
+ pub fn parse_pczt ( pczt : & [ u8 ] , ufvk_text : & str , seed_fingerprint : & [ u8 ; 32 ] ) -> Result < ParsedPczt > {
34
+ unimplemented ! ( )
35
+ }
36
+
37
+ pub fn sign_pczt ( pczt : & [ u8 ] , seed : & [ u8 ] ) -> Result < Vec < u8 > > {
38
+ unimplemented ! ( )
39
+ }
40
+
25
41
// pub fn sign_transaction(tx: &[u8], seed: &[u8]) -> Result<Vec<u8>> {
26
42
// let mut transaction = tx.clone();
27
43
// let pczt = PartiallyCreatedTransaction::decode(transaction)?;
You can’t perform that action at this time.
0 commit comments