Close Menu
binanceplan.blog
    What's Hot

    This Is Fine (Until the Grant Runs Out)

    April 12, 2026

    Polymarket Replaces Bridged USDC Aiming for a U.S. Relaunch

    April 12, 2026

    The day bots started hiring us

    April 12, 2026
    Facebook X (Twitter) Instagram
    binanceplan.blog
    • Home
    • Binance
    • Cryptocurrency
      • Altcoin
      • Litecoin
      • Bitcoin
    • Crowdfunding
    • Crypto Mining
    • Ethereum
    • Fintech
    • Forex
      • Mompreneur
      • Venture Capital
    binanceplan.blog
    Home»Bitcoin»lightning network – Why does MuSig2 partial signature pass local verification but get rejected by Bitcoin Core mempool when using python-bitcoinutils?
    Bitcoin

    lightning network – Why does MuSig2 partial signature pass local verification but get rejected by Bitcoin Core mempool when using python-bitcoinutils?

    Binanceplan officialBy Binanceplan officialApril 12, 2026No Comments1 Min Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    lightning network – Why does MuSig2 partial signature pass local verification but get rejected by Bitcoin Core mempool when using python-bitcoinutils?
    Share
    Facebook Twitter LinkedIn Pinterest Email


    The problem is a double tweak.

    python-bitcoinutils applies a BIP86 tweak internally when you call get_taproot_address(). If you have already applied a BIP86 tweak manually to the aggregate key, the on-chain output key has been tweaked twice.

    Local schnorr_verify passes because it checks against the key you provide — it does not know what is actually on-chain. Bitcoin Core checks against the real output key, which has two tweaks applied. The signature built with only one tweak is invalid against that key.

    The fix: SessionContext must carry both tweaks explicitly:

    pythonsession_ctx = SessionContext(
        aggnonce, pubkeys,
        [tweak1, tweak2],  # both tweaks required
        [True, True],
        msg
    )
    

    This is not a bug — the library handles BIP86 automatically for typical single-key use. In MuSig2, where you manage tweaks manually, the abstraction leaks.

    Verified on testnet: af6fdae8…9d1f



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    How to Avoid Overengineering Your Blockchain Product 

    April 11, 2026

    The Role And History Of Bitcoin Core Maintainers

    April 11, 2026

    ‘People Don’t Want It’ – Economics Bitcoin News

    April 11, 2026

    Bhutan has sold 70% of its bitcoin in 18 months. It may have stopped BTC mining too.

    April 11, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    TOP POSTS

    This Is Fine (Until the Grant Runs Out)

    April 12, 2026

    Polymarket Replaces Bridged USDC Aiming for a U.S. Relaunch

    April 12, 2026

    The day bots started hiring us

    April 12, 2026

    Best Crypto API Providers for Developers in 2026

    April 12, 2026

    Subscribe to Updates

    Get the latest creative news from Binanceplan about Altcoin, Binance and Bitcoin.

    Please enable JavaScript in your browser to complete this form.
    Loading

    Welcome to BinancePlan.blog — your trusted source for learning, strategies, and insights in the world of cryptocurrency, with a strong focus on Binance and digital asset growth.At BinancePlan, our mission is simple: to make crypto easy, understandable, and profitable for everyone — whether you’re a complete beginner or an experienced trader.

    Top Insights

    This Is Fine (Until the Grant Runs Out)

    April 12, 2026

    Polymarket Replaces Bridged USDC Aiming for a U.S. Relaunch

    April 12, 2026

    The day bots started hiring us

    April 12, 2026
    Get Informed

    Subscribe to Updates

    Get the latest creative news from Binanceplan about Altcoin, Binance and Bitcoin.

    Please enable JavaScript in your browser to complete this form.
    Loading
    • About Us
    • Contact Us
    • Disclaimer
    • Privacy Policy
    • Terms and Conditions
    Copyright© 2026 Binanceplan All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.