bitmonky/PeerTree

GitHub: bitmonky/PeerTree

一个基于 Node.js 的实验性自组织点对点网络,使用 EC 密钥对与 HTTPS 自签名证书实现带数字签名的 JSON 消息分发,并以树形结构组织节点以解决去中心化场景下的安全通信与分片存储问题。

Stars: 14 | Forks: 4

# PeerTree 项目 ## 数字资产的去中心化自组织点对点分片存储解决方案 ![main](https://static.pigsec.cn/wp-content/uploads/repos/2026/04/d47db066d9102341.png)
![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg) ![GitHub Issues](https://img.shields.io/bitbucket/issues/bitmonky/PeerTree) ![GitHub last commit](https://img.shields.io/github/last-commit/bitmonky/PeerTree) ![GitHub repo size](https://img.shields.io/github/repo-size/bitmonky/PeerTree) ![GitHub language count](https://img.shields.io/github/languages/count/bitmonky/PeerTree) ![GitHub top language](https://img.shields.io/github/languages/top/bitmonky/PeerTree) ![GitHub contributors](https://img.shields.io/github/contributors/bitmonky/PeerTree) ![GitHub stars](https://img.shields.io/github/stars/bitmonky/PeerTree?style=social) ![GitHub forks](https://img.shields.io/github/forks/bitmonky/PeerTree?style=social)

目录

- [The PeerTree Project](#the-peertree-project) - [An open source self-organizing peer-to-peer shard storage solution for digital assets](#an-open-source-self-organizing-peer-to-peer-shard-storage-solution-for-digital-assets) - [The PeerTree Project Introduction](#the-peertree-project-introduction) - [EC Private-Public Key Pairs](#ec-private-public-key-pairs) - [Digital Signatures](#digital-signatures) - [PeerTree Whitepaper](#peertree-whitepaper) ## The PeerTree Project Introduction 一个去中心化的点对点网络,网络中的节点可以使用 HTTPS 发送、接收和广播 JSON 消息(仅使用自签名证书)。每个节点使用 EC 私钥和公钥对消息进行数字签名。 ## EC Private-Public Key Pairs 在 PeerTree 项目中,“EC 私钥-公钥对”指的是一种称为“椭圆曲线密码学”的加密方法。椭圆曲线密码学(ECC)是一种使用椭圆曲线在有限域上的性质来生成安全密钥的公钥密码方法。 在 ECC 中,每个用户都有一个*私钥*和一个*公钥*。私钥是一个只有用户知道的秘密值,用于创建数字签名。公钥是一个与他人共享的值,用于验证用户的数字签名。 ## Digital Signatures 在 PeerTree 项目中,EC 私钥-公钥对用于数字签名节点之间发送的消息。这有助于确保消息的真实性与完整性,并允许节点验证它们是否从受信任的来源接收消息。 对等节点形成树结构,新节点从左到右添加。第一个节点是树的根。每个节点维护一个根对等组列表和它自己的对等组列表。离开或超时的节点由最后加入的节点替换。无法发送的消息会被推送到队列中,一旦连接恢复或节点被替换,消息就会被传递。 ## PeerTree Whitepaper 要阅读详细的白皮书,请参阅 [此链接](whitepaperNew.md)。 目前我们正在开发云内存 PeerTree 应用程序。我们在此处提供了项目的 [可运行演示](https://www.bitmonky.com/whzon/bitMiner/webConsole.php?git=git)。 该项目还包括一个基于 PeerTree 对象运行的概念验证区块链应用程序。 如果您想为该项目提供财务支持,可以考虑 从 Peter 的代币商店购买一些代币,方法如下点击以下链接!
![Support](https://img.shields.io/badge/support-financing-green.svg) [![Buy Me A Coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/petergs6)
标签:CMS安全, CVE, EC 密钥对, GNU通用公共许可证, Homebrew安装, HTTPS, JavaScript, JSON 消息, MITM代理, Node.js, P2P 网络, 分片存储, 去中心化, 广播消息, 开源, 数字签名, 数字资产存储, 树形结构, 椭圆曲线加密, 点对点存储, 自定义脚本, 自签名证书, 自组织网络, 节点管理