C# 클래스 FactomAPI.Entry

파일 보기 프로젝트 열기: CryptidID/FactomDotNet

공개 메소드들

메소드 설명
CommitEntry ( DataStructs entry, string name ) : byte[]

Commits an entry to the Factom blockchain. Must wait 10 seconds if succeeds then call RevealEntry

EntryCost ( DataStructs entry ) : sbyte

Caculates the cost of an entry

GetEntryBlockByKeyMR ( DataStructs chainHead ) : DataStructs.EntryBlockData

Returns an EntryBlock

GetEntryBlockByKeyMR ( byte keyMR ) : DataStructs.EntryBlockData

Returns an EntryBlock

GetEntryData ( DataStructs entry ) : DataStructs.EntryData

Returns the data of an entry.

GetEntryData ( byte entryHash ) : DataStructs.EntryData

Returns the data of an entry.

NewEntry ( byte content, byte extIds, byte chainId ) : DataStructs.EntryData

Constructs a new EntryData object

RevealEntry ( DataStructs entry ) : bool

Second and final step in adding an entry to a chain on the factom blockchain

메소드 상세

CommitEntry() 공개 정적인 메소드

Commits an entry to the Factom blockchain. Must wait 10 seconds if succeeds then call RevealEntry
public static CommitEntry ( DataStructs entry, string name ) : byte[]
entry DataStructs Entry to be committed
name string Name of entry credit wallet
리턴 byte[]

EntryCost() 공개 정적인 메소드

Caculates the cost of an entry
public static EntryCost ( DataStructs entry ) : sbyte
entry DataStructs
리턴 sbyte

GetEntryBlockByKeyMR() 공개 정적인 메소드

Returns an EntryBlock
public static GetEntryBlockByKeyMR ( DataStructs chainHead ) : DataStructs.EntryBlockData
chainHead DataStructs
리턴 DataStructs.EntryBlockData

GetEntryBlockByKeyMR() 공개 정적인 메소드

Returns an EntryBlock
public static GetEntryBlockByKeyMR ( byte keyMR ) : DataStructs.EntryBlockData
keyMR byte
리턴 DataStructs.EntryBlockData

GetEntryData() 공개 정적인 메소드

Returns the data of an entry.
public static GetEntryData ( DataStructs entry ) : DataStructs.EntryData
entry DataStructs
리턴 DataStructs.EntryData

GetEntryData() 공개 정적인 메소드

Returns the data of an entry.
public static GetEntryData ( byte entryHash ) : DataStructs.EntryData
entryHash byte Entryhash of entry
리턴 DataStructs.EntryData

NewEntry() 공개 정적인 메소드

Constructs a new EntryData object
public static NewEntry ( byte content, byte extIds, byte chainId ) : DataStructs.EntryData
content byte Content of Entry (message pack)
extIds byte Unique Ids used for first entry of chain to construct a unique chain ID
chainId byte ChainID of chain
리턴 DataStructs.EntryData

RevealEntry() 공개 정적인 메소드

Second and final step in adding an entry to a chain on the factom blockchain
public static RevealEntry ( DataStructs entry ) : bool
entry DataStructs Entry to be added
리턴 bool