corda / net.corda.core.node.services / MAX_CONSTRAINT_DATA_SIZE

MAX_CONSTRAINT_DATA_SIZE

const val MAX_CONSTRAINT_DATA_SIZE: Int

The maximum permissible size of contract constraint type data (for storage in vault states database table).

This value establishes an upper limit of a CompositeKey with up to MAX_NUMBER_OF_KEYS_IN_SIGNATURE_CONSTRAINT keys stored in. However, note this assumes a rather conservative upper bound per key. For reference, measurements have shown the following numbers for each algorithm: