forked from stratisproject/StratisBitcoinFullNode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added import-key endpoint (stratisproject#24)
- Loading branch information
1 parent
0c41a24
commit 1f5645d
Showing
6 changed files
with
178 additions
and
6 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
24 changes: 24 additions & 0 deletions
24
src/Stratis.FederatedPeg.Features.FederationGateway/Models/MemberDetails.cs
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,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using Newtonsoft.Json; | ||
using Stratis.Bitcoin.Utilities.JsonConverters; | ||
|
||
namespace Stratis.FederatedPeg.Features.FederationGateway.Models | ||
{ | ||
public class MemberDetails | ||
{ | ||
/// <summary> | ||
/// The seed for this wallet, password encrypted. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "encryptedSeed")] | ||
public string EncryptedSeed { get; set; } | ||
|
||
/// <summary> | ||
/// The time this was created. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "creationTime")] | ||
[JsonConverter(typeof(DateTimeOffsetConverter))] | ||
public DateTimeOffset CreationTime { get; set; } | ||
} | ||
} |
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