TMAX is much more forgiving with Reciprocity characteristics than TriX but i don't know if that applies to exposures in the many minutes that you can get with a pinhole exposure.

Here are a couple of sights that may interest you if you have not seen them before:

http://www.thenocturnes.com/index2.htm
http://www.pinhole.com/