Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(utxo-lib): add toPsbtBuffer #4957

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Commits on Sep 27, 2024

  1. feat(utxo-lib): add toPsbtBuffer

    First checks if the input is already a buffer that starts with the magic PSBT
    byte sequence. If not, it checks if the input is a base64- or hex-encoded string
    that starts with the PSBT header.
    
    This function is useful when reading a file or request that could be in any of
    the above formats.
    
    Issue: BTC-1351
    OttoAllmendinger committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    dcc4d93 View commit details
    Browse the repository at this point in the history