signet /README.md #31798

issue lilin998 openend this issue on February 5, 2025
  1. lilin998 commented at 1:31 am on February 5, 2025: none

    MINER="./contrib/signet/miner" GRIND="./build/src/bitcoin-util grind" $MINER calibrate –grind-cmd="$GRIND" nbits=1e00f403 for 25s average mining time

    CLI="./build/src/bitcoin-cli -conf=mysignet.conf" ADDR=$($CLI -signet getnewaddress) NBITS=1e00f403 $MINER –cli="$CLI" generate –grind-cmd="$GRIND" –address="$ADDR" –nbits=$NBITS

    PSBT signing failed

    How to solve this problem PSBT signing failed

  2. pinheadmz commented at 1:46 am on February 5, 2025: member

    PSBT signing failed

    This happens when the wallet does not have the private key to sign valid signet blocks that satisfy the challenge

  3. lilin998 closed this on Feb 5, 2025

  4. lilin998 reopened this on Feb 5, 2025

  5. lilin998 commented at 1:53 am on February 5, 2025: none

    PSBT 签名失败

    当钱包没有私钥来签署满足挑战的有效签名块时,就会发生这种情况

    root@iZt4n4iibil3u7hsxshmuwZ:~/bitcoin# bitcoin-cli -signet -conf=/root/bitcoin/mysignet.conf getwalletinfo { “walletname”: “mysignet_wallet”, “walletversion”: 169900, “format”: “sqlite”, “balance”: 0.00000000, “unconfirmed_balance”: 0.00000000, “immature_balance”: 0.00000000, “txcount”: 4, “keypoolsize”: 4000, “keypoolsize_hd_internal”: 3999, “paytxfee”: 0.00000000, “private_keys_enabled”: true, “avoid_reuse”: false, “scanning”: false, “descriptors”: true, “external_signer”: false, “blank”: false, “birthtime”: 1738510885, “lastprocessedblock”: { “hash”: “000000bc32ca0657d0ebfa5d69283666aa227b9c09a242e70056fd0a7ca53c07”, “height”: 234030 } }

    root@iZt4n4iibil3u7hsxshmuwZ:~/bitcoin# bitcoin-cli -signet -conf=/root/bitcoin/mysignet.conf getaddressinfo “tb1q00rt2zgaer3hlgz298wn7ln8kw80hhdy5w45f5” { “address”: “tb1q00rt2zgaer3hlgz298wn7ln8kw80hhdy5w45f5”, “scriptPubKey”: “00147bc6b5091dc8e37fa04a29dd3f7e67b38efbdda4”, “ismine”: true, “solvable”: true, “desc”: “wpkh([64062dc8/84h/1h/0h/0/0]031569ecacef0f6433385512b351fd4ae67683361698d3262d3d8f75359020c043)#ef97sg7h”, “parent_desc”: “wpkh([64062dc8/84h/1h/0h]tpubDCmxsiiB2Jezi7yTXSWhLcL6exdgnmBLJ7nh33us48zVysCgeUZf9MiqMAKH9YBjWYtKwNezE1PidBU3mRFvBMt8XRnfo5daokBvu5BMbuC/0/*)#tqvsevdc”, “iswatchonly”: false, “isscript”: false, “iswitness”: true, “witness_version”: 0, “witness_program”: “7bc6b5091dc8e37fa04a29dd3f7e67b38efbdda4”, “pubkey”: “031569ecacef0f6433385512b351fd4ae67683361698d3262d3d8f75359020c043”, “ischange”: false, “timestamp”: 1738510885, “hdkeypath”: “m/84h/1h/0h/0/0”, “hdseedid”: “0000000000000000000000000000000000000000”, “hdmasterfingerprint”: “64062dc8”, “labels”: [ "" ] }

  6. lilin998 commented at 1:54 am on February 5, 2025: none
    This seems to have a private key.
  7. pinheadmz commented at 1:55 am on February 5, 2025: member
    do you have the correct signetchallenge in bitcoin.conf?
  8. lilin998 commented at 1:56 am on February 5, 2025: none

    你有正确的signetchallengebitcoin.conf

    do you have the correct signetchallenge in bitcoin.conf? server=1 daemon=1 txindex=1

    [signet] rpcuser=myuser rpcpassword=mypassword rpcallowip=0.0.0.0/0 rpcbind=127.0.0.1 rpcport=38332 signet=1

  9. pinheadmz commented at 2:02 am on February 5, 2025: member
    What are you trying to accomplish? If you want to start a brand new signet chain you need to add signetchallenge=... in bitcoin.conf with a BIP325 challenge: https://github.com/bitcoin/bips/blob/master/bip-0325.mediawiki#specification
  10. lilin998 commented at 2:04 am on February 5, 2025: none

    What are you trying to accomplish? If you want to start a brand new signet chain you need to add signetchallenge=... in bitcoin.conf with a BIP325 challenge: https://github.com/bitcoin/bips/blob/master/bip-0325.mediawiki#specification

    I want to dig up some sbtc test coins

  11. pinheadmz commented at 2:06 am on February 5, 2025: member
    You will not be able to generate blocks on the default signet chain because you do not have the correct private key. You can try one of the other methods listed here: https://github.com/bitcoin/bitcoin/blob/master/contrib/signet/README.md
  12. pinheadmz closed this on Feb 5, 2025

  13. fanquake added the label Questions and Help on Feb 5, 2025

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-02-22 15:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me