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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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