C# 클래스 Ipfs.Api.MerkleNode

The IPFS MerkleDag is the datastructure at the heart of IPFS. It is an acyclic directed graph whose edges are hashes.
Initially an MerkleNode is just constructed with its MultiHash. Its other properties are lazily loaded.
파일 보기 프로젝트 열기: richardschneider/net-ipfs-api 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( MerkleNode that ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetRawData ( ) : Stream

Gets the raw encoded data of the node.

Equivalent to ipfs block get Hash.

MerkleNode ( string hash, string name = null ) : System

Creates a new instance of the MerkleNode with the specified Hash">multihash and optional

ToString ( ) : string
operator ( ) : bool

비공개 메소드들

메소드 설명
GetBlockStats ( ) : void

Get block statistics about the node, ipfs block stat key

The object stats include the block stats.

GetObjectStats ( ) : void

Get object statistics about the node, ipfs object stat hash

The object stats include the block stats.

메소드 상세

Equals() 공개 메소드

public Equals ( MerkleNode that ) : bool
that MerkleNode
리턴 bool

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetRawData() 공개 메소드

Gets the raw encoded data of the node.
Equivalent to ipfs block get Hash.
public GetRawData ( ) : Stream
리턴 Stream

MerkleNode() 공개 메소드

Creates a new instance of the MerkleNode with the specified Hash">multihash and optional
public MerkleNode ( string hash, string name = null ) : System
hash string /// The Base58 hash of the node or "/ipfs/hash". ///
name string
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool