Function Block.checkMerklePath

Calculate the merkle root using the merkle path.

static geod24.bitblob.BitBlob!(64L) checkMerklePath (
  geod24.bitblob.BitBlob!(64L) hash,
  in const(geod24.bitblob.BitBlob!(64L)[]) merkle_path,
  ulong index
) @safe;

Parameters

NameDescription
hash Hash of Transaction
merkle_path Hash of merkle path
index Index of the hash in the array of transactions.

Returns

Return Hash of merkle root.