How does Bitcoin system work?