Added transaction check delegate

Fixes issue #19.