Skip to content

Commit

Permalink
CORE-20317 Performance tune persistance of filtered transactions (#1605)
Browse files Browse the repository at this point in the history
The persistence of filtered transactions was identified as a slow point
in the happy path when using a contract verifying notary.

The changes to the avro schema support the runtime changes.
  • Loading branch information
lankydan authored Apr 19, 2024
1 parent da414b3 commit 66653d9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@
"name": "filteredTransactionsAndSignatures",
"type": "bytes",
"doc": "the serialized map of filtered transactions and signatures"
},
{
"name": "inputStateRefs",
"type": {
"type" : "array",
"items" : "net.corda.data.ledger.utxo.StateRef"
},
"doc": "The input states being stored"
},
{
"name": "referenceStateRefs",
"type": {
"type" : "array",
"items" : "net.corda.data.ledger.utxo.StateRef"
},
"doc": "The reference states being stored"
}
]
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ cordaProductVersion = 5.3.0
# NOTE: update this each time this module contains a breaking change
## NOTE: currently this is a top level revision, so all API versions will line up, but this could be moved to
## a per module property in which case module versions can change independently.
cordaApiRevision = 10
cordaApiRevision = 11

# Main
kotlin.stdlib.default.dependency = false
Expand Down

0 comments on commit 66653d9

Please sign in to comment.