Nym Server activity summary for simulation work
The following summarizes the activities of the nym server, in a manner
suitable for developing a simulation of the entire freedom network.
Inherited
- Inherits all actions from zkkeyd
Receipt of new connection
Receipt of Create request
- KeyQryFetch for token server
- Check signature on token
- Lock Token -- (spenttokendb) DB_Open, DB_Store, DB_Close
- GetNym -- (frnymsdb) DB_Open, DB_Fetch (fails), DB_Close
- Update keys
- sign update
- (pubkeydb) DB_Open
- DB_Fetch, check signature, DB_Store, DB_Store
- DB_Fetch, check signature, DB_Store, DB_Store
- (pubkeydb) DB_Close
- AddNym -- (frnymsdb) DB_Open, DB_Store, DB_Close
- Activate reply blocks;
- KeyQry for FMG-MAIP
- for each RB:
- sign request
- encrypt message
- sign data
- sign hash of request
- encrypt for FMG-MAIP
- frAmtpSendMessageToNym
- Sign nym record
Receipt of Get request
- Cache Get -- (nymcache) DB_Open, DB_Fetch, DB_Close
- Nym Get -- (nymsdb) DB_Open, DB_Fetch, DB_Close
- sign nym
- Cache Update -- (nymcache) DB_Open, DB_Update, DB_Close
Receipt of Modify request
- Nym Get -- (nymsdb) DB_Open, DB_Fetch, DB_Close
- Check signature
- Update keys
- sign update
- (pubkeydb) DB_Open
- DB_Fetch, check signature, DB_Store, DB_Store
- DB_Fetch, check signature, DB_Store, DB_Store
- (pubkeydb) DB_Close
- Nym Replace -- (nymsdb) DB_Open, DB_Update, DB_Close
- Activate reply blocks;
- KeyQry for FMG-MAIP
- for each RB:
- sign request
- encrypt message
- sign data
- sign hash of request
- encrypt for FMG-MAIP
- frAmtpSendMessageToNym
- Sign Nym
- Cache Delete -- (nymcache) DB_Open, DB_Delete, DB_Close
Receipt of Disable request
- Nym Get -- (nymsdb) DB_Open, DB_Fetch, DB_Close
- Check signature
- Nym Disable -- (nymsdb) DB_Open, DB_Update, DB_Close
- Update keys
- sign update
- (pubkeydb) DB_Open
- DB_Fetch, check signature, DB_Store, DB_Store
- DB_Fetch, check signature, DB_Store, DB_Store
- (pubkeydb) DB_Close
- Cache Delete -- (nymcache) DB_Open, DB_Delete, DB_Close
Receipt of Query request
Receipt of AvailableNames request
- DB_Open (nymsdb)
- For each name -- DB_Fetch (nymsdb)
- DB_Close
Receipt of AddToken request
- Nym Get -- (nymsdb) DB_Open, DB_Fetch, DB_Close
- Check signature
- KeyQryFetch for token server
- Check signature on token
- Lock Token -- (spenttokendb) DB_Open, DB_Store, DB_Close
- Nym Replace -- (nymsdb) DB_Open, DB_Update, DB_Close
- Sign Nym
- Cache Delete -- (nymcache) DB_Open, DB_Delete, DB_Close
Receipt of TokenType request
Receipt of RBActivate request
- Check Signature
- Check Signature
- Nym Get -- (nymsdb) DB_Open, DB_Fetch, DB_Close
- Update keys (usually not called)
- sign update
- (pubkeydb) DB_Open
- DB_Fetch, check signature, DB_Store, DB_Store
- DB_Fetch, check signature, DB_Store, DB_Store
- (pubkeydb) DB_Close
- Nym Replace -- (nymsdb) DB_Open, DB_Update, DB_Close
Terminating a connection