upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/main.cpp
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.cpp
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.cpp')
-rw-r--r--src/main.cpp6
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;
642int nHDKeySchema = HD_SCHEMA_NONE; 642int nHDKeySchema = HD_SCHEMA_NONE;
643unsigned int nHDReceiveNext = 0; 643unsigned int nHDReceiveNext = 0;
644unsigned int nHDChangeNext = 0; 644unsigned int nHDChangeNext = 0;
645unsigned int nHDCoinType = HD_BIP44_COIN_TYPE_BITFLASH_PROVISIONAL; 645unsigned int nHDCoinType = HD_BIP44_COIN_TYPE_BITFLASH;
646 646
647string HDKeySchemaName(int nSchema) 647string 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