-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add capabilities message and outline how to upgrade a standard m…
…essage
- Loading branch information
Showing
3 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Capabilities Payload | ||
|
||
Any network can only have Portal client can only every have 500 extensions enabled per Portal sub-networks. | ||
|
||
This payload provides a list of u16's each u16 provide in the list corresponds to an an enabled extension type. | ||
|
||
Ping and Pong Payload | ||
```python | ||
|
||
MAX_CAPABILITIES_LENGTH = 500 | ||
|
||
capabilities = SSZ.serialize(List[u16, MAX_CAPABILITIES_LENGTH]) | ||
|
||
BasicRadiusPayload = Container( | ||
type: 0, | ||
payload: capabilities | ||
) | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters