diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8cc0932cb199d83e6a4085e7636163044ac0dfa6..d23ef8793c894384405d8d70740f4180fc91648f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,5 +1,11 @@ Changelog ========= +0.24.10 +------- +* Add hbd_interest_rate to beempy witnessproperties +* Add beempy listdelegations (thanks to @crokkon) +* fix account_name assignment from dict in get_account_reputations() (PR #259) + 0.24.9 ------ * Support for update_proposal_operation (thanks to dkedzierski) diff --git a/beem/cli.py b/beem/cli.py index 22362e72bf2525aab853fb78965e22dbd17b4697..ae1df7cec9f46b4b786cbee9eb8e2f6c1d4aad03 100644 --- a/beem/cli.py +++ b/beem/cli.py @@ -3679,9 +3679,10 @@ def witnesscreate(witness, pub_signing_key, maximum_block_size, account_creation @click.option('--account_subsidy_decay', help='Per block decay of the account subsidy pool') @click.option('--maximum_block_size', help='Max block size') @click.option('--sbd_interest_rate', help='SBD interest rate in percent') -@click.option('--new_signing_key', help='Set new signing key') +@click.option('--hbd_interest_rate', help='HBD interest rate in percent') +@click.option('--new_signing_key', help='Set new signing key (pubkey)') @click.option('--url', help='Witness URL') -def witnessproperties(witness, wif, account_creation_fee, account_subsidy_budget, account_subsidy_decay, maximum_block_size, sbd_interest_rate, new_signing_key, url): +def witnessproperties(witness, wif, account_creation_fee, account_subsidy_budget, account_subsidy_decay, maximum_block_size, sbd_interest_rate, hbd_interest_rate, new_signing_key, url): """Update witness properties of witness WITNESS with the witness signing key WIF""" stm = shared_blockchain_instance() if stm.rpc is not None: @@ -3699,6 +3700,8 @@ def witnessproperties(witness, wif, account_creation_fee, account_subsidy_budget props["maximum_block_size"] = int(maximum_block_size) if sbd_interest_rate is not None: props["sbd_interest_rate"] = int(sbd_interest_rate * 100) + if hbd_interest_rate is not None: + props["hbd_interest_rate"] = int(hbd_interest_rate * 100) if new_signing_key is not None: props["new_signing_key"] = new_signing_key if url is not None: diff --git a/beem/version.py b/beem/version.py index df698876e92b470418244f7853b69b2ba04b68fd..ac61890efc59a9ceee458be4b638e72cf6fd09ba 100644 --- a/beem/version.py +++ b/beem/version.py @@ -1,2 +1,2 @@ """THIS FILE IS GENERATED FROM beem SETUP.PY.""" -version = '0.24.9' +version = '0.24.10' diff --git a/beemapi/version.py b/beemapi/version.py index df698876e92b470418244f7853b69b2ba04b68fd..ac61890efc59a9ceee458be4b638e72cf6fd09ba 100644 --- a/beemapi/version.py +++ b/beemapi/version.py @@ -1,2 +1,2 @@ """THIS FILE IS GENERATED FROM beem SETUP.PY.""" -version = '0.24.9' +version = '0.24.10' diff --git a/beembase/version.py b/beembase/version.py index df698876e92b470418244f7853b69b2ba04b68fd..ac61890efc59a9ceee458be4b638e72cf6fd09ba 100644 --- a/beembase/version.py +++ b/beembase/version.py @@ -1,2 +1,2 @@ """THIS FILE IS GENERATED FROM beem SETUP.PY.""" -version = '0.24.9' +version = '0.24.10' diff --git a/beemgraphenebase/version.py b/beemgraphenebase/version.py index df698876e92b470418244f7853b69b2ba04b68fd..ac61890efc59a9ceee458be4b638e72cf6fd09ba 100644 --- a/beemgraphenebase/version.py +++ b/beemgraphenebase/version.py @@ -1,2 +1,2 @@ """THIS FILE IS GENERATED FROM beem SETUP.PY.""" -version = '0.24.9' +version = '0.24.10' diff --git a/setup.py b/setup.py index 190da04aebc3dd330f930390116dba793f8fccc6..3205cb47e3e11d97ed79e5799cb4b9b6e68acc5c 100755 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ except LookupError: ascii = codecs.lookup('ascii') codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs')) -VERSION = '0.24.9' +VERSION = '0.24.10' tests_require = ['mock >= 2.0.0', 'pytest', 'pytest-mock', 'parameterized']