LIST_SWAPPABLE — Group 8, Code 95
List coins already authoritative on a suspect that are offered for swap (reuses the trade-locker / SALE_TYPE_CC machinery).
Design-stage — parameters are a first draft
Field sizes are drafted from raidax/ideas_for_suspect_raida_servers.txt (Addenda 5–7) and are not final or implementation-verified. The body is encrypted per the header ENC_CODE; see below.
Phase II — later
This command is Phase II: convenience, recovery, or optimization that is not required for the first working move. Optional swap fast-path; depends on counterparty liquidity.
How it works
Moving a coin's authority is one way to end up with coins on a suspect server. A faster alternative, when it is available, is to swap: trade a coin you hold on the root for a coin of equal value that someone else already holds on the suspect. No authority changes hands and no epoch wait is involved — two existing coins simply change owners.
LIST_SWAPPABLE is the discovery step: it asks a suspect which coins are currently offered for swap, optionally filtered by denomination. It reuses the existing trade-locker marketplace machinery. The catch is that swaps depend on someone else offering the right coins, so this is an optional fast path, not a guaranteed route.
Direction & encryption
- Direction: client → suspect
- ENC_CODE: 0 / 1
Request Body parameters
| Field | Bytes | Description |
|---|---|---|
| CH (challenge) | 16 | Standard challenge / replay protection (per header convention). |
| DN | 1 | Denomination filter (optional). |
| EOF | 2 | Terminator (0x3E3E). |
Response Body parameters
| Field | Bytes | Description |
|---|---|---|
| count | 2 | Number of offers. |
| offers | var | Repeating: DN(1) + SN(4) + price/terms. |