1.Preheat oven to 350 degrees. Butter an 8-inch round cake pan; line bottom with wax paper.
2.Butter paper; dust with cocoa powder, tapping out excess; set aside.
3.In a medium bowl, sift together cocoa, flour, baking powder, and salt; set aside.
4.In a mixing bowl, cream butter and sugar until light and fluffy. Beat in eggs, one at a time, then beat in vanilla.
5.Reduce speed to low. Add flour mixture alternating with sour cream, starting and ending with the flour mixture.
6.Spread batter into prepared pan. Tap pan firmly on countertop several times to force out large air bubbles.
7.Bake until a toothpick inserted in center comes out clean, 30 to 35 minutes. Remove from oven,
8.Cool 10 minutes in pan, then invert onto a wire rack to cool completely (bottom side up). Set rack over a rimmed baking sheet.
9.Pour glaze over; spread gently to coat entirely. Let stand until set. Garnish with chocolate shavings. Serve with whipped cream.