Files
SHiNE-server/docs/Solana/user_pda/README.md
T

21 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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 блоков этим изменением не меняется.