docs: translate all code comments to English (language policy)
Translate every Italian /// XML doc comment, <!-- --> XAML comment, and // inline comment to English across all source files (Core, App, tests). Add the language policy to CLAUDE.md (conversation Italian; all code and docs English). Update one test assertion that checked an Italian exception message that was also translated.
This commit is contained in:
1 parent
4b82a0852c
commit
3d5a226a5a
59 files changed
+721
-716
No files matched your search
@@ -1,8 +1,8 @@
|
||||
namespace PalladiumWallet.Core.Chain;
|
||||
|
||||
/// <summary>
|
||||
/// I tre profili di rete del wallet (blueprint §3). Valori mainnet verificati
|
||||
/// contro il sorgente del nodo (chainparams.cpp / pow.cpp) secondo il blueprint.
|
||||
/// The wallet's three network profiles (blueprint §3). Mainnet values verified
|
||||
/// against the node source (chainparams.cpp / pow.cpp) per the blueprint.
|
||||
/// </summary>
|
||||
public static class ChainProfiles
|
||||
{
|
||||
@@ -12,11 +12,11 @@ public static class ChainProfiles
|
||||
NetName = "mainnet",
|
||||
CoinUnit = "PLM",
|
||||
WifPrefix = 0x80,
|
||||
AddrP2pkh = 55, // indirizzi che iniziano con 'P'
|
||||
AddrP2sh = 5, // indirizzi che iniziano con '3'
|
||||
AddrP2pkh = 55, // addresses starting with 'P'
|
||||
AddrP2sh = 5, // addresses starting with '3'
|
||||
SegwitHrp = "plm",
|
||||
Bolt11Hrp = "plm",
|
||||
// La mainnet riusa la genesi di Bitcoin (blueprint §3).
|
||||
// Mainnet reuses Bitcoin's genesis (blueprint §3).
|
||||
GenesisHash = "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",
|
||||
DefaultTcpPort = 50001,
|
||||
DefaultSslPort = 50002,
|
||||
@@ -33,11 +33,11 @@ public static class ChainProfiles
|
||||
[ScriptKind.WrappedSegwitMultisig] = new(0x0295b005, 0x0295b43f), // Yprv / Ypub
|
||||
[ScriptKind.NativeSegwit] = new(0x04b2430c, 0x04b24746), // zprv / zpub
|
||||
[ScriptKind.NativeSegwitMultisig] = new(0x02aa7a99, 0x02aa7ed3), // Zprv / Zpub
|
||||
// Nessun SLIP-132 per P2TR: il contesto è dato dal path m/86'/…
|
||||
// No SLIP-132 for P2TR: the context is given by the m/86'/… path
|
||||
[ScriptKind.Taproot] = new(0x0488ade4, 0x0488b21e), // xprv / xpub (BIP32 standard)
|
||||
},
|
||||
// Server di indicizzazione noti per il primo contatto (§3/§9); altri
|
||||
// peer vengono scoperti via server.peers.subscribe.
|
||||
// Known indexing servers for first contact (§3/§9); other
|
||||
// peers are discovered via server.peers.subscribe.
|
||||
BootstrapServers =
|
||||
[
|
||||
new ServerEndpoint("173.212.224.67", 50001, 50002),
|
||||
@@ -45,7 +45,7 @@ public static class ChainProfiles
|
||||
new ServerEndpoint("66.94.115.80", 50001, 50002),
|
||||
new ServerEndpoint("89.117.149.130", 50001, 50002),
|
||||
],
|
||||
// TODO: popolare con [hash, bits] reali della catena (§7.3) prima della release.
|
||||
// TODO: populate with the chain's real [hash, bits] (§7.3) before release.
|
||||
Checkpoints = [],
|
||||
};
|
||||
|
||||
@@ -58,15 +58,15 @@ public static class ChainProfiles
|
||||
AddrP2sh = 115,
|
||||
SegwitHrp = "tplm",
|
||||
Bolt11Hrp = "tplm",
|
||||
// TODO: verificare contro chainparams.cpp del nodo (il blueprint non la riporta;
|
||||
// qui si assume la genesi di Bitcoin testnet3, da confermare).
|
||||
// TODO: verify against the node's chainparams.cpp (the blueprint does not report it;
|
||||
// here Bitcoin testnet3 genesis is assumed, to be confirmed).
|
||||
GenesisHash = "000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943",
|
||||
NodeP2pPort = 12333,
|
||||
Bip44CoinType = 1,
|
||||
ExtKeyHeaders = new Dictionary<ScriptKind, ExtKeyHeaders>
|
||||
{
|
||||
// tprv/tpub dal blueprint; le varianti SLIP-132 testnet (u/v/U/V) sono
|
||||
// i valori standard Electrum.
|
||||
// tprv/tpub from the blueprint; the testnet SLIP-132 variants (u/v/U/V) are
|
||||
// the standard Electrum values.
|
||||
[ScriptKind.Legacy] = new(0x04358394, 0x043587cf), // tprv / tpub
|
||||
[ScriptKind.WrappedSegwit] = new(0x044a4e28, 0x044a5262), // uprv / upub
|
||||
[ScriptKind.WrappedSegwitMultisig] = new(0x024285b5, 0x024289ef), // Uprv / Upub
|
||||
@@ -84,7 +84,7 @@ public static class ChainProfiles
|
||||
NetName = "regtest",
|
||||
SegwitHrp = "rplm",
|
||||
Bolt11Hrp = "rplm",
|
||||
// TODO: verificare contro chainparams.cpp del nodo (assunta genesi regtest Bitcoin).
|
||||
// TODO: verify against the node's chainparams.cpp (Bitcoin regtest genesis assumed).
|
||||
GenesisHash = "0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206",
|
||||
NodeP2pPort = 28444,
|
||||
Checkpoints = [],
|
||||
|
||||
Reference in new issue
Block a user