Browse Source

Intruduction of getfee command, fixes #3704

3.1
Serge Victor 7 years ago
committed by ThomasV
parent
commit
98663d7e20
  1. 6
      lib/commands.py

6
lib/commands.py

@ -672,6 +672,12 @@ class Commands:
""" return wallet synchronization status """
return self.wallet.is_up_to_date()
@command('n')
def getfeerate(self):
"""Return current optimal fee rate per kilobyte, according
to config settings (static/dynamic)"""
return self.config.fee_per_kb()
@command('')
def help(self):
# for the python console

Loading…
Cancel
Save