Intruduction of getfee command, fixes #3704
This commit is contained in:
@@ -672,6 +672,12 @@ class Commands:
|
|||||||
""" return wallet synchronization status """
|
""" return wallet synchronization status """
|
||||||
return self.wallet.is_up_to_date()
|
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('')
|
@command('')
|
||||||
def help(self):
|
def help(self):
|
||||||
# for the python console
|
# for the python console
|
||||||
|
|||||||
Reference in New Issue
Block a user