Update transaction.h

added comments, virtual, and pure virtuals to transaction.h