Skip to content

Commit

Permalink
update behavior when disconnected in SendRequests
Browse files Browse the repository at this point in the history
In the host implementers guide, this message is using `TryConnect`, but
it was later changed to `ImmediateError` for optimization purposes
(fail quickly and try another peer instead of waiting).
  • Loading branch information
haikoschol committed Jan 15, 2025
1 parent d5a6116 commit 854ce63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/design/availability-distribution.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The overseer must be modified to forward these messages to the subsystem.

### Messages Sent

1. [`NetworkBridgeTxMessage::SendRequests(Requests, IfDisconnected::TryConnect)`](https://github.com/paritytech/polkadot-sdk/blob/41b6915ecb4b5691cdeeb585e26d46c4897ae151/polkadot/node/subsystem-types/src/messages.rs#L433)
1. [`NetworkBridgeTxMessage::SendRequests(Requests, IfDisconnected::ImmediateError)`](https://github.com/paritytech/polkadot-sdk/blob/41b6915ecb4b5691cdeeb585e26d46c4897ae151/polkadot/node/subsystem-types/src/messages.rs#L433)

This network bridge message is used to request PoVs and erasure chunks from other validators in the core group. [It is
not implemented](https://github.com/ChainSafe/gossamer/blob/32256782470db15efb3b7b4ba687311dd4e7cdce/dot/parachain/network-bridge/sender.go#L95-L96)
Expand Down

0 comments on commit 854ce63

Please sign in to comment.