object Blinding
- Alphabetic
- By Inheritance
- Blinding
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def blind(tx: VersionedTransaction): BlindingInfo
Given a transaction provide concise information on visibility for all stakeholders
Given a transaction provide concise information on visibility for all stakeholders
We keep this in Engine since it needs the packages and your typical engine already has a way to look those up and we do not want to reinvent the wheel.
- tx
transaction to be blinded
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def divulgedTransaction(divulgences: Relation[NodeId, Party], party: Party, tx: Transaction): Transaction
Returns the part of the transaction which has to be divulged to the given party.
Returns the part of the transaction which has to be divulged to the given party.
Note that if the child of a root node is divulged but the parent isn't, the child will become a root note itself. Such nodes are "uprooted" in order, in the sense that nodes that come before when traversing depth first, left to right will appear first in the roots list.
This also mean that there might be more roots in the divulged transaction than in the original transaction.
This function will crash if the transaction provided is malformed -- that is, if the transaction has Nid references that are not present in its nodes. Use
isWellFormed
if you are getting the transaction from a third party. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated