com.r3corda.core.crypto / PublicKeyTree / Node / <init>

<init>

Node(threshold: Int, children: List<PublicKeyTree>, weights: List<Int>)

Represents a node in the PublicKeyTree. It maintains a list of child nodes – sub-trees, and associated weights carried by child node signatures.

The threshold specifies the minimum total weight required (in the simple case – the minimum number of child signatures required) to satisfy the public key sub-tree rooted at this node.