Bitcoin Forum
April 28, 2024, 03:53:56 AM *
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 776 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.

1714276436
Hero Member
*
Offline Offline

Posts: 1714276436

View Profile Personal Message (Offline)

Ignore
1714276436
Reply with quote  #2

1714276436
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714276436
Hero Member
*
Offline Offline

Posts: 1714276436

View Profile Personal Message (Offline)

Ignore
1714276436
Reply with quote  #2

1714276436
Report to moderator
1714276436
Hero Member
*
Offline Offline

Posts: 1714276436

View Profile Personal Message (Offline)

Ignore
1714276436
Reply with quote  #2

1714276436
Report to moderator
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!