Chain drama: fee tiers, congestion, mempool drops, address poisoning, clipboard hijack, phishing; selected-button style
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2b781acd82
commit
dbba8b4376
15 files changed
+357
-20
No files matched your search
@@ -14,6 +14,13 @@ namespace Decentralized
|
||||
public List<string> Burnt = new List<string>();
|
||||
}
|
||||
|
||||
/// <summary>地址投毒的计划:某个钱包转给某地址后,到了这一天收到一笔来自相似地址的 0 币转入。</summary>
|
||||
public sealed class PoisonPlan
|
||||
{
|
||||
public string Wallet, Target;
|
||||
public int Day;
|
||||
}
|
||||
|
||||
/// <summary>一局的 mod 状态。整体序列化成 JSON 存进游戏的 mod 存档数据;显卡的健康度等存在显卡物品的标签上。</summary>
|
||||
public sealed class SaveData
|
||||
{
|
||||
@@ -63,6 +70,10 @@ namespace Decentralized
|
||||
if (!Addresses.TryGetValue(key, out var a) || !ChainAddress.Valid(a)) { a = ChainAddress.Make(Rng.NextUInt()); Addresses[key] = a; }
|
||||
return a;
|
||||
}
|
||||
/// <summary>网络拥堵的起止天(含)。</summary>
|
||||
public int CongestedFrom = -1, CongestedUntil = -1;
|
||||
public List<PoisonPlan> PoisonPlans = new List<PoisonPlan>();
|
||||
|
||||
/// <summary>链上的区块高度:每签一笔交易往上走几块。</summary>
|
||||
public long Block = 1204331;
|
||||
/// <summary>当天用币付款的成交额(信用点),夜间清零。</summary>
|
||||
|
||||
Reference in new issue
Block a user