I've been reading around lately and have come across the concepts of blocking and value bets. From what I know a value bet on the river is a smallish bet that is meant to give your opponent good odds to call your bet. Where as a blocking bet is meant to prevent your opponent from a cheap showdown. Correct me if I'm wrong.
My question is in what situations would you use a value bet, and in what situations would you make a blocking bet.