ContractUpgradeFilteredTransaction.<init> - corda

corda / net.corda.core.transactions / ContractUpgradeFilteredTransaction / <init>

# <init>

`ContractUpgradeFilteredTransaction(visibleComponents: Map<Int, FilteredComponent>, hiddenComponents: Map<Int, SecureHash>)`

Old version of ContractUpgradeFilteredTransaction constructor for ABI compatibility.

`ContractUpgradeFilteredTransaction(visibleComponents: Map<Int, FilteredComponent>, hiddenComponents: Map<Int, SecureHash>, digestService: DigestService)`

A filtered version of the ContractUpgradeWireTransaction. In comparison with a regular FilteredTransaction, there is no flexibility on what parts of the transaction to reveal – the inputs, notary and network parameters hash fields are always visible and the rest of the transaction is always hidden. Its only purpose is to hide transaction data when using a non-validating notary.