mirror of
https://github.com/corda/corda.git
synced 2025-01-18 02:39:51 +00:00
Marked createComponentGroups as @CordaInternal (#3193)
This commit is contained in:
parent
c2c792eccf
commit
fb70c4b69c
@ -5178,8 +5178,6 @@ public final class net.corda.core.transactions.WireTransaction extends net.corda
|
||||
public static final net.corda.core.transactions.WireTransaction$Companion Companion
|
||||
##
|
||||
public static final class net.corda.core.transactions.WireTransaction$Companion extends java.lang.Object
|
||||
@NotNull
|
||||
public final java.util.List<net.corda.core.transactions.ComponentGroup> createComponentGroups(java.util.List<net.corda.core.contracts.StateRef>, java.util.List<? extends net.corda.core.contracts.TransactionState<? extends net.corda.core.contracts.ContractState>>, java.util.List<? extends net.corda.core.contracts.Command<?>>, java.util.List<? extends net.corda.core.crypto.SecureHash>, net.corda.core.identity.Party, net.corda.core.contracts.TimeWindow)
|
||||
##
|
||||
public final class net.corda.core.utilities.ByteArrays extends java.lang.Object
|
||||
@NotNull
|
||||
|
@ -1,5 +1,6 @@
|
||||
package net.corda.core.transactions
|
||||
|
||||
import net.corda.core.CordaInternal
|
||||
import net.corda.core.contracts.*
|
||||
import net.corda.core.contracts.ComponentGroupEnum.*
|
||||
import net.corda.core.crypto.*
|
||||
@ -226,11 +227,12 @@ class WireTransaction(componentGroups: List<ComponentGroup>, val privacySalt: Pr
|
||||
sig.verify(id)
|
||||
}
|
||||
|
||||
internal companion object {
|
||||
companion object {
|
||||
/**
|
||||
* Creating list of [ComponentGroup] used in one of the constructors of [WireTransaction] required
|
||||
* for backwards compatibility purposes.
|
||||
*/
|
||||
@CordaInternal
|
||||
fun createComponentGroups(inputs: List<StateRef>,
|
||||
outputs: List<TransactionState<ContractState>>,
|
||||
commands: List<Command<*>>,
|
||||
|
@ -7,6 +7,9 @@ release, see :doc:`upgrade-notes`.
|
||||
Unreleased
|
||||
==========
|
||||
|
||||
* ``WireTransaction.Companion.createComponentGroups`` has been marked as ``@CordaInternal``. It was never intended to be
|
||||
public and was already internal for Kotlin code.
|
||||
|
||||
* RPC Framework moved from Kryo to the Corda AMQP implementation [Corda-847]. This completes the removal
|
||||
of ``Kryo`` from general use within Corda, remaining only for use in flow checkpointing.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user