From 1539f0d0e8e7520b7e16eae853c114c2563ceb75 Mon Sep 17 00:00:00 2001 From: Marco Stronati Date: Tue, 5 Jun 2018 09:40:54 +0200 Subject: [PATCH] Doc/PoS: simplify security deposit --- docs/whitedoc/proof_of_stake.rst | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/docs/whitedoc/proof_of_stake.rst b/docs/whitedoc/proof_of_stake.rst index e5a87d1d1..6c084d5c4 100644 --- a/docs/whitedoc/proof_of_stake.rst +++ b/docs/whitedoc/proof_of_stake.rst @@ -193,14 +193,11 @@ The cost of a security deposit is ``BLOCK_SECURITY_DEPOSIT`` = 512 XTZ per block created and ``ENDORSEMENT_SECURITY_DEPOSIT`` = 64 XTZ per endorsement. -Each delegate key has an attached security deposit account controlled by -the same key. Delegates can withdraw and deposit in this account, but -they cannot withdraw more than the "frozen" amount. Each blocks created, -each endorsement signed increases the amount that is frozen. - -It is possible to deposit a bond just prior to creating a block -requiring this deposit. Deposits for blocks and endorsements in cycle -``n`` are "unfrozen" at the end of cycle ``n+PRESERVED_CYCLES``. +Each delegate key has an associated security deposit account. +When a delegate bakes or endorses a block the security deposit is +automatically moved to the deposit account where it is frozen for +``PRESERVED_CYCLES`` cycles, after which it is automatically moved +back to the baker's main account. Since deposits are locked for a period of ``PRESERVED_CYCLES`` one can compute that at any given time, about ((``BLOCK_SECURITY_DEPOSIT`` +