Show / Hide Table of Contents

Class TxCommand

Inheritance
Object
TxCommand
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Libplanet.Extensions.Cocona.Commands
Assembly: Libplanet.Extensions.Cocona.dll
Syntax
public class TxCommand

Methods

| Improve this Doc View Source

Analyze(String, Boolean, Boolean)

Declaration
[Command(Description = "Analyze the given signed or unsigned transaction.")]
public int Analyze([Argument(Description = "The file path of the transaction 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('u', Description = "Analyze an unsigned transaction.  This option is mutually exclusive with -i/--ignore-signature.")] bool unsigned = false, [Option('i', Description = "Terminate the program with a zero exit code (success) even if the signature is invalid.  However, it still prints the error message to the standard error, and the exit code is still non-zero if the transaction is invalid in other ways.  This option is mutually exclusive with -u/--unsigned.")] bool ignoreSignature = false)
Parameters
Type Name Description
String file
Boolean unsigned
Boolean ignoreSignature
Returns
Type Description
Int32
| Improve this Doc View Source

Help(ICoconaHelpMessageBuilder)

Declaration
[Command(Description = "Show this help message.")]
public void Help([FromService] ICoconaHelpMessageBuilder helpMessageBuilder)
Parameters
Type Name Description
Cocona.Help.ICoconaHelpMessageBuilder helpMessageBuilder
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2023 Planetarium