HelloZeroNet / HelloZeroNet/ZeroNet

Need some trusted time servers among our PCs.

Đang mở
#1,319 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
18.8k
Fork
2.3k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Step 1: Please describe your environment

* ZeroNet version: 0.6.5 r3340
* Operating system: Ubuntu 16
* Web browser: tor-browser
* Tor status: always
* Opened port: no
* Special configuration: ____

### Step 2: Describe the problem:

Refer to : https://github.com/HelloZeroNet/ZeroMe/issues/115

I noticed a strange phenomenon today while commenting on the post in ZeroMe.

Another guy make a comment just now, and I read it and make a next comment following him, but my comment popped up under his comment. I deleted mine, and made another again, but it still goes under his one. I thought he hacked something or what, but I decided to wait 10 seconds and made another one only to fail. At last I could see my new comment above his one after around 40 to 50 seconds.

What was happened?

@HelloZeroNet : Since there is no central computer involved in ZeroNet the timestamp is added by the sender's computer. So if yours or the sender's computer time is out of sync, then it could break the order.

#### Steps to reproduce:

1. One PC make a comment on ZeroMe or something.
2. Within a second or more, another PC with the system time 30 seconds or more shifted backward from the above PC makes a comment on the same post as the above.
3. The above time shifted PC's comment stays under the the first PC's comment for about 30 seconds even though he deletes his comment and make again within 30 seconds.
4. After the amount of the shift time, it will be placed over the first comment if at least he made a new comment after 30 seconds the first guy did.

#### Observed Results:

* What happened? This could be a screenshot, a description, log output (you can send log/debug.log file to hello@zeronet.io if necessary), etc.

Refer to the above paragraph I described.

#### Expected Results:

* What did you expect to happen?

We need to appoint some trusted time servers among the decentralized PCs, don't we? Have them be chosen by voting. Predefined upvotes to downvotes ratio will switch off some of them or switch on others of them.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Hãy bắt đầu bằng việc đọc issue #115 của ZeroMe được tham chiếu và tái hiện hành vi sắp xếp timestamp được mô tả trong các bước, sử dụng kịch bản đồng hồ hệ thống bị lệch. Không có tệp triển khai hoặc entry point nào được xác định; công việc chỉ hoàn tất khi có một phương án cụ thể, đã được thống nhất, giải quyết vấn đề đồng bộ hóa đồng hồ giữa các PC phi tập trung, bao gồm mô hình trusted-server hoặc bỏ phiếu được đề xuất.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
distributed-systems, networking
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
20/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.