jaros1 / Money-Network

Demo with complementary and alternative money. Implemented in ZeroNet and AngularJS. Focus on privacy, encryption, max data in client and min data on ZeroNet. Work in progress.
GNU General Public License v2.0
4 stars 4 forks source link

MoneyNetworkAPI - published message #267

Closed jaros1 closed 6 years ago

jaros1 commented 6 years ago

MN keeps track of publish request for MN session and wallet sessions. There must never be a sitePublish with interval < 30 seconds. Publish OK but ratelimit error when receiving content.json file with modified timestamp < 30 seconds in other peers. Wallet session sent a queue_publish request to MN and MN responds OK. Wallet session continues with sitePublish if MN session does not respond within 30 seconds and sends a publish message with modified timestamp to MN. MN must check modified timestamp when receiving publish message from wallet session and should force a new publish in wallet session if modified timestamps < 30 seconds apart. Should ensure that wallet content.json is distributed correct. First publish failed. Second OK.

jaros1 commented 6 years ago

Implemented but not yet tested

jaros1 commented 6 years ago

Still not tested. Now using negative cb_id for forced publish in wallet sessions. Maybe not working.

jaros1 commented 6 years ago

26 Jan 2018. Still not tested OK in log files. Added log message issue #267 for easier log file search

jaros1 commented 6 years ago

28 feb 2018. Still not tested OK in log files. Closing for now