What’s an Epoch?
The period of time in which the “validator schedule” of Solana’s consensus/staking algorithm is defined. Beginning and ending staking both kicks in when Solana switches to the next Epoch. An Epoch is 432000 slots, each of which lasts a minimum of 4 seconds, so in practice, an Epoch is a 2-3 day period.