-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added all commitment parameters to streaming client. (#96)
Improved missing documentation related to streaming client and its objects. Refactored test payloads for streaming client to improve navigation inside project. Changed visibility in some objects that are unused outside of RPC project.
- Loading branch information
Showing
40 changed files
with
503 additions
and
106 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 |
---|---|---|
@@ -1,9 +1,47 @@ | ||
namespace Solnet.Rpc | ||
{ | ||
/// <summary> | ||
/// Represents the public solana clusters. | ||
/// </summary> | ||
public enum Cluster | ||
{ | ||
/// <summary> | ||
/// Devnet serves as a playground for anyone who wants to take Solana for a test drive, as a user, token holder, app developer, or validator. | ||
/// </summary> | ||
/// <remarks> | ||
/// Application developers should target Devnet. | ||
/// Potential validators should first target Devnet. | ||
/// Key points: | ||
/// <list type="bullet"> | ||
/// <item>Devnet tokens are not real</item> | ||
/// <item>Devnet includes a token faucet for airdrops for application testing</item> | ||
/// <item>Devnet may be subject to ledger resets</item> | ||
/// <item>Devnet typically runs a newer software version than Mainnet Beta</item> | ||
/// </list> | ||
/// </remarks> | ||
DevNet, | ||
|
||
/// <summary> | ||
/// Testnet is where Solana stress tests recent release features on a live cluster, particularly focused on network performance, stability and validator behavior. | ||
/// </summary> | ||
/// <remarks> | ||
/// Tour de SOL initiative runs on Testnet, where malicious behavior and attacks are encouraged on the network to help find and squash bugs or network vulnerabilities. | ||
/// Key points: | ||
/// <list type="bullet"> | ||
/// <item>Devnet tokens are not real</item> | ||
/// <item>Devnet includes a token faucet for airdrops for application testing</item> | ||
/// <item>Devnet may be subject to ledger resets</item> | ||
/// <item>Testnet typically runs a newer software release than both Devnet and Mainnet Beta</item> | ||
/// </list> | ||
/// </remarks> | ||
TestNet, | ||
|
||
/// <summary> | ||
/// A permissionless, persistent cluster for early token holders and launch partners. Currently, rewards and inflation are disabled. | ||
/// </summary> | ||
/// <remarks> | ||
/// Tokens that are issued on Mainnet Beta are real SOL. | ||
/// </remarks> | ||
MainNet | ||
} | ||
} |
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 |
---|---|---|
@@ -1,12 +1,33 @@ | ||
namespace Solnet.Rpc.Core.Sockets | ||
{ | ||
/// <summary> | ||
/// Represents the channel of a given subscription. | ||
/// </summary> | ||
public enum SubscriptionChannel | ||
{ | ||
/// <summary> | ||
/// Account subscription (<c>accountSubscribe</c>). | ||
/// </summary> | ||
Account, | ||
/// <summary> | ||
/// Logs subscription (<c>logsSubscribe</c>). | ||
/// </summary> | ||
Logs, | ||
/// <summary> | ||
/// Program subscription (<c>programSubscribe</c>). | ||
/// </summary> | ||
Program, | ||
/// <summary> | ||
/// Signature subscription (<c>signatureSubscribe</c>). | ||
/// </summary> | ||
Signature, | ||
/// <summary> | ||
/// Slot subscription (<c>slotSubscribe</c>). | ||
/// </summary> | ||
Slot, | ||
/// <summary> | ||
/// Root subscription (<c>rootSubscribe</c>). | ||
/// </summary> | ||
Root | ||
} | ||
} |
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.