Better Bitcoin example.
Refactoring.