Skip to content

Commit

Permalink
docs: cache sharing WithPeerBlockRequestFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Aug 7, 2024
1 parent ac1ea26 commit 7ceaa42
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,13 @@ queries from these safelisted peers, serving locally cached blocks if requested.
> This saves resources as data cached on other instance can be fetched internally
> (e.g. LAN) rather than externally (WAN, p2p).
Default: `false` (no cache sharing)
> [!CAUTION]
> This mode comes with additional overhead, YMMV. A bitswap server
> applies `WithPeerBlockRequestFilter` and only answers to safelisted peers;
> however may still increase resource usage, as every requested CID will be
> also broadcasted to peered nodes.
Default: `false` (no cache sharing, no bitswap server, client-only)

### `RAINBOW_REMOTE_BACKENDS`

Expand Down

0 comments on commit 7ceaa42

Please sign in to comment.