Implementation of bitstream protocol in Go.
You can find an example of how to use this library in the example directory.
- Original protocol uses CompactInt to encode integers, and this implementation uses LittleEndian.
- Original protocol signs encrypted root + payment hash using Schnorr signature, and this implementation signs encrypted root only.