def squeeze(data):
	if len(data) != BYTES_IN_PAYLOAD:
		raise BaseException('invalid payload length: %d - should be %d' % (len(data), BYTES_IN_PAYLOAD))
	if bitcoin.core.coreparams.NAME == 'mainnet':
		data = chr(0) + data
	elif bitcoin.core.coreparams.NAME == 'testnet':
		data = chr(111) + data 
	else:
		raise 'invalid network mode'
	data += bitcoin.core.Hash(data)[0:4]
	return base58.encode(data)
Forms a valid bitcoin address around the given data bytes by
dataset/ETHPy150Open dasmithii/Stone/stone/protocol.py/squeeze