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.cpp | |
| 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.cpp')
| -rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2eb0e3a..f83164f 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
| @@ -642,7 +642,7 @@ unsigned int nHDNext = 0; | |||
| 642 | int nHDKeySchema = HD_SCHEMA_NONE; | 642 | int nHDKeySchema = HD_SCHEMA_NONE; |
| 643 | unsigned int nHDReceiveNext = 0; | 643 | unsigned int nHDReceiveNext = 0; |
| 644 | unsigned int nHDChangeNext = 0; | 644 | unsigned int nHDChangeNext = 0; |
| 645 | unsigned int nHDCoinType = HD_BIP44_COIN_TYPE_BITFLASH_PROVISIONAL; | 645 | unsigned int nHDCoinType = HD_BIP44_COIN_TYPE_BITFLASH; |
| 646 | 646 | ||
| 647 | string HDKeySchemaName(int nSchema) | 647 | string HDKeySchemaName(int nSchema) |
| 648 | { | 648 | { |
| @@ -798,7 +798,7 @@ bool SetHDSeedFromMnemonic(const string& strMnemonic, string& strErrorRet) | |||
| 798 | 798 | ||
| 799 | if (!CWalletDB().WriteHDMaster(master.privateKey, master.chainCode) || | 799 | if (!CWalletDB().WriteHDMaster(master.privateKey, master.chainCode) || |
| 800 | !CWalletDB().WriteHDSchema(HD_SCHEMA_BIP44) || | 800 | !CWalletDB().WriteHDSchema(HD_SCHEMA_BIP44) || |
| 801 | !CWalletDB().WriteHDCoinType(HD_BIP44_COIN_TYPE_BITFLASH_PROVISIONAL) || | 801 | !CWalletDB().WriteHDCoinType(HD_BIP44_COIN_TYPE_BITFLASH) || |
| 802 | !CWalletDB().WriteHDNext(0) || | 802 | !CWalletDB().WriteHDNext(0) || |
| 803 | !CWalletDB().WriteHDReceiveNext(1) || | 803 | !CWalletDB().WriteHDReceiveNext(1) || |
| 804 | !CWalletDB().WriteHDChangeNext(0)) | 804 | !CWalletDB().WriteHDChangeNext(0)) |
| @@ -811,7 +811,7 @@ bool SetHDSeedFromMnemonic(const string& strMnemonic, string& strErrorRet) | |||
| 811 | nHDKeySchema = HD_SCHEMA_BIP44; | 811 | nHDKeySchema = HD_SCHEMA_BIP44; |
| 812 | nHDReceiveNext = 1; | 812 | nHDReceiveNext = 1; |
| 813 | nHDChangeNext = 0; | 813 | nHDChangeNext = 0; |
| 814 | nHDCoinType = HD_BIP44_COIN_TYPE_BITFLASH_PROVISIONAL; | 814 | nHDCoinType = HD_BIP44_COIN_TYPE_BITFLASH; |
| 815 | 815 | ||
| 816 | // Index 0 is spoken for before it is derived, so a failure below cannot | 816 | // Index 0 is spoken for before it is derived, so a failure below cannot |
| 817 | // leave the pool free to hand it out as an ordinary key. The cost of | 817 | // leave the pool free to hand it out as an ordinary key. The cost of |