Commit Graph

4 Commits

Author SHA1 Message Date
cygnet c3b8d65e03
Improve sender interface (#10)
* Refactor tests: add utils.rs for test helper functions

* Refactor sending

* Add SilentPaymentAddress struct

* Use structs instead of tuples as func arguments

* Change create_outputs function and remove amounts

* Use is_testnet in SilentPaymentAddress struct

* Provide pre-computed tweak data to create_outputs function

* Git rebase main

* Provide ecdh shared secret as argument to create_output

* Rename create_outputs -> generate_recipient_pubkeys
2023-08-15 20:06:58 +02:00
cygnet cd09955b30
Update test vectors to August 4 version (#12) 2023-08-07 02:02:15 +02:00
cygnet ad2c5b0e72
8 remove all unwrap (#9)
* Remove all unwraps from sending

* Remove unwraps from receiving

* Move Result type to utils
2023-07-24 23:15:04 +02:00
cygnet 547afabfeb
Resolve "Separate test logic from the library functions" (#3)
* Remove all references to input.rs from other files

* Move test vector test to integration test folder

* Move test vector file into integration test folder

* Move input.rs to tests folder
2023-07-24 00:22:44 +02:00