C# 클래스 Coinium.Core.Crypto.MerkleTree

Merkle tree builder. Python implementation: http://runnable.com/U3HnDaMrJFk3gkGW/bitcoin-block-merkle-root-286819-for-python
파일 보기 프로젝트 열기: Ziftr/CoiniumServ

공개 메소드들

메소드 설명
Build ( List hashList ) : IList

Builds merkle tree.

To get a better understanding of merkle trees check: http://www.youtube.com/watch?v=gUwXCt1qkBU#t=09m09s

CalculateRoot ( List hashes ) : Sha256Hash

Calculates merkle root.

GetRoot ( IList merkleTree ) : Sha256Hash

메소드 상세

Build() 공개 정적인 메소드

Builds merkle tree.
To get a better understanding of merkle trees check: http://www.youtube.com/watch?v=gUwXCt1qkBU#t=09m09s
public static Build ( List hashList ) : IList
hashList List
리턴 IList

CalculateRoot() 공개 정적인 메소드

Calculates merkle root.
public static CalculateRoot ( List hashes ) : Sha256Hash
hashes List
리턴 Sha256Hash

GetRoot() 공개 정적인 메소드

public static GetRoot ( IList merkleTree ) : Sha256Hash
merkleTree IList
리턴 Sha256Hash