27 lines
624 B
JavaScript
27 lines
624 B
JavaScript
exports.newNetworkModulesP2PNetworkClient = function newNetworkModulesP2PNetworkClient() {
|
|
/*
|
|
This module represents the P2P Network Client running at the moment.
|
|
*/
|
|
let thisObject = {
|
|
|
|
node: undefined,
|
|
blockchainAccount: undefined,
|
|
userProfile: undefined,
|
|
|
|
/* Framework Functions */
|
|
initialize: initialize,
|
|
finalize: finalize
|
|
}
|
|
|
|
return thisObject
|
|
|
|
function finalize() {
|
|
thisObject.node = undefined
|
|
thisObject.blockchainAccount = undefined
|
|
thisObject.userProfile = undefined
|
|
}
|
|
|
|
async function initialize() {
|
|
|
|
}
|
|
} |