public class FilteredTransaction
Class representing merkleized filtered transaction.
| Modifier and Type | Class and Description |
|---|---|
static class |
FilteredTransaction.Companion |
| Modifier and Type | Field and Description |
|---|---|
static FilteredTransaction.Companion |
Companion |
| Constructor and Description |
|---|
FilteredTransaction(FilteredLeaves filteredLeaves,
PartialMerkleTree partialMerkleTree)
Class representing merkleized filtered transaction.
|
| Modifier and Type | Method and Description |
|---|---|
FilteredLeaves |
getFilteredLeaves() |
PartialMerkleTree |
getPartialMerkleTree() |
boolean |
verify(SecureHash merkleRootHash)
Runs verification of Partial Merkle Branch with merkleRootHash.
|
public static FilteredTransaction.Companion Companion
public FilteredTransaction(FilteredLeaves filteredLeaves, PartialMerkleTree partialMerkleTree)
Class representing merkleized filtered transaction.
filteredLeaves - Leaves included in a filtered transaction.partialMerkleTree - Merkle branch needed to verify filteredLeaves.public boolean verify(SecureHash merkleRootHash)
Runs verification of Partial Merkle Branch with merkleRootHash.
public FilteredLeaves getFilteredLeaves()
public PartialMerkleTree getPartialMerkleTree()