Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Add Verifiers to TxDetail#56

Open
emmanueldenloye wants to merge 5 commits intomasterfrom
emmanuel/add-verifiers
Open

Add Verifiers to TxDetail#56
emmanueldenloye wants to merge 5 commits intomasterfrom
emmanuel/add-verifiers

Conversation

@emmanueldenloye
Copy link
Contributor

add _txDetail_verifiers field

add _txDetail_verifiers field
, _txDetail_previousSteps :: Maybe [Text]
, _txDetail_signers :: [Signer]
, _txDetail_sigs :: [Sig]
, _txDetail_verifiers :: Maybe Value
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can do better than this. These verifiers are conceptually similar to signers, so we probably need a Verifier data type and a database table to go with it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we could indeed consider adding verifiers as a new column to the transactions table, I think there's good reason to keep it in a separate table like the signers table, because there can be multiple verifiers in a given transaction and if one wanted to index by, say, the verifier name, that would be impossible to do via the transactions table.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants