Halving now raises the price anchor (pass-through 0.6, ramp the week before) with a pre-halving news item

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ZHU MINCHAOandClaude Sonnet 5.5 committed 2026-11-03 15:13:57 +08:00
1 parent 967077a2db
commit 0560c34231
6 files changed
+42 -1

No files matched your search

@@ -127,3 +127,5 @@ lbl.ev.serial.1,"Serial: bad factory code or length"
lbl.ev.serial.2,"Serial: tier code does not match"
lbl.ev.print.1,"Print shows another model"
lbl.ev.print.2,"Print was redone"
news.prehalving.title,"PSC Halving Ahead"
news.prehalving.desc,"Miners will receive half as many coins per night in three days. Holders expect the price to rise."
1 # Probably Decentralized localization table: English (en)
127 lbl.ev.serial.2
128 lbl.ev.print.1
129 lbl.ev.print.2
130 news.prehalving.title
131 news.prehalving.desc
@@ -126,3 +126,5 @@ lbl.ev.serial.1,"序列号工厂码或位数不合规"
lbl.ev.serial.2,"序列号档次码与型号不符"
lbl.ev.print.1,"丝印印着另一个型号"
lbl.ev.print.2,"丝印重印过"
news.prehalving.title,"PSC 即将减半"
news.prehalving.desc,"三天后矿工每晚获得的币减半。持币者预期币价上行。"
1 # Probably Decentralized 本地化表:简体中文(zh)
126 lbl.ev.serial.2
127 lbl.ev.print.1
128 lbl.ev.print.2
129 news.prehalving.title
130 news.prehalving.desc
+2
View File
@@ -108,6 +108,8 @@ namespace Decentralized
if (d.Network.Reward < rewardBefore) News.Show("pd_news_halving_" + day, L.T("news.halving.title"), L.T("news.halving.desc"), 2);
double crcFactor = d.Stable.Night(day, d.Rng, 0);
if (crcFactor < 1) d.Hot.Balances[Assets.CRC] = d.Hot.Get(Assets.CRC) * crcFactor;
d.Market.UpdateSupply(day, d.Network.Reward);
if (Tuning.HalvingDays - day % Tuning.HalvingDays == 3) News.Show("pd_news_prehalving_" + day, L.T("news.prehalving.title"), L.T("news.prehalving.desc"), 3);
d.Market.Night(events, d.Rng, day, Session.Price);
report.Price = d.Market.Price;
d.LastNight = report;