stacks-core icon indicating copy to clipboard operation
stacks-core copied to clipboard

Chore/block signature message type

Open jferrant opened this issue 1 year ago • 0 comments

Closes https://github.com/stacks-network/stacks-core/issues/4784

I made the process_event logic take a generic type which implements StacksMessageCodec to enable having different message types for v1 and v2 without borking up code in each respective path. I also implemented a helper function for creating a v1 signer. This same logic can easily be added for a v0 signer which wraps the super confusing looking RunningSigner struct.

jferrant avatar May 13 '24 20:05 jferrant