Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lightninglabs/taproot-assets
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c28aacfbc3f0849b6e20460e4fd3825425725a0f
Choose a base ref
...
head repository: lightninglabs/taproot-assets
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f2b9b0f52a7d1f134b69ad136dc9d70f633bfe95
Choose a head ref
  • 10 commits
  • 16 files changed
  • 1 contributor

Commits on Feb 26, 2025

  1. tapfreighter+tapsend: don't use FundingDescriptor

    We don't need the full funding descriptor, so this refactor makes it
    easier to use ValidateInputs and AssetFromTapCommitment in other
    situations.
    guggero committed Feb 26, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    guggero Oliver Gugger
    Copy the full SHA
    4aaae8c View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    guggero Oliver Gugger
    Copy the full SHA
    3d39efb View commit details
  3. multi: refactor funding packet creation into functions

    As a preparation for a larger refactor on how we create virtual packets
    and distribute the coins selected for funding a transfer, we turn
    previous methods into functions.
    This will allow us to move those functions and easier unit test them.
    guggero committed Feb 26, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    guggero Oliver Gugger
    Copy the full SHA
    d5b9f95 View commit details
  4. tapfreighter: move funding related code into its own file

    This is a pure code move. We're going to add unit tests for the moved
    functions in the next commit.
    guggero committed Feb 26, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    guggero Oliver Gugger
    Copy the full SHA
    7c34655 View commit details
  5. key_ring+tapgarden: remove DeriveKey from iface, improve mock

    The DeriveKey method is currently not used anywhere. To simplify the
    mock, we simply remove it.
    guggero committed Feb 26, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    guggero Oliver Gugger
    Copy the full SHA
    96441f7 View commit details
  6. Verified

    This commit was signed with the committer’s verified signature.
    guggero Oliver Gugger
    Copy the full SHA
    3ff17e0 View commit details
  7. Verified

    This commit was signed with the committer’s verified signature.
    guggero Oliver Gugger
    Copy the full SHA
    8eafc1f View commit details
  8. Verified

    This commit was signed with the committer’s verified signature.
    guggero Oliver Gugger
    Copy the full SHA
    31fec55 View commit details
  9. Verified

    This commit was signed with the committer’s verified signature.
    guggero Oliver Gugger
    Copy the full SHA
    f56b2d5 View commit details
  10. tapfreighter: create anchor output keys correctly

    Once we have multiple asset IDs (and with that multiple distinct virtual
    packets), we need to make sure that we create our anchor outputs
    correctly.
    We need to make sure that the anchor outputs for the same index are
    actually the same (e.g. same internal key). If we just blindly loop over
    them and assign new keys, then two virtual outputs that reference the
    same anchor output index would have different keys and we'd fail a check
    then attempting to commit those packets to a BTC anchor transaction.
    guggero committed Feb 26, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    guggero Oliver Gugger
    Copy the full SHA
    f2b9b0f View commit details
Loading