Skip to content

Commit

Permalink
Intruduction of getfee command, fixes #3704
Browse files Browse the repository at this point in the history
  • Loading branch information
ser authored and ecdsa committed Jan 19, 2018
1 parent 98daf2c commit 98663d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/commands.py
Expand Up @@ -672,6 +672,12 @@ def is_synchronized(self):
""" 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
Expand Down

0 comments on commit 98663d7

Please sign in to comment.