upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorBitflash <admin@bitflash.network>2026-08-11 09:57:29 -0300
committerBitflash <admin@bitflash.network>2026-08-11 09:57:29 -0300
commitdfbf7a91caa4a85da7ce10fa296cfa6d2ead5d0c (patch)
tree9563f32a76f93015b583be3601b9f4089cb58921 /src/main.h
parent297ff86af120cdffeb20fac4ed2dbd5cc7125263 (diff)
wallet: SLIP-0044 4346950 is official, drop 'provisional' naming
The coin type 4346950 (0x425446 = BTF) was merged into the SLIP-0044 registry on 2026-08-07. Rename HD_BIP44_COIN_TYPE_BITFLASH_PROVISIONAL to HD_BIP44_COIN_TYPE_BITFLASH and update comments, logs and UI strings. Value is unchanged, so derivation paths and addresses are identical.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.h b/src/main.h
index eafbf16..b389f1d 100644
--- a/src/main.h
+++ b/src/main.h
@@ -216,9 +216,9 @@ static const unsigned int HD_BIP44_PURPOSE = 44;
216static const unsigned int HD_BIP44_ACCOUNT = 0; 216static const unsigned int HD_BIP44_ACCOUNT = 0;
217static const unsigned int HD_BIP44_CHAIN_RECEIVE = 0; 217static const unsigned int HD_BIP44_CHAIN_RECEIVE = 0;
218static const unsigned int HD_BIP44_CHAIN_CHANGE = 1; 218static const unsigned int HD_BIP44_CHAIN_CHANGE = 1;
219// Provisional until Bitflash has an official SLIP-0044 assignment. 219// Official SLIP-0044 assignment (registered 2026-08-07):
220// Proposed registry row: 4346950 | BITFLASH | Bitflash. 220// 4346950 | BITFLASH | Bitflash (4346950 == 0x425446 == "BTF")
221static const unsigned int HD_BIP44_COIN_TYPE_BITFLASH_PROVISIONAL = 4346950; 221static const unsigned int HD_BIP44_COIN_TYPE_BITFLASH = 4346950;
222extern int nHDKeySchema; 222extern int nHDKeySchema;
223extern unsigned int nHDReceiveNext; // BIP44 external chain 223extern unsigned int nHDReceiveNext; // BIP44 external chain
224extern unsigned int nHDChangeNext; // BIP44 internal chain 224extern unsigned int nHDChangeNext; // BIP44 internal chain
@@ -316,7 +316,7 @@ struct WalletRecoveryAudit
316 nDerivedKnown = 0; 316 nDerivedKnown = 0;
317 nReceiveNext = 0; 317 nReceiveNext = 0;
318 nChangeNext = 0; 318 nChangeNext = 0;
319 nCoinType = HD_BIP44_COIN_TYPE_BITFLASH_PROVISIONAL; 319 nCoinType = HD_BIP44_COIN_TYPE_BITFLASH;
320 nRecoverableTx = 0; 320 nRecoverableTx = 0;
321 nLegacyTx = 0; 321 nLegacyTx = 0;
322 nRecoverableImmatureTx = 0; 322 nRecoverableImmatureTx = 0;