Intruduction of getfee command, fixes #3704

This commit is contained in:
Serge Victor 2018-01-18 07:07:42 +07:00 committed by ThomasV
parent 98daf2c7cc
commit 98663d7e20

View File

@ -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