Splitting Memory and changing it to Network Project
This commit is contained in:
1 parent
5712193f72
commit
3345eff347
16 files changed
+86
-46
No files matched your search
@@ -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() {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user