I used 24" pipe for my over flow system. It rises on the back side of the dam with a butterfly valve at the bottom of it so that I can lower the level of the pond when needed.
I didn't use any riprap rock anywhere.