Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
start [2019/07/16 23:41]
drirmbda [4. Mechanisms]
start [2020/01/18 01:45] (current)
drirmbda Approved
Line 2: Line 2:
 ====== Welcome to the Independent SAFE Network Wiki ====== ====== Welcome to the Independent SAFE Network Wiki ======
  
-The SAFE Network project is vast and complex. While there are great resources available online for study, these resources still tend to be hard to locate and digest. The [[http://safenetforum.org|SAFE Network Forum]] contains many years-worth of great information but lacks concise and up-to-date summaries which would be convenient for newcomers to catch up.+The SAFE Network project is vast and complex. The purpose of this wiki is to make the SAFE Network project more accessible. This is starting-out as a growing collection of personal notes of the editor trying to thoroughly understand the project, and is intended to evolve into an independent guide to SAFE Network.
  
-The purpose of this wiki is to make the SAFE Network project more accessible. This is starting-out as a growing collection of personal notes of the editor trying to thoroughly understand the project, and is intended to evolve into an independent guide to SAFE Network. +All information here is unofficial. You are free to edit and contribute right here as you learn about MaidSafe and SAFE Network yourself. This Wiki fills gaps, referencing existing resources whenever possible. Opinions belong on the [[http://safenetforum.org|SAFE Network Forum]].
- +
-All information here is unofficial. You are free to edit and contribute right here as you learn about MaidSafe and SAFE Network yourself. This Wiki fills gaps, referencing existing resources whenever possible. Opinions belong on the Safenet forum.+
  
 <note important> <note important>
Line 67: Line 65:
  
 ===== 4. Mechanisms ===== ===== 4. Mechanisms =====
 +
 <lead>In this section we will try to separate out and have a closer look at the mechanisms that will keep the SAFE Network working as intended. Each of these need to be checked for possible weaknesses that could lead to disastrous malicious attacks. <lead>In this section we will try to separate out and have a closer look at the mechanisms that will keep the SAFE Network working as intended. Each of these need to be checked for possible weaknesses that could lead to disastrous malicious attacks.
 </lead> </lead>
- 
  
 [[mechanisms|=> Mechanisms TOP]] [[mechanisms|=> Mechanisms TOP]]
Line 77: Line 75:
   * [[mechanisms#4.3 Other Operating Mechanisms]]   * [[mechanisms#4.3 Other Operating Mechanisms]]
   * [[mechanisms#4.4 Forum topics on studies]]   * [[mechanisms#4.4 Forum topics on studies]]
-==== 4.1 Security Aspects ==== 
-(work in progress - brainstorming phase. Note that it may not be meaningful to consider each of the items below prematurely, e.g. in the context of an alpha release.) 
- 
-=== Data Integrity Guarantee === 
- 
-=== Node Integrity Guarantee === 
- 
-=== Protocol Integrity Guarantee === 
- 
-=== Data Availability Guarantee === 
- 
-=== Node Availability Guarantee === 
- 
-=== Data Confidentiality Guarantee === 
- 
-=== Node Anonymity Guarantee === 
- 
-=== User Anonymity Guarantee === 
- 
-=== User Identity and Access control Management IAM Security Guarantee === 
- 
-=== Access Console and App Security Guarantee === 
- 
-  * Hacking a SAFE App [[https://safenetforum.org/t/what-methods-are-there-to-hack-a-safe-site-or-app/29038/14|discussion]] 
- 
-  * [[https://safenetforum.org/t/open-security-issues/29092/1|Brain storming thread]] 
- 
-=== Unknowns due to lack of documentation === 
-(this section is for listing potential gaps in documentation or changes since last review.) 
- 
-==== 4.2 Mechanisms to Ensure Security ==== 
-(work in progress) 
- 
-The following is based on a 2015 peer-reviewed paper. It may not reflect the current code, and the implementation at time of launch may differ from this too. However, it does provides a clear reference for discussion. 
- 
-Distance in XOR space between entities plays a key role, see discussion elsewhere. Note that: 
-  * a client must be closest CM-Ps, 
-  * a data chunk must be closest to DH-Ps, DHM-Ps, and DM-Ps. 
- 
-== Maintaining Security of ClientManager vault Personas (CM-P) == 
-  - Four CM-Ps per Client 
-  - Roles to be guaranteed (Primarily: maintain Client IP address anonymity) 
-    - Identify 4 DM-Ps closest to a given key-value pair (data chunk) 
-    - Forward request to the 4 DM-Ps 
-    - Anonymize Client by protecting Client IP address information 
- 
-== Maintaining Security of DataManager vault Personas (DM-P) == 
-  - One DM-P per 4 DHM-Ps 
-  - Roles to be guaranteed (Primary: data/DH-P availability (churn handling) andintegrity management) 
-    - Validate request received from CM-Ps 
-      - Check if CM-Ps are the nearest to the Client 
-    - Select and maintain 4 random DH-Ps 
-    - Determine nearest 4 DHM-Ps to each DH-P 
-    - Maintain minimum level of data replication 
- 
-== Maintaining Security of DataHolderManager vault Personas (DHM-P) == 
-  - One DHM-P per DH-P 
-  - Roles to be guaranteed (Primarily: monitoring DH-P availability and integrity, and maintain DH-P IP address anonymity) 
-    - Validate requests received from DataManagers 
-    - Observe their DH-P and report issues 
-      - Maintain and check continued connectivity quickly 
-      - Periodically perform PoR check of their DH-P 
-    - Anonymize DH-P by protecting their IP address information 
- 
-== Maintaining Security of DataHolder vault Personas (DH-P) == 
-  - One DH-P per unique data chunk 
-  - Roles to be guaranteed (Primarily: proof of resource) 
-    - Validate requests received from DataHolderManagers 
-      - Check if DHM-Ps are actually the nearest nodes to DH-P 
-      - Confirm agreement among DHM-Ps about the request 
-    - Store/retrieve key-value pairs (data chunk) as requested 
-    - Provide Proof-of-Resource (PoR) to DataManagers (is this correct? or is it DataHolderManagers?) 
- 
-(documentation of current and future plan would be nice) 
- 
-==== 4.3 Other Operating Mechanisms ==== 
- 
-=== Self-configuration process === 
- 
-SAFE Network will create a routed overlay network (OSI Layer 4) on top of an Internet of interconnected computing devices. All aspects from the overlay routing upwards should be de-centralized, consensus-based, and completely autonomous. 
- 
-=== Self-Authentication === 
- 
- 
-=== Self-Encryption === 
- 
- 
-=== Maintaining the rules === 
- 
-== Decentralized Consensus == 
- 
-All transactions or decisions are consented according to the rules of the network and recorded in a transaction ledger that acts as the ground truth to base future transactions on. 
- 
-MaidSafe claims a world's first decentralized, asynchronous, Byzantine Fault Tolerant consensus mechanism that works in permission-less networks and that is open source. 
- 
-[[https://medium.com/safenetwork/parsec-a-paradigm-shift-for-asynchronous-and-permissionless-consensus-e312d721f9d8|PARSEC]] [[https://github.com/maidsafe/parsec|GitHub parsec repo]] 
- 
-=== Incentive system to provide storage space === 
- 
-[[https://github.com/maidsafe/rfcs/blob/master/text/0057-safecoin-revised/0057-safecoin-revised.md|RFC-0057]] Safecoin Revised 
- 
-[[https://safenetforum.org/t/exploration-of-a-live-network-farming-rewards/29043|Farming Reward System Proposal]] 
- 
- 
-==== 4.4 Forum topics on studies ==== 
- 
-  * [[https://safenetforum.org/t/open-security-issues/29092|Security challenges]] 
- 
-  * [[https://safenetforum.org/t/exploration-of-a-live-network-farming-rewards/29043|Exploration and simulation of farming rewards]] 
- 
-  * [[https://safenetforum.org/t/chunk-distribution-within-sections/29187|Chunk distribution within Sections]] 
- 
-  * [[https://safenetforum.org/t/step-by-step-the-road-to-fleming-1-the-big-questions-safe-fleming-and-beyond/27560|Road to Fleming Big Questions]] 
- 
-<hidden == Open Items ==> 
  
-  * How to tweak and maintain code? 
-  * How to reboot SAFE Network to fix issues requiring it without losing data? 
-  * Decentralized Applications    
-</hidden> 
 ===== 5. Economics ===== ===== 5. Economics =====
 <lead>One special mechanism regulating the network involves SafeCoin, a medium of exchange within the network, but with a reach well beyond it. This section is intended to consider this from an Economist's viewpoint. <lead>One special mechanism regulating the network involves SafeCoin, a medium of exchange within the network, but with a reach well beyond it. This section is intended to consider this from an Economist's viewpoint.
 </lead> </lead>
  
-SAFE Network will have a native cryptocurrency called SafeCoin, providing incentives to people to support the network with resources and applications, and charging network users for certain kinds of usage.+[[economics|=> Economics TOP]] 
 +  * [[economics#5.1 MAID pre-launch]] 
 +  * [[economics#5.2 MAID and SafeCoin at launch]] 
 +  * [[economics#5.3 SafeCoin]]
  
-To raise funding for the project a token called MAID was created. MAID will be exchanged for SafeCoin at the launch of the SAFE Network. +===== 6Dealing with MAID and SafeCoin =====
-==== 5.MAID pre-launch ==== +
-(MAID creation to fund development)+
  
- 
- 
-==== 5.2 MAID and SafeCoin at launch ==== 
-(scenarios impacting the value of MAID at conversion to SafeCoin) 
- 
-At this time it is expected that one MAID token will be exchanged for son SafeCoin. 
- 
-Source: [[https://safenetforum.org/t/safecoin-supply/13477|this]], [[https://github.com/maidsafe/Whitepapers/blob/master/Project-Safe.md|Project-Safe whitepaper April 2014]](outdated??) 
- 
-  * Pre-launch supply (MAID): 452 M (452,552,412 units) 
-  * Investor allocation: 226 M 
-  * Maximum supply: 678 M 
- 
-5% of total supply [of 678M??] goes to early investor/family 
- 
-5% of total supply [of 678M??] goes to dev team 
-==== 5.3 SafeCoin ==== 
-(money supply, economic output, inflation) 
- 
-  * SafeCoin will be almost infinitely divisible  
- 
-=== 5.3.1 SafeCoin supply === 
-(following needs confirmation.) [[https://safenetforum.org/t/safecoin-supply/13477|4/2017]], [[https://safenetforum.org/t/safecoin-supply/13477/11|authoritative April 2017]] 
- 
-  * Pre-launch supply (MAID): 452 M (452,552,412 units) - slightly* over 10% (10.5%) of total supply, available at day 1 
-  * Early investor allocation: 215 M - (about?) 5% of total supply available at day 1 
-  * Maximum supply: 4.3B (4,294,967,295; 2^32-1) 
- 
-*) Slighyly more by a few million due to error at MAID sale. [[https://safenetforum.org/t/maidsafecoin-maid-price-trading-topic/9923/6436|@neo]] 
- 
-=== 5.3.2 SafeCoin creation === 
-(following needs confirmation.)  
- 
-[[https://safenetforum.org/t/safecoin-supply/13477|4/2017]], [[https://safenetforum.org/t/safecoin-supply/13477/11|authoritative April 2017]],[[https://safenetforum.org/t/safecoin-supply/13477/14|@neo]] 
- 
-SafeCoin goes to 
-  * Farmers - Depending on supply of available but unused storage; the (instantaneous) farming rate. 
-  * Network maintenance - Every GET on average pays core devs 5% of farming rate 
-  * App developers - Every GET due to an App pays 10% of farming rate 
-  * PtP (Pay the Provider - [[https://safenetforum.org/t/poll-should-maidsafe-implement-ptp-pay-the-producer/5805|under discussion]]) - Every GET for specific data could pay 10% of farming rate 
- 
-Farming rate is explained in [[https://github.com/maidsafe/rfcs/blob/47e3e688d6eb0709fbeee742f2865b50233dc98a/text/0012-safecoin-implementation/0012-safecoin-implementation.md|RFC-0012]]. 
- 
-=== 5.3.3 SafeCoin destruction === 
-[[https://safenetforum.org/t/safecoin-supply/13477/13|@polpolrene]] 
- 
-SafeCoins are destroyed/consumed by the network at: 
-  * Account creation (address/ID) 
-  * Domain name purchase 
-  * PUT of data (immutable data will be much less expensive than mutable data) 
- 
-=== What determines the exchange value of SafeCoin === 
- 
-Since SAFE Coin will regulate availability of (secure and perpetual decentralized) storage, it may be expected to be as stable as that commodity. However, speculation and application for predominantly other uses might change the situation significantly. 
- 
-===== 6. MAID and SafeCoin for Holders and Traders ===== 
 <lead> Dealing with MAID and SAFE Network tokens is much more complicated than dealing with cash. This should be a guide to make things easier. <lead> Dealing with MAID and SAFE Network tokens is much more complicated than dealing with cash. This should be a guide to make things easier.
 </lead> </lead>
 +
 +[[safecoin|=> Handling MAID and SafeCoin TOP]]
 +  * [[safecoin#6.1 What is MAID]]
 +  * [[safecoin#6.2 What is SafeCoin]]
 +  * [[safecoin#6.3 Exchanges trading MAID]]
 +  * [[safecoin#6.4 Storing MAID offline]]
  
 [[cryptocharts|=> Crypto Charts Page]] [[cryptocharts|=> Crypto Charts Page]]
  
-==== 6.1 What is MAID ==== 
- 
-MAID is a token that exists in the OMNI layer on the Bitcoin Blockchain. 
- 
-==== 6.2 What is SafeCoin ==== 
- 
-SafeCoin will be the native medium of exchange within SAFE Network, and is supposed to replace MAID at the time of launch of the network. 
- 
-Warning: SafeCoin is NOT [[https://safecoin.org/|this]]. 
- 
-==== 6.3 Exchanges trading MAID ==== 
- 
-As a general rule, do not leave large amount of MAID (or any other coins) on an exchange. 
- 
-  * [[https://poloniex.com/|Poloniex]]: MAID/BTC, MAID/XMR, .... 
- 
-  * [[http://international.bittrex.com|Bittrex International]]: MAID/BTC 
-     *[[https://mobile.twitter.com/BittrexIntl/status/1131613052250599424?s=20|Announcement]] on May 23, 2019 12:29pm 
-     *[[https://safenetforum.org/t/maidsafecoin-maid-price-trading-topic/9923/6799|MaidSafe confirmation]] 
-     *This exchange is not accessible to US citizens (see [[https://bittrex.zendesk.com/hc/en-us/articles/360001426066-FAQs-Bittrex-International-Trading-Platform-|FAQ]]) 
- 
-  * [[https://dex.openledger.io/|OpenLedger DEX]] low volume 
- 
-  * [[https://hitbtc.com/exchange/MAID-to-BTC|HitBTC]]: MAID/BTC, MAID/ETH, MAID/USDT. Consider the high level of complaints on social media about losing access to funds. MaidSafe does seem to have some leverage over HitBTC and could help get issues resolved. 
- 
-  * [[https://safenetforum.org/t/cryptopia-liquidation/28767/11|Nova might replace Cryptopia]]. [[https://novaexchange.com/|Nova]] 
- 
-MAIDSafe [[https://safenetforum.org/t/removal-of-maidsafe-assets-from-bitker/29191|decided]] to remove MAID from [[http://www.bitker.com|Bitker]] in July 2019. 
- 
-==== 6.4 Storing MAID offline ==== 
- 
-Storing large amounts on exchanges is not a good idea. However, before you create a paper BTC wallet and send MAID to it, read through the steps needed to send the MAID back from the paper wallet to an exchange and decide if is worth the trouble and the risks of making mistakes and of reduced liquidity. 
  
-[[https://safenetforum.org/t/how-to-store-maidsafe/3644/89|Feb 2018 post]] 
 ===== 7. Hardware Guide for Farmers ===== ===== 7. Hardware Guide for Farmers =====
 (what do you need to join.) (what do you need to join.)