Modules

Structs

  • | ChainParams defines various tweakable | parameters of a given instance of the | Bitcoin system. |
  • | Holds various statistics on transactions | within a chain. Used to estimate verification | progress during chain sync. | | See also: CChainParams::TxData, | | GuessVerificationProgress. |
  • | Main network on which people trade goods | and services. |
  • | Regression test: intended for private | networks only. Has minimal difficulty | to ensure that blocks can be found instantly. |
  • | Signet: test network with an additional | consensus parameter (see BIP325). |
  • | Testnet (v3): public test network which | is reset from time to time. |

Constants

  • | List of fixed seed nodes for the bitcoin | network AUTOGENERATED by contrib/seeds/generate-seeds.py | | Each line contains a BIP155 serialized | (networkID, addr, port) tuple. |

Functions

  • | Creates and returns a std::unique_ptr | of the chosen chain. | | | ———– | @return | | a CChainParams* of the chosen chain. | @throws a std::runtime_error if the | chain is not supported. |
  • | Return the currently selected parameters. | This won’t change after app startup, | except for unit tests. |
  • | Sets the params returned by Params() | to those for the given chain name. @throws | std::runtime_error when the chain | is not supported. |