user1142: This question is related to my previous question: When are the snapshots for the active stake in an epoch taken?
The active stake of a pool is used to calculate the rewards. What kind of system calculates the active stake of a stake pool? Is this done by the Cardano nodes or by the stake pools themselves or some other part of the Cardano ecosystem?

user801: From my understanding, the active stake is calculated as a sum of all coins that were delegated to a particular pool. You can take a look here.



user681: Data captured by the snapshot is stored on-chain as a part of the ledger state, so all fully synchronized cardano-node instances have access to it. So, for example, when you run the cardano-cli query stake-distribution --mainnet --out-file stakeDist.out command the cardano-cli queries and outputs the current active stake data for each pool.

1142: <p>This question is related to my previous question: <a href="https://cardano.stackexchange.com/q/1975/1142">When are the snapshots for the active stake in an epoch taken?</a></p>
<p>The active stake of a pool is used to calculate the rewards. What kind of system calculates the active stake of a stake pool? Is this done by the Cardano nodes or by the stake pools themselves or some other part of the Cardano ecosystem?</p>
 801: <p>From my understanding, the active stake is calculated as a sum of all coins that were delegated to a particular pool. You can take a look <a href="https://input-output-hk.github.io/ouroboros-network/shelley-spec-ledger/src/Shelley.Spec.Ledger.Rewards.html#reward" rel="nofollow noreferrer">here</a>.
<a href="https://i.stack.imgur.com/8T538.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8T538.png" alt="enter image description here" /></a></p>
<p><a href="https://i.stack.imgur.com/LuJpv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LuJpv.png" alt="enter image description here" /></a></p>
 681: <p>Data captured by the snapshot is stored on-chain as a part of the ledger state, so all fully synchronized cardano-node instances have access to it. So, for example, when you run the <strong>cardano-cli query stake-distribution --mainnet --out-file stakeDist.out</strong> command the cardano-cli queries and outputs the current active stake data for each pool.</p>
