-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c7b300
commit 3478983
Showing
39 changed files
with
5,527 additions
and
204 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,36 @@ | ||
using System; | ||
|
||
namespace SignumExplorer.Models | ||
{ | ||
public interface IBlockChainStatus | ||
{ | ||
|
||
public string Application { get; } | ||
|
||
public string Version { get; } | ||
|
||
public int Time { get; } | ||
|
||
public DateTime DateAndTime => new DateTime(2014, 8, 11, 2, 0, 0, DateTimeKind.Utc).AddSeconds(Time); | ||
|
||
|
||
public string LastBlock { get; } | ||
|
||
public int LastBlockTimestamp { get; } | ||
|
||
|
||
public string CumulativeDifficulty { get; } | ||
|
||
public long AverageCommitmentNQT { get; } | ||
|
||
public double AverageCommitmentSigna => AverageCommitmentNQT / 100000000.0; | ||
|
||
public int NumberOfBlocks { get; } | ||
|
||
public string LastBlockchainFeeder { get; } | ||
public int LastBlockchainFeederHeight { get; } | ||
|
||
public bool IsScanning { get; } | ||
public int RequestProcessingTime { get; } | ||
} | ||
} |
66 changes: 63 additions & 3 deletions
66
SignumExplorer/NodeAPI/Models/UnconfirmedTransactions/UnconfirmedTransAPI.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
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
Oops, something went wrong.