Function: _calculatePointsDiff(UserInfo _user)
This function is used to calculate the points earned by a user between their last updated timestamp and the current block timestamp or the deposit stop time, whichever comes first.
Inputs
_user
Control: Arbitrary.
Constraints: None.
Impact: Address of the user to calculate the points for.
Branches and code coverage
Intended branches
Returns zero if the user has not deposited, the user is not earning any points per hour, or the last updated timestamp is later than the deposit stop time.
Returns the number of points earned by the user.