Mandatory custodian #44
No reviewers
Labels
No Label
backend
bug
front
improvement
middleware
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: djmil/corda-checkers#44
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "mandatory-custodian"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This code was written deliberately to deal with Corda's back chain tracking issues in BB8 (prod server.) The same code (and tests) were OK in dev environment. Trx verfication was crushing with null-ptr-exeption somewhere inside Corda during processing of any GameResult type transaction. i.e. when the custodian was present to store the final score.
It was observed, that Corda was failing to fetch data from previous (for custodian node) states from vnodes pf actual participants.
Thus, after lots of failing attempts to mitigate the null-ptr-exeption, final solution was to add custodian to each trx, thus backtracking was working.