Bitcoin Forum
May 14, 2024, 12:39:13 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin-Qt ignores strDataDir in Bitcoin-Qt-testnet.conf ?  (Read 777 times)
lclc (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 275


Bitcoin Association Switzerland


View Profile WWW
May 25, 2015, 06:33:16 PM
 #1

Can anyone confirm that Bitcoin-Qt ignores the strDataDir setting in Bitcoin-Qt-testnet.conf file even when it's started with -testnet? 
It always uses the strDataDir settings from Bitcoin-Qt.conf.
This problem seems not to exit with the other settings in Bitcoin-Qt-testnet.conf.

Maybe I did something wrong, but please someone try to reproduce this.
I'll report it on Github if it's reproducible.

1715690353
Hero Member
*
Offline Offline

Posts: 1715690353

View Profile Personal Message (Offline)

Ignore
1715690353
Reply with quote  #2

1715690353
Report to moderator
1715690353
Hero Member
*
Offline Offline

Posts: 1715690353

View Profile Personal Message (Offline)

Ignore
1715690353
Reply with quote  #2

1715690353
Report to moderator
No Gods or Kings. Only Bitcoin
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
altcoinex
Sr. Member
****
Offline Offline

Activity: 293
Merit: 250


Director - www.cubeform.io


View Profile WWW
May 26, 2015, 09:01:26 PM
 #2

Can anyone confirm that Bitcoin-Qt ignores the strDataDir setting in Bitcoin-Qt-testnet.conf file even when it's started with -testnet? 
It always uses the strDataDir settings from Bitcoin-Qt.conf.
This problem seems not to exit with the other settings in Bitcoin-Qt-testnet.conf.

Maybe I did something wrong, but please someone try to reproduce this.
I'll report it on Github if it's reproducible.

Are you sure it is using the setting from Bitconi-Qt.conf, or is it just using testnet3 no matter what?
If I am not mistaken, the testnet strDataDir is hard coded: https://github.com/bitcoin/bitcoin/blob/e564e63ef04e55b1e446f8440d51c611bc41cec6/src/chainparamsbase.cpp#L34


                                     ╓╢╬╣╣╖
                                   ┌║██████║∩
                                   ]█████████
                                    ╜██████╝`
                                      ╙╜╜╜`
                                   ╓╥@@@@@@╥╓
         ╓╖@@╖,                 ,@║██████████╢@,                 ,╓@@╖╓
       ╓╢██████╢.              ╓╢███████████████╖               ║╢█████║╓
       ║█████████    ,,╓╓,,   ┌║█████████████████┐   ,,╓╓,,    ]█████████
       └╢██████║` ╓╢║██████╢║∩``╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙`»╢╢██████╢║╖  ║███████╜
         "╜╜╜╜` ╖╢█████████╣╜                      └╢██████████@ `╜╜╜╜╜
               ║██████████╜                          ╙╢██████████
              ┌█████████╜                              ╙╢█████████
              └███████╨`                                 ╜████████
               ║████╨╜                                    `╢█████
                ╙╢╣╜                                        └╢█╜
                ,,                                            ,,
             ╓@║██┐                                          ┌██║@╓
            ╢██████                                          ]█████H
           ╢███████∩                                        ┌████████
  ╓@@@@╓   █████████                                        ║████████`  ╓@@@@╖
╓╢██████║. █████████∩                                      ┌█████████ ,║███████╖
██████████ └█████████                                      ██████████ ]█████████
`║██████╜`  └╢████████                                    ┌███████╣╜   ╙██████╨`
  `╙╜╜╙`      `╙╨╢████                                    █████╝╜`       `╙╜╜`
                      ]@╓                              ╓╖H
                      ███╢║@╓,                    ,╓@╢╢███`
                      ████████╢@╖╓.           ╓╖@║████████`
                      ]███████████╢║@╓,  ,╓@╢╢████████████
                       ╙╢█████████████╨` ╜██████████████╜
                         ╙╝╢███████║╜`    `╜║████████╝╜`
                     ,╓@@@╓  `²╙``             `╙²`  ╓@@@╖,
                    ║╢█████╢H                      ╓╢██████H
                    █████████                      █████████`
                    ╙╢██████╜                      ╙╢██████╜
                      └╨╩╝┘                          └╨╩╝╜
WINFLOW.
██
██
██
██
██
██
██
██
██
██
██
██
██
..
██
██
██
██
██
██
██
██
██
██
██
██
██
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!