-
public final class SubtreeRootKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSubtreeRootKt.Dsl.Companion
-
Field Summary
Fields Modifier and Type Field Description private ByteStringrootHashprivate ByteStringcompletingBlockHashprivate LongcompletingBlockHeight
-
Method Summary
Modifier and Type Method Description final ByteStringgetRootHash()final UnitsetRootHash(ByteString rootHash)final ByteStringgetCompletingBlockHash()final UnitsetCompletingBlockHash(ByteString completingBlockHash)final LonggetCompletingBlockHeight()final UnitsetCompletingBlockHeight(Long completingBlockHeight)final UnitclearRootHash()<pre> The 32-byte Merkle root of the subtree. final UnitclearCompletingBlockHash()<pre> The hash of the block that completed this subtree. final UnitclearCompletingBlockHeight()<pre> The height of the block that completed this subtree in the main chain. -
-
Method Detail
-
getRootHash
final ByteString getRootHash()
-
setRootHash
final Unit setRootHash(ByteString rootHash)
-
getCompletingBlockHash
final ByteString getCompletingBlockHash()
-
setCompletingBlockHash
final Unit setCompletingBlockHash(ByteString completingBlockHash)
-
getCompletingBlockHeight
final Long getCompletingBlockHeight()
-
setCompletingBlockHeight
final Unit setCompletingBlockHeight(Long completingBlockHeight)
-
clearRootHash
final Unit clearRootHash()
<pre> The 32-byte Merkle root of the subtree. </pre><code>bytes rootHash = 2;</code>
-
clearCompletingBlockHash
final Unit clearCompletingBlockHash()
<pre> The hash of the block that completed this subtree. </pre><code>bytes completingBlockHash = 3;</code>
-
clearCompletingBlockHeight
final Unit clearCompletingBlockHeight()
<pre> The height of the block that completed this subtree in the main chain. </pre><code>uint64 completingBlockHeight = 4;</code>
-
-
-
-