Commit Graph

2 Commits (ff59f38ba74dddbfa14b7c80079a924860e1c864)

Author SHA1 Message Date
Nelson R. Perez 9312280897 Making the HtlcHash class implement the JsonSerializable interface 2019-07-26 17:12:38 -05:00
Nelson R. Perez bf346f25bf Introducing the CreateHtlcOperation & supporting classes
- HtlcHashType class enumerates all supported HTLC hash functions.
- The HtlcHash class is used to represent all possible HTLC hash results.
- The CreateHtlcOperation class itself is used to represent the operation that creates an HTLC
- A simple test class was introduced in order to test hash functions and subsequently also test the HTLC operation serialization
2019-07-11 13:25:38 -05:00