-
Notifications
You must be signed in to change notification settings - Fork 573
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moving TrustedDealerKeyPackages to keypackages new file
- Loading branch information
Showing
4 changed files
with
28 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
use std::collections::HashMap; | ||
use napi_derive::napi; | ||
|
||
#[napi(object)] | ||
|
||
pub struct TrustedDealerKeyPackages { | ||
pub verifying_key: String, | ||
pub proof_generation_key: String, | ||
pub view_key: String, | ||
pub incoming_view_key: String, | ||
pub outgoing_view_key: String, | ||
pub public_address: String, | ||
pub key_packages: HashMap<String, String>, | ||
pub public_key_package: String, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,6 @@ pub use transaction::*; | |
|
||
mod witness; | ||
pub use witness::*; | ||
|
||
mod key_packages; | ||
pub use key_packages::*; |