-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* up through Mirror * first pass done
- Loading branch information
Showing
44 changed files
with
414 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace chia.dotnet | ||
{ | ||
public record AmountFilter | ||
{ | ||
public IEnumerable<ulong> Values { get; init; } = new List<ulong>(); | ||
|
||
public FilterMode Mode { get; init; } = FilterMode.Exlude; | ||
} | ||
} |
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,11 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace chia.dotnet | ||
{ | ||
public record AmountWithPuzzlehash | ||
{ | ||
public IEnumerable<TransactionType> Values { get; init; } = new List<TransactionType>(); | ||
|
||
public FilterMode Mode { get; init; } = FilterMode.Exlude; | ||
} | ||
} |
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,10 @@ | ||
namespace chia.dotnet | ||
{ | ||
public record AutoClaimSettings | ||
{ | ||
public bool Enabled { get; init; } | ||
public ulong TxFee { get; init; } | ||
public ulong MinAmount { get; init; } | ||
public ushort BatchSize { get; init; } | ||
} | ||
} |
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,9 @@ | ||
namespace chia.dotnet | ||
{ | ||
public record CoinAnnouncement | ||
{ | ||
public string CoinId { get; init; } = string.Empty; | ||
public string Message { get; init; } = string.Empty; | ||
public string MorphBytes { get; init; } = string.Empty; | ||
} | ||
} |
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,8 @@ | ||
namespace chia.dotnet | ||
{ | ||
public enum CoinRecordOrder : byte | ||
{ | ||
ConfirmedHeight = 1, | ||
SpentHight = 2 | ||
} | ||
} |
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,8 @@ | ||
namespace chia.dotnet | ||
{ | ||
public enum CoinType : byte | ||
{ | ||
Normal = 0, | ||
Clawback = 1 | ||
} | ||
} |
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,11 @@ | ||
namespace chia.dotnet | ||
{ | ||
public record FarmerRewards | ||
{ | ||
public ulong FarmedAmount { get; init; } | ||
public ulong PoolRewardAmount { get; init; } | ||
public ulong FarmerRewardAmount { get; init; } | ||
public ulong FeeAmount { get; init; } | ||
public ulong LastHeightFarmed { get; init; } | ||
} | ||
} |
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,8 @@ | ||
namespace chia.dotnet | ||
{ | ||
public enum FilterMode : byte | ||
{ | ||
Include = 1, | ||
Exlude = 2 | ||
} | ||
} |
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,11 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace chia.dotnet | ||
{ | ||
public record HashFilter | ||
{ | ||
public IEnumerable<string> Values { get; init; } = new List<string>(); | ||
|
||
public FilterMode Mode { get; init; } = FilterMode.Exlude; | ||
} | ||
} |
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,12 @@ | ||
namespace chia.dotnet | ||
{ | ||
public record InternalNode | ||
{ | ||
public string Hash { get; init; } = string.Empty; | ||
public string LeftHash { get; init; } = string.Empty; | ||
public string RightHash { get; init; } = string.Empty; | ||
// TODO - need test case for serialization for this - tuple might not be the right type | ||
public (string, string) Pair { get; init; } = new(); | ||
public string Atom { get; init; } = string.Empty; | ||
} | ||
} |
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,9 @@ | ||
namespace chia.dotnet | ||
{ | ||
public record Layer | ||
{ | ||
public Side OtherHashSide { get; init; } | ||
public string OtherHash { get; init; } = string.Empty; | ||
public string CombinedHash { get; init; } = string.Empty; | ||
} | ||
} |
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,9 @@ | ||
namespace chia.dotnet | ||
{ | ||
public record LineageProof | ||
{ | ||
public string? ParentName { get; init; } | ||
public string? InnerPuzzleHash { get; init; } | ||
public ulong? Amount { get; init; } | ||
} | ||
} |
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,13 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace chia.dotnet | ||
{ | ||
public record Mirror | ||
{ | ||
public string CoinId { get; init; } = string.Empty; | ||
public string LauncherId { get; init; } = string.Empty; | ||
public ulong Amount { get; init; } | ||
public IEnumerable<string> Urls { get; init; } = new List<string>(); | ||
public bool Ours { get; init; } = true; | ||
} | ||
} |
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
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,11 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace chia.dotnet | ||
{ | ||
public record OfferStore | ||
{ | ||
public string StoreID { get; init; } = string.Empty; | ||
|
||
public IEnumerable<KeyValuePair<string, string>> Inclusions { get; init; } = new Dictionary<string, string>(); | ||
} | ||
} |
File renamed without changes.
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,10 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace chia.dotnet | ||
{ | ||
public record PluginStatus | ||
{ | ||
public IDictionary<string, IDictionary<string, object>> Uploasders { get; init; } = new Dictionary<string, IDictionary<string, object>>(); | ||
public IDictionary<string, IDictionary<string, object>> Downloaders { get; init; } = new Dictionary<string, IDictionary<string, object>>(); | ||
} | ||
} |
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,9 @@ | ||
namespace chia.dotnet | ||
{ | ||
public record PrivateKeyData | ||
{ | ||
public string PK { get; init; } = string.Empty; | ||
|
||
public string Entropy { get; init; } = string.Empty; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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,12 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace chia.dotnet | ||
{ | ||
public record Proof | ||
{ | ||
public string Key { get; init; } = string.Empty; | ||
public string Value { get; init; } = string.Empty; | ||
public string NodeHash { get; init; } = string.Empty; | ||
public IEnumerable<Layer> Layers { get; init; } = new List<Layer>(); | ||
} | ||
} |
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,9 @@ | ||
namespace chia.dotnet | ||
{ | ||
public record PuzzleAnnouncement | ||
{ | ||
public string PuzzleHash { get; init; } = string.Empty; | ||
public string Message { get; init; } = string.Empty; | ||
public string MorphBytes { get; init; } = string.Empty; | ||
} | ||
} |
Oops, something went wrong.