Flame model for Bitcoin