dgb-wallet/packages
Digibyte.X 93cd8b4bf4 daemon: verify proof-of-work on every synced header; fork choice by work
DigiByte is multi-algorithm, so this brings in six hash functions:
SHA256d and Scrypt in JS, and Qubit, Skein, Groestl and Odocrypt from
DigiByte Core's own C sources compiled to WebAssembly (packages/p2p/native,
emscripten via docker). Each header is checked against its nBits target and
the network powLimit before it can enter the chain; a peer serving an
invalid or future-dated header is benched. Competing branches are accepted
only when they carry more accumulated work than what they replace.

npm run pow:test -w @dgb-wallet/p2p verifies real mainnet headers of all
six algorithms and that a tampered header fails.
2026-10-02 18:37:31 +02:00
..
blockbook DigiByte.X Wallet — recovery-first web wallet monorepo 2026-09-20 20:16:52 +02:00
bns DigiByte.X Wallet — recovery-first web wallet monorepo 2026-09-20 20:16:52 +02:00
core recovery: official 2018-19 DigiByte mobile wallets derived the master key with HMAC "DigiByte seed" 2026-10-02 17:44:16 +02:00
electrum DigiByte.X Wallet — recovery-first web wallet monorepo 2026-09-20 20:16:52 +02:00
keystore DigiByte.X Wallet — recovery-first web wallet monorepo 2026-09-20 20:16:52 +02:00
mobile DigiByte.X Wallet — recovery-first web wallet monorepo 2026-09-20 20:16:52 +02:00
net DigiByte.X Wallet — recovery-first web wallet monorepo 2026-09-20 20:16:52 +02:00
p2p daemon: verify proof-of-work on every synced header; fork choice by work 2026-10-02 18:37:31 +02:00
psbt DigiByte.X Wallet — recovery-first web wallet monorepo 2026-09-20 20:16:52 +02:00
rpc DigiByte.X Wallet — recovery-first web wallet monorepo 2026-09-20 20:16:52 +02:00
web-ui scan gap 200/100 (DigiScope parity); trim decimals only on the main balance; price feed on by default 2026-10-02 18:13:07 +02:00