mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Add unused dynamic genesis block style in chainparams
This commit is contained in:
parent
d10c42a26e
commit
24535d6a9f
1 changed files with 5 additions and 0 deletions
|
|
@ -618,6 +618,11 @@ class CCustomParams : public CRegTestParams {
|
|||
if (initialFreeCoins != 0 || initial_reissuance_tokens != 0) {
|
||||
AppendInitialIssuance(genesis, COutPoint(uint256(commit), 0), parentGenesisBlockHash, (initialFreeCoins > 0) ? 1 : 0, initialFreeCoins, (initial_reissuance_tokens > 0) ? 1 : 0, initial_reissuance_tokens, CScript() << OP_TRUE);
|
||||
}
|
||||
} else if (consensus.genesis_style == "dynamic") {
|
||||
// Liquid v2 HF, from genesis. Upgrading networks still use "elements".
|
||||
// TODO fill out genesis block with special commitments including epoch
|
||||
// length in nTime
|
||||
throw std::runtime_error(strprintf("Invalid -genesis_style (%s)", consensus.genesis_style));
|
||||
} else {
|
||||
throw std::runtime_error(strprintf("Invalid -genesis_style (%s)", consensus.genesis_style));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue