Skip to content

[FEATURE] Python SDK improved the signing function such that you can skip overwriting #40

@sirdeggen

Description

@sirdeggen

Summary

There is a flag added to the sign function which allows a dev to specify - only sign something which doesn't already have an unlockingScript set, or re-run sign on all inputs.

Motivation

Useful in sceanarios where you have a partially complete tx already, perhaps someone else signed it. Then you can add your own input and only sign it.

The feature is here in py-sdk and should be replicated in the go-sdk unless there is a superior way to handle this.

Additional References

Default could be false such that no breaking changes are introduced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions