Layer 2 protocols in bitcoin