[Changelog] Piston 0.3

in #piston8 years ago (edited)

Release 0.3

This release is a major update with significant changes under the hood (see below). It now already comes with a basic piston.web version (documentation available in README-web.md) and fixes quite a lot of nasty littly bugs.

As usual, bug reports are welcome.

Howto upgrade

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

New:

  • [piston] show history in cli
  • [piston] allow to provide tags or any arbitray data in the frontmatter header
  • [piston] add powerdownroute command
  • [piston] show interest payments and when they can happen the earliest
  • [wallet] allow to overwrite password promt by means of an environmental variable 'UNLOCK'
  • [piston] delkey, getkey and minor fixes in the wallet
  • [steem] add get_account_history call
  • [steem] allow sorting of posts by total_payout_value
  • [steem] get_comments call
  • [wallet] implement masterpassword

piston.web:

  • [web] cleanup and singelton websocket connection
  • [web] funds: add interest payments
  • [web] improvments and index page
  • [web] tokenize tags
  • [readme.web] piston now in develop (later master) branch, howto for windows7
  • [web] README-web: add dependencies for apt-get
  • [web] allow to specify --host to listen to, defaults to 127.0.0.1
  • [web] show root posts for replies
  • [web] list more transactions and filter by type
  • [web] Readme some dependencies
  • [web] voting spinners
  • [web] add a footer and some bottom distance
  • [web] simplify html/markdown presentation
  • [web] settings page
  • [web] properly show comment_reward in the tx history
  • [web] remove lxml dependency
  • [web] highlight own posts
  • [web] fix reply identifier not in the form
  • [web] README
  • [web] fixes for the wallet import procedure
  • [web] massive update
  • [web] more structure, content and the ability to post
  • [web] initial browse view
  • [web] initial work on standalone piston.web
  • [browse] allow to browse more than 10 posts

Fixes:

  • [Makefile] don't intend the git tag message
  • [account] properly use graphene-inherited account module for key related stuff
  • [docs] a page about this.piston.rocks API server
  • [docs] documentation of source code
  • [piston] add a piston.py file for development
  • [piston] ensure on startup that the piston node is available
  • [piston] fix author on posts
  • [piston] fix default_author for replies
  • [piston] fix transfer amount/asset distinction
  • [setup] cleanup dependencies
  • [setup] fix flask/egg issue by disallowing zip
  • [setup] make sure the user uses python3
  • [setup] update dependencies
  • [sqlwallet] initial commit
  • [steem] don't randomly throw any keys in create_account
  • [steem] fix Post when used with an indentifier
  • [steem] fix account creation
  • [steem] fix get_recommended when no recommendation returned
  • [steem] remove recommended
  • [storage] Backup solution
  • [storage] create app_data dir if not present
  • [storage] enable multithreaded access to storage
  • [storage] more robust backup
  • [utils] don't exit on exception
  • [wallet] ensure to overwrite the keys if manually passed
  • [wallet] legacy wallet code cleanup

Important Notes:

  • If you had a piston wallet before, you will need to migrate your
    existing wallet into the more modern SQLite-based wallet. This works
    as easy as running

    piston listaccounts
    

    You will be asked to provide the old password and a new password. Afterwards,
    your private keys will be BIP32 encrypted and stored in your local piston
    wallet.

  • The piston wallet stores it's database in your appdir:

    OSX:

    • ~/Library/Application Support/piston

    Windows:

    • C:\Documents and Settings\<User>\Application Data\Local Settings\Fabian Schuh\piston
    • C:\Documents and Settings\<User>\Application Data\Fabian Schuh\piston

    Linux:

    • ~/.local/share/piston
  • The piston wallet will create backups of your local database now and then and
    store them in the backups/ folder next to the database (see above)

  • If you use the steem.transfer() call you will need to modify your calls to
    now distinguish asset (string) from amount (float).

  • The piston.create_account no longer generates a password for your, you will
    need to either provide a password or the public keys for creating new
    accounts.

Sort:  

Tested with Linux mint Sarah, working flawlessly... Great job @xeroc

This comment made with Piston Web

thanks for the work and for the piston, really great work!

You sure put hard work in this! , Thanks for the post! - Although I do not know what piston is and/or how to use it I do think that this has helped out others !

Wow! Keep up the hard/good work @xeroc ;)

Boobie doobie doo...

With a little little luck, after spending all morning chasing a hundred dependencies for a clean debian install, I am writing this post via piston.web and @xeroc is da man!

@xeroc, can piston cli be used to propose transactions already?

Steem doesn't know "proposals", hence piston doesn't know how to propose transactions.
I can start working on a cold storage solution though ..

@xeroc Thank you for your work.

Can you help me?

myvar = steem.get_content("my_permlink")

When I load the post , I can get information from the variable - class.
For example:
print(myvar.author) or print(myvar.pending_payout_value)

How can I access to data and time - when post was created? Not myvar.active
myvar. ???

And yet .. How can I find out the number of comments in current post ? I want to calculate (to know) how many comments a post has . But I can not find anything .
myvar. ??

Thanks.

this this print(vars(myvar)). It will show all the available attributes

keep it up @xeroc !
it supports python 2 in the future?

Thanks for doing brilliant work..

Coin Marketplace

STEEM 0.27
TRX 0.11
JST 0.030
BTC 70853.78
ETH 3811.42
USDT 1.00
SBD 3.43