Skip to content
Merged
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
6 changes: 3 additions & 3 deletions docs/protocol/app-layer/off-chain/app-sessions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Common structures: [AppDefinition](#appdefinition) • [Allocation](#allocation)
| `allocations` | Allocation[] | Yes | Initial funds to transfer from participants' unified balance accounts | [↓ Structure](#allocation) |
| `session_data` | string | No | Application-specific initial state (JSON string, max 64KB recommended)<br/>This is application-specific; protocol doesn't validate content | — |

#### Session Identifier {#session-identifier}
#### Session Identifier

`app_session_id` is derived deterministically from the entire <Tooltip content={tooltipDefinitions.appDefinition}>App definition</Tooltip>:

Expand All @@ -110,7 +110,7 @@ appSessionId = keccak256(JSON.stringify({

Implementation reference: `clearnode/app_session_service.go`.

#### AppDefinition {#appdefinition}
#### AppDefinition

| Field | Type | Required | Description | Default | Allowed Values | Notes |
|-------|------|----------|-------------|---------|----------------|-------|
Expand All @@ -133,7 +133,7 @@ Implementation reference: `clearnode/app_session_service.go`.
}
```

#### Allocation {#allocation}
#### Allocation

| Field | Type | Required | Description |
|-------|------|----------|-------------|
Expand Down
2 changes: 1 addition & 1 deletion docs/protocol/app-layer/on-chain/channel-lifecycle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ stateDiagram-v2
note right of Dispute: Challenge period active<br/>Parties can submit<br/>newer states
```

## Resize Protocol {#resize-protocol}
## Resize Protocol

**Purpose**: Adjust funds locked in the <Tooltip content={tooltipDefinitions.channel}>channel</Tooltip> by locking or unlocking funds **without closing the channel**.

Expand Down
Loading
Loading