create account

[Changelog] Piston 0.3.1 by xeroc

View this thread on: hive.blogpeakd.comecency.com
· @xeroc · (edited)
$272.97
[Changelog] Piston 0.3.1
![](http://piston.readthedocs.io/en/stable/_images/ico-piston-typo.svg)

Pist has now been release in version 0.3.1. Quite some changes have been made that improve the use of piston as a command line tool and as a library.

New:

 - [piston] Support for UTF-8 bodies

   Piston now supports UTF8 encoded bodies (e.g. text). Note that
   permlink does not yet Support UTF-8 such that either

   * the title should be latin encoded, or
   * a latin encoded permlink needs to be provided manually

 - [piston, steem] Allow to decrypt memos and show them in the history

   This call works like this:
   ```
   piston history --types transfer --memos <account>
   ```
   You will be asked to provide the passphrase for your wallet to obtain
   the memo private key (which needs to be added to piston)

 - [piston, steem] add call for convertion of SBD

   This method allows to convert SteemDollar to STEEM using the internal convertion
   rate after 1 week. Note, that when you convert, you will obtain the
   corresponding amount of STEEM only after waiting 1 week. ::

   ```
   piston convert --account <account>
   ```

 - [piston] show account permissions

   Any account permission can be inspected using::

   ```
   piston permissions [<account>]
   ```

   The take the following form::

       +------------+-----------+-----------------------------------------------------------+
       | Permission | Threshold |                                               Key/Account |
       +------------+-----------+-----------------------------------------------------------+
       |      owner |         2 |                                                fabian (1) |
       |            |           | STM7mgtsF5XPU9tokFpEz2zN9sQ89oAcRfcaSkZLsiqfWMtRDNKkc (1) |
       +------------+-----------+-----------------------------------------------------------+
       |     active |         1 | STM6quoHiVnmiDEXyz4fAsrNd28G6q7qBCitWbZGo4pTfQn8SwkzD (1) |
       +------------+-----------+-----------------------------------------------------------+
       |    posting |         1 |                                             streemian (1) |
       |            |           | STM6xpuUdyoRkRJ1GQmrHeNiVC3KGadjrBayo25HaTyBxBCQNwG3j (1) |
       |            |           | STM8aJtoKdTsrRrWg3PB9XsbsCgZbVeDhQS3VUM1jkcXfVSjbv4T8 (1) |
       +------------+-----------+-----------------------------------------------------------+

   The permissions are either **owner** (full control over the account),
   **active** (full control, except for changing the owner), and
   **posting** (for posting and voting). The keys can either be a public
   key or another account name while the number behind shows the weight of
   the entry. If the weight is smaller than the threshold, a single
   signature will not suffice to validate a transaction

 - [piston,steem] allow, disallow access to your account by other accounts (#54)

   Permissions can be changed using:::

    ```
    piston allow --account <account> --weight 1 <foreign_account>
    piston disallow --permission <foreign_account>
    ```

   More details and the default parameters can be found via:::

    ```
    piston allow --help
    piston disallow --help
    ```

 - [piston] allow --tags when 'post'ing using the cli

   You can use this feature like this:

   piston post --file "post.md" --author xeroc --permlink "my-title" --category spam --title "My Title" --tags tag1 tag2 tag3

 - [wallet] allow more advanced key overwrite possibilities for Piston/Steem/Wallet

   Three wallet operation modes are possible:

   * **Wallet Database**: Here, piston loads the keys from the locally stored wallet SQLite database (see ``storage.py``).  To use this mode, simply call ``Steem()`` without the ``keys`` parameter
   * **Providing Keys**: Here, you can provide the keys for your accounts manually. All you need to do is add the wif keys for the accounts you want to use as a simple array using the ``keys`` parameter to ``Steem()``.
   * **Force keys**: This more is for advanced users and requires that you know what you are doing. Here, the ``keys`` parameter is a dictionary that overwrite the ``active``, ``owner``, ``posting`` or ``memo`` keys for any account. This mode is only used for *foreign* signatures!

 - [wallet] no longer support empty passphrases, use UNLOCK environmental variable instead #53

   This can be used like this:
   ```
   UNLOCK="sup3rs3cre7" piston post
   ```

Fixes:

 - [Makefile] Add Tags to changelog post
 - [docs] Added more subcommands to the docs
 - [fix] Why were owner and posting keys mixed up?
 - [fix] addPrivateKey to detect type properly
 - [makefile] No more editing of old posts
 - [makefile] correct release note from tag
 - [piston,steem] do not allow voting on archived posts (waste of throughput)
 - [piston] Add --nowallet call to prevent piston from loading/creating a new wallet
 - [piston] allow @-prefix when setting variable #44
 - [piston] delkey requires confirmation
 - [piston] more easily readable interest payment date
 - [robustness] don't fail if things go wrong on total_payout_value
 - [setup] remove steem/graphene from additional requirements
 - [steem,piston] move account_history into python-steem and correct parameter name
 - [steem] allow to provide multiple tags instead of just a category
 - [steem] clarify _connect() only for internal use #47
 - [steem] ensure debug and nobroadcast from parameters
 - [steem] fix #41
 - [steem] fix loop_account_history and define rational defaults
 - [steem] move WebSteem to piston.steem.SteemConnector
 - [ui]: Allow to list custom columns.
 - [wallet] properly compare keys from graphene and steem
 - [web] add missing browser-none.html file
 - [web] allow multiple tags for new posts, remove tags from reply post

## Howto Update

Via pip:

    pip3 install steem-piston --upgrade   [--user]

or via git:

    git fetch origin
    git checkout 0.3.1
    make install-user
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 136 others
properties (23)
authorxeroc
permlinkchangelog-piston-0-3-1
categorypiston
json_metadata"{"tags": []}"
created2016-08-30 14:08:45
last_update2016-08-30 14:42:27
depth0
children8
last_payout2016-09-30 15:44:42
cashout_time1969-12-31 23:59:59
total_payout_value261.028 HBD
curator_payout_value11.942 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5,950
author_reputation118,819,064,085,695
root_title"[Changelog] Piston 0.3.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,056,415
net_rshares57,003,258,736,986
author_curate_reward""
vote details (200)
@cryptomental ·
Great! And my small contribution is also there :)
properties (22)
authorcryptomental
permlinkre-xeroc-changelog-piston-0-3-1-20160830t170052699z
categorypiston
json_metadata{"tags":["piston"]}
created2016-08-30 17:00:51
last_update2016-08-30 17:00:51
depth1
children0
last_payout2016-09-30 15:44:42
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_length49
author_reputation6,756,831,217,523
root_title"[Changelog] Piston 0.3.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,058,412
net_rshares0
@gekko ·
great @xeroc !
👍  
properties (23)
authorgekko
permlinkre-xeroc-changelog-piston-0-3-1-20160830t224725159z
categorypiston
json_metadata{"tags":["piston"],"users":["xeroc"]}
created2016-08-30 22:47:24
last_update2016-08-30 22:47:24
depth1
children0
last_payout2016-09-30 15:44:42
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_length14
author_reputation1,185,517,433,922
root_title"[Changelog] Piston 0.3.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,063,002
net_rshares2,056,130,698
author_curate_reward""
vote details (1)
@roelandp ·
thx @xeroc wonderful update... Maybe for future versions, and/or this post as well, add the 'howto update' reminder instruction? 

thanks!
👍  
properties (23)
authorroelandp
permlinkre-xeroc-changelog-piston-0-3-1-20160830t142542678z
categorypiston
json_metadata{"tags":["piston"],"users":["xeroc"]}
created2016-08-30 14:25:42
last_update2016-08-30 14:25:42
depth1
children1
last_payout2016-09-30 15:44:42
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_length138
author_reputation662,936,810,561,284
root_title"[Changelog] Piston 0.3.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,056,627
net_rshares1,345,600,369
author_curate_reward""
vote details (1)
@xeroc ·
$0.08
Done .. thanks for the advise!
👍  , , ,
properties (23)
authorxeroc
permlinkre-roelandp-re-xeroc-changelog-piston-0-3-1-20160830t144239727z
categorypiston
json_metadata{"tags":["piston"]}
created2016-08-30 14:42:39
last_update2016-08-30 14:42:39
depth2
children0
last_payout2016-09-30 15:44:42
cashout_time1969-12-31 23:59:59
total_payout_value0.076 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length30
author_reputation118,819,064,085,695
root_title"[Changelog] Piston 0.3.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,056,830
net_rshares427,721,659,574
author_curate_reward""
vote details (4)
@steemswede ·
image seems to be broken
properties (22)
authorsteemswede
permlinkre-xeroc-changelog-piston-0-3-1-20160830t142016566z
categorypiston
json_metadata{"tags":["piston"]}
created2016-08-30 14:20:15
last_update2016-08-30 14:20:15
depth1
children0
last_payout2016-09-30 15:44:42
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_length24
author_reputation100,638,406,586,596
root_title"[Changelog] Piston 0.3.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,056,555
net_rshares0
@the-ego-is-you · (edited)
@xeroc, I love new software, innovation and any form cooperative agorism, so naturally I would like to upvote this. - But I'm afraid that I, like most Steemit users, have absolutely no idea what these strings of code actually mean or are meant to achieve. 

If possible,  could you provide some sort of  101 overview in your articles, you know for those "noob" votes? 

A list of features or even a picture could likely earn you more and give you greater abilities to do more of this likely important work in the future.
properties (22)
authorthe-ego-is-you
permlinkre-xeroc-changelog-piston-0-3-1-20160831t093812048z
categorypiston
json_metadata{"tags":["piston"],"users":["xeroc"]}
created2016-08-31 09:37:45
last_update2016-08-31 09:41:15
depth1
children2
last_payout2016-09-30 15:44:42
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_length520
author_reputation7,031,347,556,614
root_title"[Changelog] Piston 0.3.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,068,724
net_rshares0
@xeroc ·
$0.22
Re:
> But I'm afraid that I, like most Steemit users, have absolutely no idea what these strings of code actually mean or are meant to achieve. 

I understand your concerns and appreciate you take the time to write them down. The target audience of the post above are mostly developers that make use of `piston` as a library. That means that I do not expect every Steem User to read or care or even upvote this article.  But you are right with one thing: I could probably get higher rewards when writing more details about the releases!

> If possible,  could you provide some sort of  101 overview in your articles, you know for those "noob" votes? 

Certainly. Will do so when releaseing the next version. In the mean time, you can read alot of information on [the webapge](http://piston.rocks).
👍  , , , , , , , ,
properties (23)
authorxeroc
permlinkre-re-xeroc-changelog-piston-0-3-1-20160831t093812048z-20160831t154311
categorypiston
json_metadata"{"replyto": "@the-ego-is-you/re-xeroc-changelog-piston-0-3-1-20160831t093812048z", "tags": []}"
created2016-08-31 15:43:12
last_update2016-08-31 15:43:12
depth2
children1
last_payout2016-09-30 15:44:42
cashout_time1969-12-31 23:59:59
total_payout_value0.218 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length793
author_reputation118,819,064,085,695
root_title"[Changelog] Piston 0.3.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,072,184
net_rshares1,063,584,791,886
author_curate_reward""
vote details (9)
@the-ego-is-you ·
Great, thanks!
properties (22)
authorthe-ego-is-you
permlinkre-xeroc-re-re-xeroc-changelog-piston-0-3-1-20160831t154311-20160902t223633431z
categorypiston
json_metadata{"tags":["piston"]}
created2016-09-02 22:36:33
last_update2016-09-02 22:36:33
depth3
children0
last_payout2016-09-30 15:44:42
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_length14
author_reputation7,031,347,556,614
root_title"[Changelog] Piston 0.3.1"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,104,573
net_rshares0