Skip to content

Commit

Permalink
Run prettier across all HIPs (#878)
Browse files Browse the repository at this point in the history
  • Loading branch information
jthiller authored Jan 17, 2024
1 parent c451feb commit 6443818
Show file tree
Hide file tree
Showing 31 changed files with 675 additions and 587 deletions.
14 changes: 7 additions & 7 deletions 0017-hex-density-based-transmit-reward-scaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Hotspots. Note there are 7 “neighbor” hexs (6 + reference hex in center).
The density limit follows the following criteria:

| | |
|----------------------:|:-----------------------------------------------------|
| --------------------: | :--------------------------------------------------- |
| **Occupied Count** | ![image n formula](files/0017/n_formula.PNG) |
| **Hex Density Limit** | ![image limit formula](files/0017/limit_formula.PNG) |
| |
Expand All @@ -147,7 +147,7 @@ Density_max=4. The yellow / orange lines show the res7 hex boundaries to make it
neighboring hexs do not have to belong to the same parent

| Example 1 | Example 2 | Example 3 | Example 4 |
|:-----------------------------------------------:|:-----------------------------------------------:|:-----------------------------------------------:|:-----------------------------------------------:|
| :---------------------------------------------: | :---------------------------------------------: | :---------------------------------------------: | :---------------------------------------------: |
| ![1 Hex occupied](files/0017/example_1_hex.svg) | ![1 Hex occupied](files/0017/example_2_hex.svg) | ![1 Hex occupied](files/0017/example_3_hex.svg) | ![1 Hex occupied](files/0017/example_7_hex.svg) |

**Example 1**: there is one occupied hex that has 5 interactive Hotspots in it. Since this is the
Expand Down Expand Up @@ -206,11 +206,11 @@ average and orange to red being below average. The map has a lot of content and
speed so it may be laggy to view.

| Manhattan, NY | San Fransisco, CA |
|:------------------------------------------:|:----------------------------------------:|
| :----------------------------------------: | :--------------------------------------: |
| ![myc scaling](files/0017/nyc_scaling.png) | ![sf scaling](files/0017/sf_scaling.png) |

| Modesto, CA | Austin, TX |
|:--------------------------------------------------:|:------------------------------------------------:|
| :------------------------------------------------: | :----------------------------------------------: |
| ![modesto scaling](files/0017/modesto_scaling.png) | ![austin scaling](files/0017/austin_scaling.png) |

### How Transmit Reward Scaling is Used
Expand Down Expand Up @@ -242,7 +242,7 @@ each Hotspot transmits exactly once. Finally, the rewards earned are assumed to
simplified) reward distribution from beaconing above.

| Topology | Reward Distribution |
|---------------------------------------------|--------------------------------------------|
| ------------------------------------------- | ------------------------------------------ |
| ![ex 1 topo](files/0017/example_topo_1.png) | ![ex 2 topo](files/0017/example_rew_1.png) |

This is an over-simplification of real-word data, but we can see that although D-H have a transmit
Expand All @@ -257,7 +257,7 @@ Hotspots circled, assume transmissions can be heard by everyone in the set(s) th
So for example D and E can witness all Hotspots but A can only witness C-E, not F or G.

| Topology | Reward Distribution |
|---------------------------------------------|--------------------------------------------|
| ------------------------------------------- | ------------------------------------------ |
| ![ex 2 topo](files/0017/example_topo_2.png) | ![ex 2 topo](files/0017/example_rew_2.png) |

Based on this example we can see D and E earn the most even though they have half the transmit
Expand All @@ -273,7 +273,7 @@ area. The table on the left below gives an estimate of the rewards when there is
per hex and the table on the right when there are 20 Hotspots per hex.

| 1 Hotspot per Hex | 20 Hotspots per Hex |
|:-------------------------------------------------:|:------------------------------------------------:|
| :-----------------------------------------------: | :----------------------------------------------: |
| ![modesto scaling](files/0017/example_rew_3a.png) | ![austin scaling](files/0017/example_rew_3b.png) |

We can see that although the per-hex earnings do go up with increased density, they only see a
Expand Down
6 changes: 2 additions & 4 deletions 0033-regional-reward-adjustments.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ significant documentation update on how proof-of-coverage is performed and rewar

<!-- References -->

[hip-17]:
https://github.com/helium/HIP/blob/master/0017-hex-density-based-transmit-reward-scaling.md
[jan 27 firmware update]:
https://engineering.helium.com/2021/01/27/hotspot-firmware-power-updates.html
[hip-17]: https://github.com/helium/HIP/blob/master/0017-hex-density-based-transmit-reward-scaling.md
[jan 27 firmware update]: https://engineering.helium.com/2021/01/27/hotspot-firmware-power-updates.html
[sf8125khz]: https://www.semtech.com/products/wireless-rf/lora-transceivers/sx1276
[miner pr #613]: https://github.com/helium/miner/pull/613
9 changes: 3 additions & 6 deletions 0055-validator-challenges.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,8 @@ new model, before that happens we need the new code to be merged, deployed to th
Hotspots, validators, node users) and this HIP needs to be ratified.

[hip54]: https://github.com/helium/HIP/blob/main/0054-h3dex-targeting.md
[proto]:
https://github.com/helium/proto/blob/andymck/poc-grpc-msg-defs-WIP/src/service/gateway.proto#L101
[message-sequence]:
https://docs.google.com/drawings/d/1eVTK89ob66vlcEwwoVNi0BFaCEaU2DYki8778LIRWpA/edit
[poc-challenge-rate]:
https://user-images.githubusercontent.com/75/153673071-550eb970-4ab6-44e0-b9fc-e9b04e1b4dad.png
[proto]: https://github.com/helium/proto/blob/andymck/poc-grpc-msg-defs-WIP/src/service/gateway.proto#L101
[message-sequence]: https://docs.google.com/drawings/d/1eVTK89ob66vlcEwwoVNi0BFaCEaU2DYki8778LIRWpA/edit
[poc-challenge-rate]: https://user-images.githubusercontent.com/75/153673071-550eb970-4ab6-44e0-b9fc-e9b04e1b4dad.png
[hip10]: https://github.com/helium/HIP/blob/main/0010-usage-based-data-transfer-rewards.md
[docs]: https://docs.helium.com/blockchain/mining#hnt-distributions-per-epoch
Loading

0 comments on commit 6443818

Please sign in to comment.