added btc_ prefixes to functions and types