-
public final class JniBlockMetaServes as cross layer (Kotlin, Rust) communication class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classJniBlockMeta.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Longheightprivate final ByteArrayhashprivate final Longtimeprivate final LongsaplingOutputsCountprivate final LongorchardOutputsCount
-
Method Summary
Modifier and Type Method Description final LonggetHeight()final ByteArraygetHash()final LonggetTime()final LonggetSaplingOutputsCount()final LonggetOrchardOutputsCount()-
-
Constructor Detail
-
JniBlockMeta
JniBlockMeta(Long height, ByteArray hash, Long time, Long saplingOutputsCount, Long orchardOutputsCount)
- Parameters:
height- the block's height - although it's type Long, it needs to be in UInt rangehash- the block's hash (ID of the block)time- the block's time.saplingOutputsCount- the sapling outputs count - although its type is Long, it needs to be in UInt rangeorchardOutputsCount- the orchard outputs count - although its type is Long, it needs to be in UInt range
-
-
Method Detail
-
getSaplingOutputsCount
final Long getSaplingOutputsCount()
-
getOrchardOutputsCount
final Long getOrchardOutputsCount()
-
-
-
-