remove — Group 8, Code 84
Withdraw or clear locker contents.
Purpose
remove empties a standard locker. It is the alternative to 8 download when the caller just wants the locker drained without a content-bearing response.
Legacy wire reference — verify before relying
This byte layout was restored from the pre-V2 documentation (commit ceba44b). It has not been cross-checked against the current raidax implementation in every detail.
Request body
Challenge, the 16-byte locker AN (matches the PAN that was used to store the locker), then one 21-byte record per coin being removed (denom + SN + 16-byte new PAN).
CH CH CH CH CH CH CH CH CH CH CH CH CH CH CH CH
AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN // locker key (matches PAN from store)
DN SN SN SN SN PN PN PN PN PN PN PN PN PN PN PN PN PN PN PN PN // coin 1: 21B = DN+SN+new PAN
DN SN SN SN SN PN PN PN PN PN PN PN PN PN PN PN PN PN PN PN PN // coin 2
...
3E 3E
Per-coin packet diagram
Offsets are relative to the start of each 21-byte per-coin record. The new PAN rotates the AN that the coin will carry after removal — treat remove as a withdraw-and-rekey in one step.