Skip to content

Commit

Permalink
chore: appease lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Feb 1, 2024
1 parent b454b10 commit 18df585
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions w3-compute.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "S

- [Introduction](#introduction)
- [Capabilities](#capabilities)
- [`compute/` namespace](#comput-namespace)
- [`compute/` namespace](#compute-namespace)
- [`compute/*`](#compute)
- [`compute/piececid`](#computepiececid)
- [Schema](#schema)
Expand All @@ -38,19 +38,19 @@ Note that the discovery process by actors looking for services providing given c

# Capabilities

### `compute/` namespace
## `compute/` namespace

The `compute/` namespace contains capabilities relating to computations.
The `compute/` namespace contains capabilities relating to computations.

### `compute/*`
## `compute/*`

> Delegate all capabilities in the `compute/` namespace
The `compute/*` capability is the "top" capability of the `compute/*` namespace. `compute/*` can be delegated to a user agent, but cannot be invoked directly. Instead, it allows the agent to derive any capability in the `compute/` namespace, provided the resource URI matches the one in the `compute/*` capability delegation.

In other words, if an agent has a delegation for `compute/*` for a given space URI, they can invoke any capability in the `compute/` namespace using that space as the resource.

### `compute/piececid`
## `compute/piececid`

> Request computation of a PieceCIDv2 per [FRC-0069](https://github.com/filecoin-project/FIPs/blob/master/FRCs/frc-0069.md). A CID representation for the FR32 padded sha256-trunc254-padded binary merkle trees used in Filecoin Piece Commitments.

Check failure on line 56 in w3-compute.md

View workflow job for this annotation

GitHub Actions / markdown-link-check

Blank line inside blockquote

w3-compute.md:56 MD028/no-blanks-blockquote Blank line inside blockquote
Expand All @@ -75,7 +75,7 @@ In other words, if an agent has a delegation for `compute/*` for a given space U
}
```

##### Compute PieceCID Failure
### Compute PieceCID Failure

The service MAY fail the invocation if the linked `content` is not found. Implementer can rely on IPFS gateways, location claims or any other service to try to find the CAR bytes.

Expand All @@ -91,7 +91,7 @@ The service MAY fail the invocation if the linked `content` is not found. Implem
}
```

##### Compute PieceCID Success
### Compute PieceCID Success

```json
{
Expand All @@ -105,9 +105,9 @@ The service MAY fail the invocation if the linked `content` is not found. Implem
}
```

## Schema
# Schema

### `compute/piececid` schema
## `compute/piececid` schema

```ipldsch
type ComputePieceCid struct {
Expand Down

0 comments on commit 18df585

Please sign in to comment.