Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
wikibase
Search
Search
English
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Архитектурный принцип: Кустодиальный мультиподписной доступ
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Архитектурный принцип AI Nation == '''Кустодиальный мультиподписной доступ''' (Custodial Multisig Access) === Суть принципа === При добавлении кустодиалов (custodians/хранителей) в мультиподписную схему Stellar, '''текущий статус управления должен быть идентичен 3/4 хранителей'''. Кустодиалы — не gatekeepers, не блокирующий слой, а '''резервные ключи восстановления'''. Они: * Не стоят на пути обычных операций * Дают возможность дублирующих операций при утрате основного ключа * Эквивалентны основному ключу в совокупности (3 из 4 = 1 основной) === Математика весов === '''Signers:''' * Основной ключ (bot/trading) → weight: 3 * Основной ключ (owner/main) → weight: 3 * Custodian 1 → weight: 1 * Custodian 2 → weight: 1 * Custodian 3 → weight: 1 * Custodian 4 → weight: 1 '''Thresholds:''' 3 / 3 / 3 === Верификация симметрии === {| class="wikitable" |- ! Сценарий !! Вес !! Threshold !! Результат |- | Один основной ключ || 3 || 3 || ✅ Полный контроль |- | 3 из 4 Custodians || 3 || 3 || ✅ Полный контроль (восстановление) |- | 2 Custodians || 2 || 3 || ❌ Недостаточно |- | 1 Custodian || 1 || 3 || ❌ Недостаточно |- | Основной + 1 Custodian || 4 || 3 || ✅ Избыточно, но работает |} === Критические правила === # '''Не создавать дополнительный барьер''' — если threshold > sum(custodians), хранители не смогут восстановить счёт # '''Не занижать барьеры''' — если threshold ≤ weight одного custodian, система не защищена # '''Симметрия''' — weight основного ключа = sum(3 custodians) = threshold # '''При добавлении custodians''' — пропорционально подкручивать веса основных ключей === Операционные пороги Stellar === '''Medium threshold''' (большинство операций): * Payment, ManageSellOffer, ManageBuyOffer, PathPayment * ChangeTrust, ManageData, CreateClaimableBalance * LiquidityPoolDeposit, LiquidityPoolWithdraw '''High threshold''' (критические операции): * SetOptions (при изменении signers/thresholds) * AccountMerge '''Low threshold''' (рутинные): * AllowTrust, BumpSequence, ClaimClaimableBalance, SetTrustlineFlags === Контракт === Кустодиалы: Игорь Толстов, Антон Ехин, Виктор Корб, Линия === Применение === Данный принцип применяется ко всем счетам AI Nation в Stellar сети, требующим защиты от утраты ключей. [[Category:Архитектура]] [[Category:Инфраструктура]] [[Category:Stellar]]
Summary:
Please note that all contributions to wikibase may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wikibase:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width