-
public final class CompactBlockUnsafeCompactBlock is a packaging of ONLY the data from a block that's needed to:
Detect a payment to your shielded Sapling address
Detect a spend of your shielded Sapling notes
Update your witnesses to generate new Sapling spend proofs.
It is marked as "unsafe" because it is not guaranteed to be valid.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCompactBlockUnsafe.Companionpublic final classCompactBlockUnsafe.CompactBlockOutputsCounts
-
Field Summary
Fields Modifier and Type Field Description private final Longheightprivate final ByteArrayhashprivate final Integertimeprivate final UIntsaplingOutputsCountprivate final UIntorchardOutputsCountprivate final ByteArraycompactBlockBytes
-
Method Summary
Modifier and Type Method Description final LonggetHeight()final ByteArraygetHash()final IntegergetTime()final UIntgetSaplingOutputsCount()final UIntgetOrchardOutputsCount()final ByteArraygetCompactBlockBytes()-
-
Method Detail
-
getSaplingOutputsCount
final UInt getSaplingOutputsCount()
-
getOrchardOutputsCount
final UInt getOrchardOutputsCount()
-
getCompactBlockBytes
final ByteArray getCompactBlockBytes()
-
-
-
-