chaintope / tapyrus-signer

Tapyrus Signer reference implementation.
GNU General Public License v3.0
7 stars 8 forks source link

Add support to tapyrus-setup sign and createsig commands to sign xfield #169

Closed Naviabheeman closed 9 months ago

Naviabheeman commented 11 months ago

This PR adds the command line support to generate a federation signature to make an xfield change.

-  tapyrus-setup blocks
-  tapyrus-setup sign
-  tapyrus-setup createsig

commands are used to create the xfield signature

Use XFieldHash type hash the serialized xfield to generate the signature Add tests to verify signing xfield instead of block. A valid signature was generated using the commands in a 3 signer, 2 threshold setup and is added to the unit test.