Уважаемые пользователи Голос!
Сайт доступен в режиме «чтение» до сентября 2020 года. Операции с токенами Golos, Cyber можно проводить, используя альтернативные клиенты или через эксплорер Cyberway. Подробности здесь: https://golos.io/@goloscore/operacii-s-tokenami-golos-cyber-1594822432061
С уважением, команда “Голос”
GOLOS
RU
EN
UA
inertia
8 лет назад

winspect.rb - Golos Witness Inspector

Overview

Witness Inspector will look at the witnesses you've voted for and finds their latest #witness-category posts so you can get all of the URLs on one screen.


Install

To use this Radiator script:

Linux
$ sudo apt-get install ruby-full git openssl libssl1.0.0 libssl-dev
$ gem install bundler
macOS
$ gem install bundler

I've tested it on various versions of ruby. The oldest one I got it to work was:

ruby 2.0.0p645 (2015-04-13 revision 50299) [x86_64-darwin14.4.0]

First, clone this gist and install the dependencies:

$ git clone git@gist.github.com:8fd886f57978cdac3bac10ff58cbcdfa.git winspect
$ cd winspect
$ bundle install

Optional: edit the file winspect.yml to change chain and/or node url.


Upgrade

Typically, you can upgrade to the latest version by this command, from the original directory you cloned into:

$ git pull

Usually, this works fine as long as you haven't modified anything. If you get an error, try this:

$ git stash --all
$ git pull --rebase
$ git stash pop

If you're still having problems, I suggest starting a new clone.


Usage

To run the report:

$ ruby winspect.rb inertia

Example output:

2017-04-17T11:01:30 - https://www.steemit.com/witness-category/@abit/abit-witness-steem-dollar-policy-change-2017-04-17-and-warning-to-authors-and-steem-dollar-holders-again
2017-04-01T17:40:51 - https://www.steemit.com/witness-category/@anyx/anyx-and-cheetah-quick-witness-update
2017-04-27T03:55:30 - https://www.steemit.com/witness-category/@ausbitbank/my-witness-is-ready-to-go
2017-02-10T18:19:12 - https://www.steemit.com/witness-category/@bacchist/witness-update-for-bacchist-2017-02-10
2017-04-01T06:02:36 - https://www.steemit.com/witness-category/@bitcoiner/bitcoiner-witness-update-20-2017-03-31
2017-01-22T05:16:03 - https://www.steemit.com/witness-category/@boatymcboatface/witness-node-boatymcboatface-update
2016-11-14T20:54:45 - https://www.steemit.com/witness-category/@charlieshrem/steempower-org-and-charlieshrem-witness-update
2017-01-18T08:30:39 - https://www.steemit.com/witness-category/@fyrst-witness/fyrst-witness-update-january-18th-2017-payouts-to-the-steemchart-project-and-steempowertwins
2017-04-27T04:51:51 - https://www.steemit.com/witness-category/@good-karma/good-karma-witness-update-27th-april-2017-2017427t75151963z
2017-04-29T20:14:36 - https://www.steemit.com/witness-category/@gtg/vkn1k-gtg-witness-log
2017-02-17T11:06:03 - https://www.steemit.com/witness-category/@jesta/jesta-witness-update-jan-feb-2017
2017-04-28T23:01:30 - https://www.steemit.com/witness-category/@klye/klye-witness-update-2017-04-28
2017-03-29T10:14:03 - https://www.steemit.com/witness-category/@pfunk/pfunk-hf17-18-witness-update
2017-03-15T22:11:03 - https://www.steemit.com/witness-category/@pharesim/rejecting-hf17-and-a-few-thoughts
2016-04-21T00:09:00 - https://www.steemit.com/witness-category/@roadscape/witness-roadscape
2017-04-03T10:43:48 - https://www.steemit.com/witness-category/@roelandp/6trgaz-witness-update-roelandp
2017-04-17T22:03:54 - https://www.steemit.com/witness-category/@smooth.witness/steem-dollar-policy-update-and-warning-to-converters
2017-03-30T17:12:48 - https://www.steemit.com/witness-category/@someguy123/steem-in-a-box-updated-for-v0-18-1

Check here to see an updated version of this script:

https://gist.github.com/inertia186/8fd886f57978cdac3bac10ff58cbcdfa


Troubleshooting
Problem: The node I'm using is down.

Is there a list of nodes?

Solution: Yes, special thanks to @ripplerm.

https://ripplerm.github.io/steem-servers/




See my previous Ruby How To posts in: #radiator #ruby

Get in touch!

If you're using winspect, I'd love to hear from you. Drop me a line and tell me what you think! I'm @inertia on STEEM and SteemSpeak.

License

I don't believe in intellectual "property". If you do, consider winspect as licensed under a Creative Commons CC0 License.

0
741.990 GOLOS
Комментарии (2)
Сортировать по:
Сначала старые