Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Technical Accuracy #2456

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/hubble/www/docs/docs/httpapi/links.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Get all links to a target FID
**Query Parameters**
| Parameter | Description | Example |
| --------- | ----------- | ------- |
| target_fid | The FID of the reaction's creator | `fid=6833` |
| target_fid | The FID of the reaction's creator | `target_fid=6833` |
| link_type | The type of link, as a string value| `link_type=follow` |


Expand Down Expand Up @@ -128,4 +128,4 @@ curl http://127.0.0.1:2281/v1/linksByTargetFid?target_fid=6833
],
"nextPageToken": ""
}
```
```
4 changes: 2 additions & 2 deletions apps/hubble/www/docs/docs/httpapi/message.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ try {

## validateMessage
Validate a signed protobuf-serialized message with the Hub. This can be used to verify that the hub will consider the
message valid. Or to validate message that cannot be submitted (e.g. Frame actions)
message valid. Or to validate messages that cannot be submitted (e.g. Frame actions)

**Query Parameters**
| Parameter | Description | Example |
Expand Down Expand Up @@ -168,7 +168,7 @@ async fn main() {

let msg_data_bytes = msg_data.write_to_bytes().unwrap();

// Calculate the blake3 hash, trucated to 20 bytes
// Calculate the blake3 hash, truncated to 20 bytes
let hash = blake3::hash(&msg_data_bytes).as_bytes()[0..20].to_vec();

// Construct the actual message
Expand Down