Splitting Memory and changing it to Network Project

This commit is contained in:
Luis Fernando Molina committed 2021-10-22 15:46:56 +02:00
1 parent 5712193f72
commit 3345eff347
16 files changed
+86 -46

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
exports.newNetworkGlobalsMemory = function () {
/*
Here is the Data we are going to keep in memory.
*/
let thisObject = {
maps: {
USER_PROFILES_BY_ID: new Map(), // Here we will store the user profiles by User Profile Id.
USER_PROFILES_BY_HANDLE: new Map(), // Here we will store the user profiles by User Profile Handle.
USER_PROFILES_BY_BLOCHAIN_ACCOUNT: new Map() // Here we will store the user profiles by Blockchain Account.
},
arrays: {
}
}
return thisObject
}
@@ -0,0 +1,12 @@
exports.newNetworkNetworkNodePicker = function newNetworkNetworkNodePicker () {
let thisObject = {
pickOneNetworkNode: pickOneNetworkNode
}
return thisObject
function pickOneNetworkNode() {
}
}