Post
Topic
Board Announcements (Altcoins)
Re: [NEM] NEM -New Economy Movement - No Envy Movement - Updates+Discussion thread
by
gimre
on 30/01/2014, 21:01:48 UTC
   2.  lightweight IN-BROWSER client - I think CfB has similar idea - that one, would have ZERO knowledge itself it, but I think it’d be possible to do whole singing in-browser.
    3.  ‘normal’ client - for users, that want to participate in the network, but don’t want to deal with DB setup. This one would keep blockchain in memory, BUT it would rely on “snapshots”
               a. snapshot would be created every X days (I was thinking about X=10)
               b. they would contain information about state (of accounts), but would drop all the history
               c. snapshots (for new clients) could be propagated in torrent-like fashion.
1.1 Agree, storage must be transactional secure

1.2 lightweight browser, maybe I do not get the point, but this is already available...IMHO GUI not very nice or attractive and not easy to unerstand
@UF could you ask to elaborate on this a little bit more

For people, that don't need any client at all, and wallet is all they would need.
Either JS-only client, that could:
  • retrieve list of transactions from any "public server"
  • sign transactions and send them to one of the "public servers"

or small app that would do that.

1.3 In principle I would agree, snapshots which get propagate are open for attacks and easy targets to fake snapshots

not to repeat myself, read what's below and think about it, I think it would be possible to do that (and do that securely):

Do I understand this correctly that the blockchain would only be stored on the "server version" of the client and not by every client ? I'm not sure that's a good idea. I don't know how people would feel about that and also doesn't that make the whole thing less secure especially in the beginning where fewer servers are running ? Say 10 servers are runnin initially. What if i whip up 20 VMs on my computer and make them servers....could I then not controll the network ? Not to mention that if the client doesn't hold the blockchain mim attackes could to a crapload of damage especially if coordinated well.

What's the point of having outdated snapshots in the client ? So the update from the DBs won't take as long ?

Nope, you don't need whole chain for security purposes.

Also 'normal' clients would also be part of the network.
They just wouldn't store whole history, only those snapshots + blockchain history since last snapshot till present.
Most people don't need whole history anyway (i.e. compare to btc, where download of whole the blockchain takes days if not weeks...)

When you would receive initial snapshot, there would be additional step of verification,
that the snapshot you've received is actually CORRECT one (there are number of ways this could be done),
to make sure the peers from which you've received it are not EVIL ones.