doc: Mention signet in -help output #20014

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:200925-signet changing 3 files +10 −7
  1. hebasto commented at 12:27 pm on September 25, 2020: member
    0$ src/bitcoind -help | grep -A 4 -e '-chain=' | head -8
    1  -chain=<chain>
    2       Use the chain <chain> (default: main). Allowed values: main, test,
    3       signet, regtest
    4
    5  -signet
    6       Use the signet chain. Equivalent to -chain=signet. Note that the network
    7       is defined by the -signetchallenge parameter
    
    0$ src/bitcoind -help | grep -A 3 -e '-port='
    1  -port=<port>
    2       Listen for connections on <port> (default: 8333, testnet: 18333 signet:
    3       38333, regtest: 18444)
    
    0$ src/bitcoind -help | grep -A 3 -e '-rpcport='
    1  -rpcport=<port>
    2       Listen for JSON-RPC connections on <port> (default: 8332, testnet:
    3       18332, signet: 38332, regtest: 18443)
    
  2. doc: Mention signet in -help output b3972bca9f
  3. DrahtBot commented at 1:03 pm on September 25, 2020: member

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #20004 (test: Add signet witness commitment section parse tests by MarcoFalke)
    • #17783 (util: Fix -norpcwhitelist, -norpcallowip, and similar corner case behavior by ryanofsky)
    • #17581 (refactor: Remove settings merge reverse precedence code by ryanofsky)
    • #17580 (refactor: Add ALLOW_LIST flags and enforce usage in CheckArgFlags by ryanofsky)
    • #17493 (util: Forbid ambiguous multiple assignments in config file by ryanofsky)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  4. DrahtBot added the label Docs on Sep 25, 2020
  5. DrahtBot added the label Validation on Sep 25, 2020
  6. hebasto referenced this in commit 1b6f64f516 on Sep 25, 2020
  7. kallewoof commented at 4:09 am on September 28, 2020: member
    ACK b3972bca9f74b3e75918676ef029f1964b0622a1
  8. in src/init.cpp:398 in b3972bca9f
    394@@ -393,7 +395,7 @@ void SetupServerArgs(NodeContext& node)
    395 #if HAVE_SYSTEM
    396     argsman.AddArg("-alertnotify=<cmd>", "Execute command when a relevant alert is received or we see a really long fork (%s in cmd is replaced by message)", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
    397 #endif
    398-    argsman.AddArg("-assumevalid=<hex>", strprintf("If this block is in the chain assume that it and its ancestors are valid and potentially skip their script verification (0 to verify all, default: %s, testnet: %s)", defaultChainParams->GetConsensus().defaultAssumeValid.GetHex(), testnetChainParams->GetConsensus().defaultAssumeValid.GetHex()), ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
    399+    argsman.AddArg("-assumevalid=<hex>", strprintf("If this block is in the chain assume that it and its ancestors are valid and potentially skip their script verification (0 to verify all, default: %s, testnet: %s, signet: %s)", defaultChainParams->GetConsensus().defaultAssumeValid.GetHex(), testnetChainParams->GetConsensus().defaultAssumeValid.GetHex(), signetChainParams->GetConsensus().defaultAssumeValid.GetHex()), ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
    


    jonatack commented at 9:49 am on September 28, 2020:
     0  -assumevalid=<hex>
     1       If this block is in the chain assume that it and its ancestors are valid
     2       and potentially skip their script verification (0 to verify all,
     3       default:
     4       0000000000000000000f2adce67e49b0b6bdeb9de8b7c3d7e93b21e7fc1e819d,
     5       testnet:
     6       000000000000056c49030c174179b52a928c870e6e8a822c75973b7970cfbd01,
     7       signet:
     8       0000000000000000000000000000000000000000000000000000000000000000)
     9
    10  -minimumchainwork=<hex>
    11       Minimum work assumed to exist on a valid chain in hex (default:
    12       00000000000000000000000000000000000000000e1ab5ec9348e9f4b8eb8154,
    13       testnet:
    14       0000000000000000000000000000000000000000000001495c1d5a01e2af8a23,
    15       signet:
    16       0000000000000000000000000000000000000000000000000000000000000000)
    

    Are the values for signet correct?


    jonatack commented at 9:53 am on September 28, 2020:
    Per src/chainparams.cpp::L376-380, apparently so.

    hebasto commented at 9:55 am on September 28, 2020:

    kallewoof commented at 9:58 am on September 28, 2020:
    Yes, signet has no assume valid chain, and since there can be custom signets, we don’t wanna assume anything. We may put the genesis block hash there now that it’s permanent across all signets, though, but 000 is probably equally fine.
  9. jonatack commented at 9:52 am on September 28, 2020: member
    Concept ACK
  10. jonatack commented at 10:06 am on September 28, 2020: member
    ACK b3972bca9f74b3e75918676ef029f1964b0622a1
  11. fanquake requested review from ajtowns on Sep 28, 2020
  12. practicalswift commented at 1:16 pm on September 28, 2020: contributor
    Concept ACK
  13. ajtowns commented at 5:27 am on September 29, 2020: member
    ACK b3972bca9f74b3e75918676ef029f1964b0622a1 - skimmed code only, looks fine to me
  14. fanquake merged this on Sep 29, 2020
  15. fanquake closed this on Sep 29, 2020

  16. hebasto deleted the branch on Sep 29, 2020
  17. sidhujag referenced this in commit 33465bc667 on Sep 29, 2020
  18. MarcoFalke referenced this in commit 9fc2f011ba on Oct 1, 2020
  19. DrahtBot locked this on Feb 15, 2022

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: 2024-07-05 19:13 UTC

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