Function bitcoin_argsman::create_base_chain_params
source · pub fn create_base_chain_params(
chain: &str
) -> Result<Box<BaseChainParams>, StdException>Expand description
| Creates and returns
| a std::unique_ptr of the
| chosen chain.
|
| ———–
| @return
|
| a CBaseChainParams* of the chosen chain.
| @throws a std::runtime_error if the
| chain is not supported.
|
| Port numbers for incoming Tor connections | (8334, 18334, 38334, 18445) have been | chosen arbitrarily to keep ranges of | used ports tight. |