SocialGraph #691

Merged
mmalmi merged 2 commits from mmalmi/snort:main into main 2023-11-18 11:45:21 +00:00
Collaborator
  • move SocialGraph to system
  • use socialGraphInstance: SocialGraph singleton
  • feed all kind 3 events to socialGraphInstance
  • call socialGraphInstance.setRoot(myPublicKey) in MultiAccountStore
* move SocialGraph to system * use socialGraphInstance: SocialGraph singleton * feed all kind 3 events to socialGraphInstance * call socialGraphInstance.setRoot(myPublicKey) in MultiAccountStore
mmalmi added 2 commits 2023-11-17 10:05:29 +00:00
Kieran reviewed 2023-11-17 10:08:47 +00:00
@ -109,6 +110,12 @@ System.on("auth", async (c, r, cb) => {
}
});
System.on("event", ev => {
Owner

Do you want any kind3 to be added to the graph? I had it setup so that only follows kind3 will be added

Do you want any kind3 to be added to the graph? I had it setup so that only follows kind3 will be added
Author
Collaborator

Yes, I don't think it adds too much overhead.

Yes, I don't think it adds too much overhead.
Kieran marked this conversation as resolved
Kieran approved these changes 2023-11-17 13:09:59 +00:00
mmalmi merged commit 1687137572 into main 2023-11-18 11:45:21 +00:00
Sign in to join this conversation.
No description provided.