Commit Graph

2 Commits (bb4fd5ce5da9b938e8bd4119b9422000310406f7)

Author SHA1 Message Date
Nelson R. Perez bb4fd5ce5d Implementing test of the CreateHtlcOperation class byte serialization 2019-07-11 16:42:37 -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