amark on master
websocket ../index to ./index (… (compare)
amark on master
PANIC tests + AXE get dedup + f… Merge branch 'master' of http:/… (compare)
amark on master
lib/ison: Use setTimeout instea… (compare)
Found the problem,
const GUN = require('gun');
const gun = GUN(/*{localStorage: false, radisk: false}*/);
const alice = gun.get('alice').put({name: 'alice'});
const bob = gun.get('bob').put({name: 'bob'});
const users = gun.get('users');
users.map().on(user => console.log(user));
users.set(alice)
users.set(bob);
alice.get('friends').map().on((friend, k) => console.log("Alice Friend", friend, k));
alice.get('friends').set(bob);
alice.get('friends').set(alice);
So apparently I can't disable storage, so is there a way to run gun only in memory ?
gun.get('users')
which means they are in the public space which everyone edit/delete.
gun.user().get('friends')
(as opposed to gun.get('users')
Hi, I'm new to gun, just tried on local and now can store my first graph node
I'm wondering, will my stored data synchronized to other peers even though I'm not setting the peers at the start like the one mentioned in documentation here ?