You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vidya Akavoor edited this page Nov 12, 2021
·
1 revision
The JIFFWrapper is a class that provides a wrapper around the JIFF server and adds an interface for the WEB-MPC server to trigger certain parts of the computation.
Members:
serverInstance: an instance of JIFFServer
the instance gets the BigNumber and Restful extensions applied to it
the instance’s authentication, mailbox, and crypto hook are overwritten
ready: is true if state is loaded from database
Functions:
initializeSession: calls the serverInstance’s initializeParty() handler for party_id=1 (i.e. for the analyst)
computeSession: does the server’s side of the computation upon session stop