Bitcoin Forum
May 02, 2024, 07:29:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Documentation on contents of configuration file `config`?  (Read 63 times)
davidbak (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 7


View Profile
November 21, 2021, 08:00:47 PM
 #1

Where is the contents of the configuration file specified?  Fields + possible values.  Thanks!
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714678187
Hero Member
*
Offline Offline

Posts: 1714678187

View Profile Personal Message (Offline)

Ignore
1714678187
Reply with quote  #2

1714678187
Report to moderator
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10529



View Profile
November 22, 2021, 04:13:31 AM
 #2

I believe this is what you are looking for:
https://github.com/spesmilo/electrum/blob/master/electrum/simple_config.py

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
davidbak (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 7


View Profile
November 22, 2021, 04:54:51 AM
 #3

Thank you, I had found that - but not only is that not documentation but even groveling in this code is insufficient:  I have config entries, apparently honored, that are not in this source file, including: confirmed_only, fiat_address, show_{addresses,console,utxo}_tab, and many more.
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10529



View Profile
November 22, 2021, 07:45:26 AM
 #4

Thank you, I had found that - but not only is that not documentation but even groveling in this code is insufficient:  I have config entries, apparently honored, that are not in this source file, including: confirmed_only, fiat_address, show_{addresses,console,utxo}_tab, and many more.
The link above is where the config file is created and read. There are other places where some additional keys are being set in the "config object" which can then be written to disk or read from it later. For example there are a bunch of them including your examples here in exchange_rate.py file.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!