create account

update for beem: changes regarding HF24 by holger80

View this thread on: hive.blogpeakd.comecency.com
· @holger80 · (edited)
$50.74
update for beem: changes regarding HF24
## Repository

https://github.com/holgern/beem<center>
![beem-logo](https://cdn.steemitimages.com/DQmcRrwLPSywSYMierfP6um6mejeMNGjN9Rxw7audJqTDgb/beem-logo)
</center>

[beem](https://github.com/holgern/beem) is a python library and command line tool for HIVE.  The current version is 0.24.13.

There is also a discord channel for beem: https://discord.gg/4HM592V

The newest beem version can be installed by:

```
pip install -U beem
```

Check that you are using hive nodes. The following command 

```
beempy updatenodes --hive
```

updates the nodelist and uses only hive nodes. After setting hive as default_chain, `beempy updatenodes` can be used.

The list of nodes can be checked with

```
beempy config
```

and

```
beempy currentnode
```

shows the currently connected node.


## Changelog for versions 0.24.13
* Add new node (https://hive-api.arcange.eu)
* Fix logic in RankedPosts and AccountPosts
* Fix feed_publish

## Changelog for versions 0.24.12
* Fix beempy witnessfeed for HF24
* Fix more hbd renaming in beempy
* improved RankedPosts class
* New AccountPosts class for account feed and more
* Comment class has been cleaned up, use_tags_api has been replaced by api
* Add check if get_account_votes is still supported (is dropped in HF24)
* New SupportedByHivemind exception has been added
* Fix issue #263

## Changelog for versions 0.24.11
* assumes that an rpc server uses appbase

## Congratulations we are on HF24
There were a lot of changes and bug fixes necessary and hopefully beem is running now smoth on HF24. Please open an issue on https://github.com/holgern/beem/issues, when you find something is not working.

## Important changes in HF24

### `parent_permlink` and `parent_author`
Both parameters from a comment are not existent in HF24 when the comment is a main post.
You can use the property of the comment object instead.

```
from beem.comment import Comment
c = Comment("@holger80/update-for-beem-compatibility-issues-with-hf24-have-been-fixed")
print("parent_author" in c.json())
print("parent_permlink" in c.json())
print(c.parent_author)
print(c.parent_permlink)
```
returns
```
False
False
''
''
```

### `last_update` in a comment
The `last_update` of a comment has become `updated`.
```
from beem.comment import Comment
c = Comment("@holger80/update-for-beem-compatibility-issues-with-hf24-have-been-fixed")
print(c["updated"])
```
returns a date:
```
2020-10-09 21:50:00+00:00
```
### Outgoing votes are not available anymore
```
from beem.account import Account
acc = Account("holger80")
print(acc.get_account_votes())
```
returns
```
[]
```
The `list_votes` and `find_votes` rpc api call are not longer available.

This means also that
```
beempy pending --curation holger80
```
and
```
beempy votes --outgoing holger80
```
does not longer work.

## New bridge api calls in beem
Beem uses now hivemind calls (bridge api) for receiving comments and information about feed, blog, trending, created, hot...

```
from beem.comment import RankedPosts
trending = RankedPosts("trending",)
hot = RankedPosts(sort="hot")
created = RankedPosts("created")
promoted = RankedPosts("promoted")
payout = RankedPosts("payout")
payout_comments = RankedPosts("payout_comments")
muted = RankedPosts("muted")
```

```
from beem.comment import AccountPosts
comments = AccountPosts("comments", "holger80")
blog = AccountPosts("blog", "holger80")
posts = AccountPosts("posts", "holger80")
replies = AccountPosts("replies", "holger80")
feed = AccountPosts("feed", "holger80")
```


___

*If you like what I do, consider casting a vote for me as witness on [Hivesigner](https://hivesigner.com/sign/account-witness-vote?witness=holger80&approve=1) or on [PeakD](https://peakd.com/witnesses)*
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 65 others
properties (23)
authorholger80
permlinkupdate-for-beem-changes-regarding-hf24
categoryhive-139531
json_metadata"{"canonical_url": "https://hive.blog/hive-139531/@holger80/update-for-beem-changes-regarding-hf24", "community": "hive-139531", "app": "beempy/0.24.14", "links": ["https://github.com/holgern/beem", "https://cdn.steemitimages.com/DQmcRrwLPSywSYMierfP6um6mejeMNGjN9Rxw7audJqTDgb/beem-logo", "https://discord.gg/4HM592V", "https://hive-api.arcange.eu", "https://github.com/holgern/beem/issues,", "https://hivesigner.com/sign/account-witness-vote?witness=holger80&approve=1", "https://peakd.com/witnesses"], "tags": ["development", "beem", "python", "release"]}"
created2020-10-14 20:47:39
last_update2020-10-24 13:18:24
depth0
children10
last_payout2020-10-21 20:47:39
cashout_time1969-12-31 23:59:59
total_payout_value25.488 HBD
curator_payout_value25.253 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,718
author_reputation358,857,509,568,825
root_title"update for beem: changes regarding HF24"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,110,144
net_rshares176,962,870,408,911
author_curate_reward""
vote details (129)
@botefarm ·
$0.07
That also means rewarding.app is working too, right ?
👍  
properties (23)
authorbotefarm
permlinkqi89oi
categoryhive-139531
json_metadata{"app":"hiveblog/0.1"}
created2020-10-15 05:24:09
last_update2020-10-15 05:24:09
depth1
children5
last_payout2020-10-22 05:24:09
cashout_time1969-12-31 23:59:59
total_payout_value0.034 HBD
curator_payout_value0.035 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length53
author_reputation105,906,511,093,744
root_title"update for beem: changes regarding HF24"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,113,127
net_rshares454,644,951,596
author_curate_reward""
vote details (1)
@holger80 ·
Yes, I fixed everything and the rewarding.app is working.
👍  
properties (23)
authorholger80
permlinkre-botefarm-qi8f5o
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2020.10.3"}
created2020-10-15 07:22:39
last_update2020-10-15 07:22:39
depth2
children4
last_payout2020-10-22 07:22:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length57
author_reputation358,857,509,568,825
root_title"update for beem: changes regarding HF24"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,113,774
net_rshares91,203,111,369
author_curate_reward""
vote details (1)
@botefarm ·
Very big thank you for that. That app is still the best autovoting app on Hive. But not well known to all.
properties (22)
authorbotefarm
permlinkre-holger80-qi8fha
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2020.10.3"}
created2020-10-15 07:29:21
last_update2020-10-15 07:29:21
depth3
children0
last_payout2020-10-22 07:29:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length106
author_reputation105,906,511,093,744
root_title"update for beem: changes regarding HF24"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,113,815
net_rshares0
@dera123 ·
since 3 days rewarding.app stopped working. All my votes are pending for no reason, can you take a look at it? Thank you
properties (22)
authordera123
permlinkre-holger80-qj0uow
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2020.10.8"}
created2020-10-30 15:51:03
last_update2020-10-30 15:51:03
depth3
children2
last_payout2020-11-06 15:51:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length120
author_reputation44,626,314,203,085
root_title"update for beem: changes regarding HF24"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,319,850
net_rshares0
@hivebuzz ·
Congratulations @holger80! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@holger80/upvotes.png?202010171612"></td><td>You distributed more than 21000 upvotes. Your next target is to reach 22000 upvotes.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@holger80) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>

properties (22)
authorhivebuzz
permlinkhivebuzz-notify-holger80-20201017t163505000z
categoryhive-139531
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2020-10-17 16:35:03
last_update2020-10-17 16:35:03
depth1
children0
last_payout2020-10-24 16:35:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length631
author_reputation369,373,374,318,182
root_title"update for beem: changes regarding HF24"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,142,348
net_rshares0
@tan.app ·
<center>
<sup>Congratulations @holger80, You Earned <b>0.379 TAN</b> & Curators Made <b>0.379 TAN</b>.</sup>

<img src="https://files.peakd.com/file/peakd-hive/theguruasia/DWYqznFx-TANToken70.png" alt="upme.link">

---
<sup>Join [CORE / VAULT Token Discord Channel](https://discord.gg/XYMrvyr) or Join [UPMELINK Web Site](https://upme.link)</sup>
<sup>[TAN Current Market Price](https://hive-engine.com/?p=market&t=TAN) : <b>0.240 HIVE</b></sup>
</center>
properties (22)
authortan.app
permlink20201018t122651677z
categoryhive-139531
json_metadata{"tags":["tan-bot","upmelink_curation_bot"],"app":"tan-bot/1.1","format":"markdown"}
created2020-10-18 12:26:51
last_update2020-10-18 12:26:51
depth1
children0
last_payout2020-10-25 12:26:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length456
author_reputation164,160,871,793
root_title"update for beem: changes regarding HF24"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,151,395
net_rshares0
@theguruasia ·
$0.07
@holger80,
Thanks for the update, I wanna check what are the changes that happened with the latest fork. Wanna check this comment thing. Because, TAN rely on that!
!tangent

Cheers~ 
👍  
properties (23)
authortheguruasia
permlinkre-holger80-qi89gv
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2020.10.3"}
created2020-10-15 05:19:45
last_update2020-10-15 05:19:45
depth1
children1
last_payout2020-10-22 05:19:45
cashout_time1969-12-31 23:59:59
total_payout_value0.034 HBD
curator_payout_value0.035 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length182
author_reputation72,733,312,708,316
root_title"update for beem: changes regarding HF24"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,113,099
net_rshares455,543,250,455
author_curate_reward""
vote details (1)
@tan.bot ·
<center>
<sup>Congratulations, @theguruasia You Successfully Trended The Post Shared By @holger80.</sup>
<sup>You Utilized <b>3/3</b> Daily Summon Bot Calls.</sup>
---
<sup>[TAN Current Market Price](https://hive-engine.com/?p=market&t=TAN) : <b>0.200 HIVE</b></sup>
</center>
properties (22)
authortan.bot
permlink20201015t051956537z
categoryhive-139531
json_metadata{"tags":["tan-bot","upmelink_curation_bot"],"app":"tan-bot/1.1","format":"markdown"}
created2020-10-15 05:19:57
last_update2020-10-15 05:19:57
depth2
children0
last_payout2020-10-22 05:19:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length276
author_reputation44,172,891,181
root_title"update for beem: changes regarding HF24"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id100,113,101
net_rshares0