diff options
| author | Bitflash <admin@bitflash.network> | 2026-08-11 09:57:29 -0300 |
|---|---|---|
| committer | Bitflash <admin@bitflash.network> | 2026-08-11 09:57:29 -0300 |
| commit | dfbf7a91caa4a85da7ce10fa296cfa6d2ead5d0c (patch) | |
| tree | 9563f32a76f93015b583be3601b9f4089cb58921 /src/main.h | |
| parent | 297ff86af120cdffeb20fac4ed2dbd5cc7125263 (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.h | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -216,9 +216,9 @@ static const unsigned int HD_BIP44_PURPOSE = 44; | |||
| 216 | static const unsigned int HD_BIP44_ACCOUNT = 0; | 216 | static const unsigned int HD_BIP44_ACCOUNT = 0; |
| 217 | static const unsigned int HD_BIP44_CHAIN_RECEIVE = 0; | 217 | static const unsigned int HD_BIP44_CHAIN_RECEIVE = 0; |
| 218 | static const unsigned int HD_BIP44_CHAIN_CHANGE = 1; | 218 | static 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") |
| 221 | static const unsigned int HD_BIP44_COIN_TYPE_BITFLASH_PROVISIONAL = 4346950; | 221 | static const unsigned int HD_BIP44_COIN_TYPE_BITFLASH = 4346950; |
| 222 | extern int nHDKeySchema; | 222 | extern int nHDKeySchema; |
| 223 | extern unsigned int nHDReceiveNext; // BIP44 external chain | 223 | extern unsigned int nHDReceiveNext; // BIP44 external chain |
| 224 | extern unsigned int nHDChangeNext; // BIP44 internal chain | 224 | extern 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; |