Occam's chainsaw
Occam's chainsaw

Reputation: 301

Is there any functionality in Corda Quickstart's Notary node?

Good day!

Just deployed 3 Party-nodes and one Notary node, as described here. I see that the Notary node is up.

The problem is that I can't find any documentation on how to work with Notary. I created some IOUs and I assume that these IOUs should be verified somehow in the Notary or am I wrong?

I also see that samples\cordapp-example\kotlin-source\src\main\kotlin\com\example\api\ExampleApi.kt contains only the API for Party nodes.

So the question is "Does Notary server from CORDA Quickstart provides any API for verifying the IOUs?"

Upvotes: 1

Views: 118

Answers (1)

Joel
Joel

Reputation: 23140

It depends on whether the notary is validating or non-validating.

If the notary is validating, it will verify any transactions it receives as part of FinalityFlow. This happens automatically by running the contracts, and requires no intervention from the operator of the notary node.

If the notary is non-validating, it will not see the full transaction, nor will it verify it.

Note also that notaries are only sent transactions that have input states and/or timestamps.

Upvotes: 1

Related Questions