def tx_partition(app, txid):
 murmur_int = mmh3.hash64((app + str(txid)))[0]
 return bytearray(struct.pack('<q', murmur_int))

def tx_partition ( app , txid ) : murmur_int = mmh3 . hash64 ( ( app + str ( txid ) ) ) [ 0 ] return bytearray ( struct . pack ( '<q' , murmur_int ) )
return a blob hash for a given application and transaction id .