Absolutely no way it was coke, 1/2 affter insufflation and you would start to come down. What you described could have been heroin. But it would make no sense someone would sell a person a different drug that is equal to or exceeding the value of cocaine. It was probably some synthetic opiate perscription. Taste the dope before you buy it. Or dont buy it at all.