Class BlockCommand
Assembly: Libplanet.Extensions.Cocona.dll
Syntax
public class BlockCommand
Methods
|
Improve this Doc
View Source
Analyze(String, String)
Declaration
[Command(Description = "Analyze the given block.")]
public void Analyze([Argument(Description = "The file path of the block to analyze. If a hyphen (-) is given it reads from the standard input (if you want to read just a file named \"-\", use \"./-\" instead).")] string file, [Option('o', Description = "The file path to write the analysis result to. If a hyphen (-) is given it writes to the standard output (if you want to write just a file named \"-\", use \"./-\" instead). If not given, it writes to the standard output.")] string output = "-")
Parameters
|
Improve this Doc
View Source
Declaration
[Command(Description = "Generate a genesis block.")]
public void GenerateGenesis([Argument(Name = "KEY-ID", Description = "A private key to use for signing.")] Guid keyId, PassphraseParameters passphrase, [Argument(Name = "FILE", Description = "File to write the genesis block to. Use `-` for stdout (you can still refer to a file named \"-\" by \"./-\").")] string file, [Option('v', Description = "A public key to use for validating.")] string[] validatorKey, BlockPolicyParams blockPolicyParams, [Option('f', Description = "Output format.")] BlockCommand.OutputFormat format = BlockCommand.OutputFormat.Bencodex)
Parameters