Skip to content

Commit

Permalink
chore: Addre review change request
Browse files Browse the repository at this point in the history
  • Loading branch information
red-0ne committed May 13, 2024
1 parent 72fbaa4 commit 51c8f74
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
34 changes: 34 additions & 0 deletions docusaurus/docs/operate/configs/relayminer_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,45 @@ sign `RelayResponse`s and submit `Claim`s and `Proof`s transactions to the Pocke
network. (e.g. This is useful for a `Supplier` that is willing to provide redundant
or geographically distributed services.)

```mermaid
flowchart
subgraph USW[US West]
RM1["Relay Miner 1 <br> (signing_key_name=Supplier1)"]
end
subgraph USE[US East]
RM2["Relay Miner 2 <br> (signing_key_name=Supplier1)"]
end
subgraph EUC[EU Central]
RM3["Relay Miner 3 <br> (signing_key_name=Supplier1)"]
end
subgraph CAC[CA Central]
RM4["Relay Miner 4 <br> (signing_key_name=Supplier2)"]
end
subgraph PB[POKT Blockchain]
direction TB
S1[Supplier1]
S2[Supplier2]
end
S1 -.- RM1
S1 -.- RM2
S1 -.- RM3
S2 -.- RM4
```

But it is not possible to have a single `RelayMiner` instance running with multiple
`signing_key_name`s as this would involve more complex logic and/or configuration
to determine which key to use, especially in the case of `Supplier`s that have
overlapping services provided.

TL;DR A 1:N Supplier:RelayMiner is okay, but a N:1 RelayMiner:Supplier relationship
is not.

:::

### `smt_store_path`
Expand Down
6 changes: 2 additions & 4 deletions docusaurus/docs/operate/configs/supplier_staking_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,8 @@ from the `Supplier`'s account balance.

The upstaking requirement is to ensure that a `Supplier` incurs a cost for
changing the services they provide too frequently, which could lead to a poor user
experience for `Gateways` and `Applications`.

The upstake amount may be adjusted in the future based on network conditions
and feedback from the community.
experience for `Gateways` and `Applications`. It is also necessary to dissuade
sybil or flooding attacks on the network.

:::

Expand Down

0 comments on commit 51c8f74

Please sign in to comment.