SHA256
21 lines
1.0 KiB
Markdown
21 lines
1.0 KiB
Markdown
# SHiNE User PDA
|
||
|
||
Актуальный формат: **1.2**.
|
||
|
||
Каноническая спецификация находится в:
|
||
|
||
`shine-solana/shine/doc/formats/shine-user-pda-format-v.1.2.md`
|
||
|
||
Ключевые отличия от тестового 1.0:
|
||
|
||
- удалены Recovery/Sessions/Trusted/ArchiveHead и `sync_servers`;
|
||
- root — cold recovery authority;
|
||
- последний blockchain key — обычный authority;
|
||
- BlockchainRegistry хранит append-only fork history: `key[32] + created_at_ms:u64 + paid_limit_bytes:u32`;
|
||
- ServerProfile допускает один адрес в 1.2, AccessServers — 0/1 сервер;
|
||
- variable blocks имеют `payload_len:u16` для forward compatibility;
|
||
- create/update работают только с 1.2;
|
||
- legacy 1.0 можно только временно закрыть `close_legacy_pda` и вернуть lamports caller-у.
|
||
|
||
Формат пользовательских SHiNE/Arweave блоков этим изменением не меняется.
|