Updated Bitcoin analytics code