added trx and block db lookup handling to blockchain channel