Setup 5d15508bba929f1f074c052ac933863eadf6eb8e56984ebd5a1af75e80626643 Portable a5d346b97f5a13d85fa3bd301a72075ddb82fe636d7b1a51840ffd5a16d879f4 Bundled since 0.3.27: 32d4b75 - Aegis (bchwallet) gains its own update card in Settings > General beside Ariadne. Check for updates hits the same signed OTA endpoint the boot timer uses; Restart to apply appears when a signed newer version is staged. Uses the existing addons-check-updates + a new app-restart IPC. New Aegis versions ship without a Theseus release. 32d4b75 (same commit) - DevTools (F12 / Ctrl+Shift+I) opens docked to the right of the tab (mode: 'right') instead of a detached window. Matches stock Chrome. Users who prefer detached can drag out via the DevTools own toolbar. b71c925 - Search-engine favicons in Settings > Search now use Google's /s2/favicons service — DuckDuckGo's ip3 source returned 404 for enough hosts (Brave, Bing, Yandex, etc.) that half the list was falling through to the emoji placeholder. Deployed. Verified LIVE 0.3.28.
74 lines
No EOL
2.8 KiB
JavaScript
74 lines
No EOL
2.8 KiB
JavaScript
// DigiByte mainnet parameters. Sourced from
|
|
// github.com/DigiByte-Core/digibyte src/kernel/chainparams.cpp CMainParams.
|
|
//
|
|
// Note on scriptHash: DGB Core defines BOTH SCRIPT_ADDRESS = 0x3f ("S..."
|
|
// addresses, the current default) and SCRIPT_ADDRESS2 = 0x05 ("3..."
|
|
// addresses, kept for Bitcoin compatibility). Older BIP39 tools and
|
|
// wallets that forked bitcoinjs-lib params generate 3-addresses; current
|
|
// DGB Core generates S-addresses. `digibyte` below uses the current
|
|
// default; use `digibyteLegacyP2SH` when recovering from Ian Coleman's
|
|
// BIP39 tool, older Atomic/Exodus vintages, or anything else that
|
|
// inherited Bitcoin's 0x05 P2SH byte. Both are valid on-chain.
|
|
export const digibyte = {
|
|
messagePrefix: '\x19DigiByte Signed Message:\n',
|
|
bech32: 'dgb',
|
|
bip32: {
|
|
public: 0x0488b21e,
|
|
private: 0x0488ade4,
|
|
},
|
|
pubKeyHash: 0x1e,
|
|
scriptHash: 0x3f,
|
|
wif: 0x80,
|
|
};
|
|
// Same as `digibyte`, but with the legacy Bitcoin-compatible P2SH
|
|
// version byte. Use for producing/scanning "3..."-style P2SH addresses
|
|
// during seed recovery from tools that predate the 0x3f switch.
|
|
// DGB Core keeps SCRIPT_ADDRESS_OLD = 5 for backward compatibility.
|
|
export const digibyteLegacyP2SH = {
|
|
...digibyte,
|
|
scriptHash: 0x05,
|
|
};
|
|
// Same as `digibyte`, but with the legacy WIF version byte.
|
|
// DGB Core keeps SECRET_KEY_OLD = 158 (0x9e) for backward compatibility.
|
|
// Older DGB tools may have exported private keys with this prefix.
|
|
// The wallet's WIF-import path should try both `digibyte` and this
|
|
// variant before rejecting a key.
|
|
export const digibyteLegacyWIF = {
|
|
...digibyte,
|
|
wif: 0x9e,
|
|
};
|
|
// DigiByte testnet parameters. From CTestNetParams in chainparams.cpp.
|
|
export const digibyteTestnet = {
|
|
messagePrefix: '\x19DigiByte Signed Message:\n',
|
|
bech32: 'dgbt',
|
|
bip32: {
|
|
public: 0x043587cf,
|
|
private: 0x04358394,
|
|
},
|
|
pubKeyHash: 0x7e,
|
|
scriptHash: 0x8c,
|
|
wif: 0xef,
|
|
};
|
|
// SLIP-0044 registered coin type.
|
|
export const DGB_COIN_TYPE = 20;
|
|
// P2P network constants (unused by @dgb-wallet/core itself, exposed for
|
|
// the P2P client package that will consume them).
|
|
export const DGB_P2P = {
|
|
// pchMessageStart in DGB Core chainparams.cpp is the byte sequence
|
|
// 0xFA 0xC3 0xB6 0xDA on the wire. `writeUInt32LE(magic)` writes
|
|
// least-significant-byte first, so the integer value stored here must
|
|
// be the LE-reading: 0xDAB6C3FA (byte 0 = 0xFA, byte 3 = 0xDA).
|
|
// Getting this wrong means peers see wrong-network frames and close
|
|
// immediately at handshake.
|
|
magic: 0xdab6c3fa,
|
|
defaultPort: 12024,
|
|
rpcPort: 14022,
|
|
dnsSeeds: [
|
|
'seed.digibyte.io',
|
|
'seed.diginode.tools',
|
|
'seed.digibyte.link',
|
|
'seed.aroundtheblock.app',
|
|
'seed.tuyul.cc',
|
|
],
|
|
};
|
|
//# sourceMappingURL=network.js.map
|