elsehow / hyperchat2

p2p messageboard around a hyperlog
2 stars 1 forks source link

validate messages before we add to, and when we read from, the data structure #15

Open elsehow opened 8 years ago

elsehow commented 8 years ago

ultimately, any peer can take their keys and put it in some crazy client that pushes crazy messages to the log. so, we should write one validators package, and call it both on the new message handler, and on 'swarmlog-data' and 'send-message' handlers

thanks @harperj