Skip to content

Commit c990492

Browse files
committed
Merge #1536: liquidv1: allow enabling -acceptunlimitedissuances
56eb713 Log status of ELIP 203 (Pablo Greco) d805236 liquidv1: allow enabling -acceptunlimitedissuances (Pablo Greco) Pull request description: Preparation for the activation of [ELIP 203](https://github.com/ElementsProject/ELIPs/blob/main/elip-0203.mediawiki), we need to move from a hardcoded false to an optionin liquidv1 ACKs for top commit: tomt1664: Tested ACK 56eb713 delta1: ACK 56eb713; tested locally, changes allow acceptunlimitedissuances to be configurable on liquidv1 chain Tree-SHA512: 1671634af6f3dfeaf48c9c6f9aa8598fed1eddc6a279b7bbbfd6d7d7062b89d85a60ec561560308d55ef4e80790db760b8dd20c19167db248d13d41570893314
2 parents 8dda12b + 56eb713 commit c990492

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/chainparams.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ class CLiquidV1Params : public CChainParams {
12201220

12211221
enforce_pak = true;
12221222

1223-
accept_unlimited_issuances = false;
1223+
accept_unlimited_issuances = args.GetBoolArg("-acceptunlimitedissuances", false);
12241224

12251225
multi_data_permitted = true;
12261226
create_discount_ct = args.GetBoolArg("-creatediscountct", false);
@@ -1585,8 +1585,6 @@ class CLiquidV1TestParams : public CLiquidV1Params {
15851585

15861586
enforce_pak = args.GetBoolArg("-enforce_pak", enforce_pak);
15871587

1588-
accept_unlimited_issuances = args.GetBoolArg("-acceptunlimitedissuances", accept_unlimited_issuances);
1589-
15901588
multi_data_permitted = args.GetBoolArg("-multi_data_permitted", multi_data_permitted);
15911589
create_discount_ct = args.GetBoolArg("-creatediscountct", create_discount_ct);
15921590
accept_discount_ct = args.GetBoolArg("-acceptdiscountct", accept_discount_ct) || create_discount_ct;

src/init.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,6 +1547,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
15471547
}
15481548
LogPrintf("* Using %.1f MiB for chain state database\n", cache_sizes.coins_db * (1.0 / 1024 / 1024));
15491549
LogPrintf("* Using %.1f MiB for in-memory UTXO set (plus up to %.1f MiB of unused mempool space)\n", cache_sizes.coins * (1.0 / 1024 / 1024), nMempoolSizeMax * (1.0 / 1024 / 1024));
1550+
LogPrintf("ELIP 203 is%s active\n", (chainparams.GetAcceptUnlimitedIssuances())?"":" not");
15501551

15511552
bool fLoaded = false;
15521553
while (!fLoaded && !ShutdownRequested()) {

0 commit comments

Comments
 (0)