Commit Graph

8 Commits

Author SHA1 Message Date
cygnet 997065d3e3
Make crate publishable (#18)
* Add About section to README

* Expand package description in Cargo.toml

* Rename rust-secp256k1 -> secp256k1

* Make NULL_LABEL const public
2023-08-22 22:35:06 +02:00
cygnet 0d28b61730
Improve receiver interface (#16)
* Copy recipient code structure from Sosthene00 fork

* Move SilentPayment struct to receiving

* Provide shared_secret as input argument for scan_for_outputs

Also refactors a number of things to enable this change: calculate A_sum
and outpoints_hash in the test code instead of the library, remove the
obsolete hash_outpoints function from the library move calculate_P_n
and calculate_t_n to utils.rs.

* Add debug trait implementation for Label

* Refactoring

* Add get_receiving_address function for getting sp-address per label

* Refactor scan_for_outputs and rename to scan_transaction

* Provide tweak data to scan_transaction function

* Expand README.me
2023-08-22 21:56:08 +02:00
cygnet cd09955b30
Update test vectors to August 4 version (#12) 2023-08-07 02:02:15 +02:00
cygnet a7001e4a3d
Update README.md (#4) 2023-07-24 00:29:12 +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
cygnet a6071f7df7 Change README 2023-07-23 17:36:44 +02:00
cygnet c634c3a191 Implement sending 2023-07-23 14:15:45 +02:00
cygnet ba99f4831b Initial commit 2023-07-23 14:15:45 +02:00