-
public final class TreeStateKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTreeStateKt.Dsl.Companion
-
Method Summary
Modifier and Type Method Description final StringgetNetwork()final UnitsetNetwork(String network)final LonggetHeight()final UnitsetHeight(Long height)final StringgetHash()final UnitsetHash(String hash)final IntegergetTime()final UnitsetTime(Integer time)final StringgetSaplingTree()final UnitsetSaplingTree(String saplingTree)final StringgetOrchardTree()final UnitsetOrchardTree(String orchardTree)final UnitclearNetwork()<pre> "main" or "test" </pre><code>string network = 1;</code> final UnitclearHeight()<pre> block height </pre><code>uint64 height = 2;</code> final UnitclearHash()<pre> block id </pre><code>string hash = 3;</code> final UnitclearTime()<pre> Unix epoch time when the block was mined </pre><code>uint32 time = 4;</code> final UnitclearSaplingTree()<pre> sapling commitment tree state </pre><code>string saplingTree = 5;</code> final UnitclearOrchardTree()<pre> orchard commitment tree state </pre><code>string orchardTree = 6;</code> -
-
Method Detail
-
getNetwork
final String getNetwork()
-
setNetwork
final Unit setNetwork(String network)
-
getSaplingTree
final String getSaplingTree()
-
setSaplingTree
final Unit setSaplingTree(String saplingTree)
-
getOrchardTree
final String getOrchardTree()
-
setOrchardTree
final Unit setOrchardTree(String orchardTree)
-
clearNetwork
final Unit clearNetwork()
<pre> "main" or "test" </pre><code>string network = 1;</code>
-
clearHeight
final Unit clearHeight()
<pre> block height </pre><code>uint64 height = 2;</code>
-
clearTime
final Unit clearTime()
<pre> Unix epoch time when the block was mined </pre><code>uint32 time = 4;</code>
-
clearSaplingTree
final Unit clearSaplingTree()
<pre> sapling commitment tree state </pre><code>string saplingTree = 5;</code>
-
clearOrchardTree
final Unit clearOrchardTree()
<pre> orchard commitment tree state </pre><code>string orchardTree = 6;</code>
-
-
-
-