Skip to content

Latest commit

 

History

History
67 lines (55 loc) · 3.55 KB

AWARDS.md

File metadata and controls

67 lines (55 loc) · 3.55 KB

Awards

Name Requirements
Exotic Exotic Node placed in an exotic country
Alpha Alpha Is running an alpha version of Tor
Unix Unix Runs Linux or *BSD
Contact Contact Has an email address or BTC address in contact information
IPV6 IPV6 IPV6 support in DirAdr or ORAdr
HTTPS Lover HTTPS Lover Uses port 80 or 443 in DirPort or ORPort
Uptime 10 Uptime 10 10 or more days of uptime
Uptime 20 Uptime 20 20 or more days of uptime
Uptime 50 Uptime 50 50 or more days of uptime
Uptime 150 Uptime 150 150 or more days of uptime
Uptime 1Y Uptime 1Y 1 year of uptime
Uptime 2Y Uptime 2Y 2 years of uptime
Lightning 1 Lightning 5 5 MB/s or more in bandwidth speed
Lightning 10 Lightning 10 10 MB/s or more in bandwidth speed
Lightning 15 Lightning 15 15 MB/s or more in bandwidth speed
Lightning 25 Lightning 25 25 MB/s or more in bandwidth speed
Lightning 50 Lightning 50 50 MB/s or more in bandwidth speed
Lightning 75 Lightning 75 75 MB/s or more in bandwidth speed
Guard Probability 1 Guard Probability 1 Over 0.1% mean guard probability fraction
Guard Probability 2 Guard Probability 2 Over 0.5% mean guard probability fraction
Guard Probability 3 Guard Probability 3 Over 1% mean guard probability fraction
Guard Probability 4 Guard Probability 4 Over 2% mean guard probability fraction
Exit Probability 1 Exit Probability 1 Over 0.1% mean exit probability fraction
Exit Probability 2 Exit Probability 2 Over 0.5% mean exit probability fraction
Exit Probability 3 Exit Probability 3 Over 1% mean exit probability fraction
Exit Probability 4 Exit Probability 4 Over 2% mean exit probability fraction
Middle Probability 1 Middle Probability 1 Over 0.1% mean middle probability fraction
Middle Probability 2 Middle Probability 2 Over 0.5% mean middle probability fraction
Middle Probability 3 Middle Probability 3 Over 1% mean middle probability fraction
Middle Probability 4 Middle Probability 4 Over 2% mean middle probability fraction

Adding new awards

Create new file in awards/ with the following template

<?php
class Name extends Award {

      public function get_name() {
            return "Name";
      }

      public function get_icon() {
            return "icon.png";
      }

      public function get_description() {
            return "Description";
      }

      public function is_granted($relay) {
            return true;
      }

}
?>

Icon should be placed in images/awards/

Award class needs to be included and initiated in awards/awards.php