create account

Version 0.4.2 of the bts_tools released by wackou

View this thread on: hive.blogpeakd.comecency.com
· @wackou ·
$279.59
Version 0.4.2 of the bts_tools released
The main focus of this release, apart from a boatload of minor bug fixes, is the introduction of a deploy script  which I have been working on for quite a bit of time. The idea is to have a generic script (focus on *generic*) which allows you to setup a new VPS instance and fully and properly configure it with the steem client running, alongside with the bts_tools to monitor them behind nginx/uwsgi, automatic client restarting in case of crash, etc.

At the moment, this supports [Vultr](https://vultr.com) and [Gandi](https://gandi.net) as VPS providers, and Debian  Jessie and Ubuntu 16.04 as operating systems [1]. Eventually, I plan to support more providers and OSes, please see my [bounties post](https://steemit.com/steem/@wackou/btstools-development-bounties) for more info and if you want to contribute (and win some Steem!)

## Show me how it works!

Here's a minimal config file you can use to deploy a seed node from scratch: [2]

```yaml
hostname: &hostname seed01
domain: steemnodes.com

os: ubuntu   # debian, ubuntu. more to come...

unix_hostname: *hostname
unix_user: xxxxxxxx
unix_password: xxxxxxxx

# if true, the graphene client will be built directly on the new node,
# otherwise it gets deployed from the host currently running the install
compile_on_new_host: True

# additional keys to be installed in .ssh/authorized_keys for both root and normal user
ssh_keys:
- ssh-rsa xxxxxxxx
- ssh-rsa xxxxxxxx

# access to witness restricted APIs, used to create api_access.json
witness_api_access:
    user: &witness_user bts
    password: &witness_password xxxxxxxx

# config.yaml variables
config_yaml:
    make_args: ['-j4']

    build_environments:
        steem:
            cmake_args: ['-DENABLE_CONTENT_PATCHING=OFF', '-DLOW_MEMORY_NODE=ON']

    clients:
        steem:
            data_dir: ~/.Steem_seed
            run_cli_args: ['--rpc-http-allowip', '127.0.0.1']
            seed_nodes: ['seed.riversteem.com:2001', 'seed.steemed.net:2001', 'steem-seed1.abit-more.com:2001',
                         'steem-id.altexplorer.xyz:2001', 'anyx.co:2001']
            witness_user: *witness_user
            witness_password: *witness_password
            roles:
            -
                role: seed
                name: *hostname

vps:
    # config for vultr provider
    vultr:
        api_key: xxxxxxxx
        name: *hostname
        location: london
        vps_plan: 8G     # can be: 1G, 2G, 4G, etc.
        ssh_keys: [xxxxxxxx, xxxxxxxx]  # need to have at least the ssh key from the host performing the installation
```

save this as `deploy_config.yaml`, then run:
```
$ steem deploy_node deploy_config.yaml vultr
```
to create and install the new instance. If you already have created a VPS instance (because you want to host it somewhere else, for instance), then you can run:
```
$ steem deploy_node deploy_config.yaml 123.123.123.123
```
*(replace 123.123.123.123 with the IP address of your node, make sure to have ssh access as root there)*

Please note that it's still alpha/beta quality, so feedback is very welcome!


## Changelog

Full changelog follows:

> 0.4.2 (2016-08-09)
> ------------------
>
> * [all] pre-release of "bts deploy_node" command: complete setup of a
>         fresh VPS node, with bts/muse/steem client, nginx/uwsgi,
>         supervisor, etc.
> * [all] added view for seed nodes of BTS, MUSE and STEEM networks
> * [all] added world map view of connected peers and seed nodes along with
>         country detection (requires geoip2 account)
> * [bts] added ARS (Argentine peso) market pegged asset
> * [bts] reactivated GOLD and SILVER (Yahoo issue only temporary)
> * [bts] removed Yunbi and CCEDK as feed providers for BTS/BTC
> * [all] internal cleanups and refactoring, innumerable minor bug fixes

## Footnotes

[1] Currently Ubuntu deploy on Gandi doesn't work due to some issue with the boost package version, probably some issue with the mirrors that I couldn't figure out yet, but as this already delayed the release by more than a few days I decided to fix it in a later release
    
[2] A full config file with all possible options can be found here: https://github.com/wackou/bts_tools/blob/master/bts_tools/deploy_config.yaml
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 116 others
properties (23)
authorwackou
permlinkversion-0-4-2-of-the-btstools-released
categorywitness-category
json_metadata{"tags":["witness-category","steem","python","programming","graphene"],"links":["https://vultr.com"]}
created2016-08-09 22:54:42
last_update2016-08-09 22:54:42
depth0
children12
last_payout2016-09-09 17:07:48
cashout_time1969-12-31 23:59:59
total_payout_value259.649 HBD
curator_payout_value19.943 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,215
author_reputation7,679,627,763,956
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id713,444
net_rshares36,914,801,384,497
author_curate_reward""
vote details (180)
@future24 · (edited)
Thank you for sharing! 
https://pixabay.com/static/uploads/photo/2014/08/31/23/52/i-like-432493_960_720.png

PS: Of course I would be really happy about your visit at my blog too ;)
properties (22)
authorfuture24
permlinkre-wackou-version-0-4-2-of-the-btstools-released-20160830t211827462z
categorywitness-category
json_metadata{"tags":["witness-category"],"image":["https://pixabay.com/static/uploads/photo/2014/08/31/23/52/i-like-432493_960_720.png"]}
created2016-08-30 21:18:27
last_update2016-08-30 21:18:36
depth1
children0
last_payout2016-09-09 17:07:48
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_length181
author_reputation394,809,599,345,877
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id1,061,814
net_rshares0
@haji ·
good luck ♥♥♥
properties (22)
authorhaji
permlinkre-wackou-version-0-4-2-of-the-btstools-released-20170719t220917833z
categorywitness-category
json_metadata{"tags":["witness-category"],"app":"steemit/0.1"}
created2017-07-19 10:10:00
last_update2017-07-19 10:10:00
depth1
children0
last_payout2017-07-26 10:10:00
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_length13
author_reputation3,030,788,981,572
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id8,960,024
net_rshares0
@jona12 ·
New innovation always bring new improvement. For the better of steemit transactions
properties (22)
authorjona12
permlinkre-wackou-version-0-4-2-of-the-btstools-released-20171219t165302675z
categorywitness-category
json_metadata{"tags":["witness-category"],"app":"steemit/0.1"}
created2017-12-19 16:53:09
last_update2017-12-19 16:53:09
depth1
children0
last_payout2017-12-26 16:53:09
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_length83
author_reputation21,281,935,508,300
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id24,215,184
net_rshares0
@karenb54 ·
I'm new to ask this so really not sure what's going on but hope you achieve whatever your trying to achieve
👍  
properties (23)
authorkarenb54
permlinkre-wackou-version-0-4-2-of-the-btstools-released-20160809t232306452z
categorywitness-category
json_metadata{"tags":["witness-category"]}
created2016-08-09 23:23:09
last_update2016-08-09 23:23:09
depth1
children1
last_payout2016-09-09 17:07:48
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_length107
author_reputation705,918,848,710,038
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id713,919
net_rshares519,534,727
author_curate_reward""
vote details (1)
@wackou · (edited)
you're right, I guess a little intro could have been useful :) So the bts_tools are meant to help people run steem clients (the blockchain behind steemit), here's an example of what they do: https://seed.steemnodes.com/. Main documentation can be found here: https://bts-tools.readthedocs.io/
👍  
properties (23)
authorwackou
permlinkre-karenb54-re-wackou-version-0-4-2-of-the-btstools-released-20160810t094708107z
categorywitness-category
json_metadata{"tags":["witness-category"],"links":["https://seed.steemnodes.com/."]}
created2016-08-10 09:47:06
last_update2016-08-10 09:47:30
depth2
children0
last_payout2016-09-09 17:07:48
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_length292
author_reputation7,679,627,763,956
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id721,781
net_rshares0
author_curate_reward""
vote details (1)
@maskur2840 ·
Hi true steemit friends wherever located.
I have seen your blog and it is very interesting, my goal is to have more friends who can help each other. Because I'm new in steemit.
Please enlighten and input for steemit progress.
Thanks vote, follow & resteem me.
properties (22)
authormaskur2840
permlinkre-wackou-version-0-4-2-of-the-btstools-released-20170811t190916632z
categorywitness-category
json_metadata{"tags":["witness-category"],"app":"steemit/0.1"}
created2017-08-11 19:09:24
last_update2017-08-11 19:09:24
depth1
children0
last_payout2017-08-18 19:09:24
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_length259
author_reputation18,782,219,514,129
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id11,532,546
net_rshares0
@nonlinearone ·
Thanks for the info on bts_tools - bookmarking. $b.witness $b.tools $b.development $b.steemdev
👍  
properties (23)
authornonlinearone
permlinkre-wackou-version-0-4-2-of-the-btstools-released-20160811t234730327z
categorywitness-category
json_metadata{"tags":["witness-category"]}
created2016-08-11 23:47:30
last_update2016-08-11 23:47:30
depth1
children0
last_payout2016-09-09 17:07:48
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_length94
author_reputation32,682,086,388,813
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id755,587
net_rshares64,488,306
author_curate_reward""
vote details (1)
@raafita ·
thank you for useful post.
properties (22)
authorraafita
permlinkre-wackou-201824t221050627z
categorywitness-category
json_metadata{"tags":["witness-category","steem","python","programming","graphene"],"app":"esteem/1.5.1","format":"markdown+html","community":"esteem"}
created2018-02-04 15:10:54
last_update2018-02-04 15:10:54
depth1
children0
last_payout2018-02-11 15:10:54
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_length26
author_reputation4,234,137,249
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id34,909,693
net_rshares0
@rest100 ·
@wackou Hey i wanna persnally thank you for your recent support with upvotes. If theres any way i can help/ promote anything your doing please let me know your continued support is appreciated!
properties (22)
authorrest100
permlinkre-wackou-version-0-4-2-of-the-btstools-released-20170718t235254429z
categorywitness-category
json_metadata{"tags":["witness-category"],"users":["wackou"],"app":"steemit/0.1"}
created2017-07-18 23:52:54
last_update2017-07-18 23:52:54
depth1
children0
last_payout2017-07-25 23:52:54
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_length193
author_reputation234,423,104,332,565
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id8,922,226
net_rshares0
@royalmacro ·
great post ......... is there any bugs exist @ steemit ?
properties (22)
authorroyalmacro
permlinkre-wackou-version-0-4-2-of-the-btstools-released-20160810t064312912z
categorywitness-category
json_metadata{"tags":["witness-category"]}
created2016-08-10 06:43:09
last_update2016-08-10 06:43:09
depth1
children1
last_payout2016-09-09 17:07:48
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_length56
author_reputation181,020,262,458,461
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id719,871
net_rshares0
@wackou ·
This is not directly related to steemit (the website), but more to steem (the underlying blockchain). See https://bts-tools.readthedocs.io/
👍  ,
properties (23)
authorwackou
permlinkre-royalmacro-re-wackou-version-0-4-2-of-the-btstools-released-20160810t095408732z
categorywitness-category
json_metadata{"tags":["witness-category"],"links":["https://bts-tools.readthedocs.io/"]}
created2016-08-10 09:54:09
last_update2016-08-10 09:54:09
depth2
children0
last_payout2016-09-09 17:07:48
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_length139
author_reputation7,679,627,763,956
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id721,845
net_rshares0
author_curate_reward""
vote details (2)
@slendel ·
this programing it's about the steemit cryptocurrency?
well i hope you reply 
i follow you anyway y friend
👍  
properties (23)
authorslendel
permlinkre-wackou-version-0-4-2-of-the-btstools-released-20170529t025444571z
categorywitness-category
json_metadata{"tags":["witness-category"],"app":"steemit/0.1"}
created2017-05-29 02:54:45
last_update2017-05-29 02:54:45
depth1
children0
last_payout2017-06-05 02:54:45
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_reputation136,155,837,875
root_title"Version 0.4.2 of the bts_tools released"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id3,908,507
net_rshares842,197,335
author_curate_reward""
vote details (1)