Peer-to-Peer Network is a distributed network based on Bitcoin cryptography and the BitTorrent protocol.
Paul Baran, 1964 — On Distributed Communications: I. Introduction to Distributed Communications Networks.
Even the publisher cannot remove previously published resources from the network.
On the Peer-to-Peer Network, resources can only be accessed with the knowledge of a Bitcoin address, which is the location of the desired resources.
All resources published under a specific Bitcoin address are hashed and cryptographically signed using the Bitcoin private key.
Bitcoin donations can be sent to the address and then spent using the Bitcoin private key.
Satoshi Nakamoto, 2009 — Bitcoin: A Peer-to-Peer Electronic Cash System
Because all resources signed with the Bitcoin private key are always verified before peers download them, an attacker cannot tamper with the resources.
Because of the network's design, large-scale network attacks are extremely unlikely to succeed. Peer-to-Peer Network is immune to cybernetic and nuclear attacks because it is a distributed network. No matter how many peers are knocked offline, the network self-corrects by avoiding the damaged peers, ensuring that information and resources are always spread uninterruptedly.
Tor is used by default in the Peer-to-Peer Network to conceal the IP address of the peers.
When the Peer-to-Peer Network is started, the Bootstrapper plugin generates a Tor hidden service URL, which is a BitTorrent tracker.
It is possible to create a private network in this manner, in which each member shares its own secret Tor hidden service URL with all other members. The result is a Tor-created secret network in which resources can only be shared with peers who use the same private BitTorrent trackers.
2534c978ec204ed3ac24b5e806b6247cd9118ffdefc3f11090f155e378aed54abda580e8ffa54935283468d2cfd4c6207420c69ade668a731bd39d7e95d7598c
git clone https://github.com/peertopeernetwork/p2p p2pcd p2ppython3 -m venv envsource env/bin/activatepip3 install -r requirements.txtcd p2ppython3 -m venv envsource env/bin/activatepip3 install --no-index --find-links=ext_lib -r requirements.txtpython3 p2p.py
python3 p2p.py siteCreate
The resulting site address in our example is 1PqVbR12CzLasYAUkDi9LAbZHNo2W7cVhz, its content can be accessed at the http://127.0.0.1:55555/1PqVbR12CzLasYAUkDi9LAbZHNo2W7cVhz URL.
http//127.0.0.1:55555/list/1PqVbR12CzLasYAUkDi9LAbZHNo2W7cVhz
Modify resources under the data/1PqVbR12CzLasYAUkDi9LAbZHNo2W7cVhz folder.
python3 p2p.py siteSign 1PqVbR12CzLasYAUkDi9LAbZHNo2W7cVhz
The Peer-to-Peer Network's default ports are exclusively located in the Private Port Range of 55555-65535.
1PqVbR12CzLasYAUkDi9LAbZHNo2W7cVhz