C# Class BitSharper.TransactionInput

Inheritance: Message
Afficher le fichier Open project: TangibleCryptography/BitSharper Class Usage Examples

Méthodes publiques

Свойство Type Description
EmptyArray byte[]

Private Properties

Свойство Type Description
Connect ConnectionResult
Disconnect bool
GetConnectedOutput TransactionOutput
TransactionInput System
TransactionInput System

Méthodes publiques

Méthode Description
BitcoinSerializeToStream ( Stream stream ) : void
ToString ( ) : string

Returns a human readable debug string.

TransactionInput ( NetworkParameters @params, Transaction parentTransaction, byte payload, int offset ) : System

Deserializes an input message. This is usually part of a transaction message.

Méthodes protégées

Méthode Description
Parse ( ) : void

Private Methods

Méthode Description
Connect ( Transaction>.IDictionary transactions, bool disconnect ) : ConnectionResult

Connects this input to the relevant output of the referenced transaction if it's in the given map. Connecting means updating the internal pointers and spent flags.

Disconnect ( ) : bool

Release the connected output, making it spendable once again.

GetConnectedOutput ( Transaction>.IDictionary transactions ) : TransactionOutput

Locates the referenced output from the given pool of transactions.

TransactionInput ( NetworkParameters @params, Transaction parentTransaction, TransactionOutput output ) : System

Creates an UNSIGNED input that links to the given output

TransactionInput ( NetworkParameters @params, Transaction parentTransaction, byte scriptBytes ) : System

Used only in creation of the genesis block.

Method Details

BitcoinSerializeToStream() public méthode

public BitcoinSerializeToStream ( Stream stream ) : void
stream Stream
Résultat void

Parse() protected méthode

protected Parse ( ) : void
Résultat void

ToString() public méthode

Returns a human readable debug string.
public ToString ( ) : string
Résultat string

TransactionInput() public méthode

Deserializes an input message. This is usually part of a transaction message.
public TransactionInput ( NetworkParameters @params, Transaction parentTransaction, byte payload, int offset ) : System
@params NetworkParameters
parentTransaction Transaction
payload byte
offset int
Résultat System

Property Details

EmptyArray public_oe static_oe property

public static byte[] EmptyArray
Résultat byte[]