Mastering the Lightning Network: A Second Layer Blockchain Protocol for Instant Bitcoin Payments