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

Publish failed - show number of peers #312

Open jaros1 opened 6 years ago

jaros1 commented 6 years ago

MN and W2. Or maybe skip publish and display no peers message. A hub must have peers for a publish to succeed.

jaros1 commented 6 years ago

See https://github.com/jaros1/Money-Network/issues/321 Publish faIied - no peers

jaros1 commented 6 years ago

There should come a nice custom notification after failed publish and no peerd

jaros1 commented 6 years ago

Copy to W2 and test in W2. Few peers for W2 wallet data hubs

jaros1 commented 6 years ago

Added some code to W2. copy/paste move_hub code

jaros1 commented 6 years ago

Ditto code added in W2. Error not yet seen in test

jaros1 commented 6 years ago

Seen on arch linux Failed to publish: Content publish failed. No peers were found for user data hub182Uot1yJ6mZEwQYE5LX1P5f6VPyJ9gUGe Moving user profile to 1PgyTnnACGd1XRdpfiDihgKwYRRnzgz2zh

screenshot from 2018-03-09 14-25-09

192.168.0.53-1520602018985.log

Should have displayed a confirm dialog. Minor JS bug corrected. To be tested ....

jaros1 commented 6 years ago

Arch linux example with 0 peers for both wallet data hubs .... Failed to publish: Content publish failed. No peers were found for wallet data hub1HXzvtSLuvxZfh6LgdaqTk4FSVf7x8w7NJ No other wallet data hubs with peers were found Please add more wallet data hubs Please select user profile hub

screenshot from 2018-03-11 20-59-54

192.168.0.53-1520798516802.log