create account

SteemSQL - HF20 update by arcange

View this thread on: hive.blogpeakd.comecency.com
· @arcange ·
$10.79
SteemSQL - HF20 update
<center>http://i.cubeupload.com/jRKIMn.png</center>

With the last hardfork 20, several changes have been made to the blockchain data. SteemSQL has supported these changes as soon as the harfork was activated. Here is the detailed information about the changes that have been applied to the SteemSQL database.

### New tables

Two new table have been added to support the new operations:

##### TxAccountsClaims

This table contains the “requests” from users or dApps to create new accounts. These operations are issued **before** the actual creation of the account on the blockchain.

Although at the blockchain level the operation of creating a claimed account is of different type (_create_claimed_account_) from the previous account creation operations (_account_create_ and _account_create_with_delegation_), SteemSQL stores them all in a single table: `TxAccountCreates`.

##### TxWitnessSetProperties

This table contains the operations published by the witnesses to adapt the dynamic parameters of the blockchain.

### Modified tables

##### Table Accounts - new fields

Several new fields have been added to this table: 
* _voting_manabar_current_mana_
* _voting_manabar_last_update_time_
* _reward_sbd_balance_
* _reward_steem_balance_
* _reward_vesting_balance_
* _reward_vesting_steem_
* _last_vote_time_
* _post_bandwidth_
* _pending_claimed_accounts_


##### Table TxAccountsCreate - new fields

Two new fields have been added to this table to support the new _create_claimed_account_ operation:

* _fee_
* _extensions_

##### TVOCommentBenefactorRewards

The single `reward` fields has been deleted and replaced with 3 new ones

* _sbd_payout_
* _steem_payout_
* _vesting_payout_

The values previously stored in the `reward` field have been transferred to `vesting_payout`

### New database diagram

Here an updated diagram of the database:


![](https://cdn.steemitimages.com/DQmcfVJEdu64DNKbNUYexzc6QEnQBTaoKx5TDLrn9RzLcwR/Diagram.jpg)

Visit [SteemSQL website](https://steemsql.com) for more information.

### Roadmap

* Many of you have asked us to be able to access the parameter of the blockchain directly from SteemSQL to be able to directly perform certain operations in their queries (convert the VESTS to STEEM POWER for example). This will be done in the coming days.

* Revamping of the tables structure to reclaim storage space and improve performances is planned.

* I plan to improve the documentation of SteemSQL and provide more tutorial on how to write efficient queries. This will done after SteemFest³.

Thanks for reading!

---
<center>![](https://cdn.steemitimages.com/DQmSwK83yagygSK63SVVQzKA9jdsFmJnXyx3CoqwaYjo6bE/meetme-sf3-s.png)</center>
### <center>Do you like my work to support the community. [Vote for my witness](https://steemit.com/~witnesses)</center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorarcange
permlinksteemsql-hf20-update
categorysteemsql
json_metadata{"tags":["steemsql","steemit","database","sql","programming"],"image":["http://i.cubeupload.com/jRKIMn.png","https://cdn.steemitimages.com/DQmcfVJEdu64DNKbNUYexzc6QEnQBTaoKx5TDLrn9RzLcwR/Diagram.jpg","https://cdn.steemitimages.com/DQmSwK83yagygSK63SVVQzKA9jdsFmJnXyx3CoqwaYjo6bE/meetme-sf3-s.png"],"links":["https://steemsql.com","https://steemit.com/~witnesses"],"app":"steemit/0.1","format":"markdown"}
created2018-10-11 16:09:15
last_update2018-10-11 16:09:15
depth0
children4
last_payout2018-10-18 16:09:15
cashout_time1969-12-31 23:59:59
total_payout_value8.352 HBD
curator_payout_value2.440 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,802
author_reputation1,065,066,100,905,268
root_title"SteemSQL - HF20 update"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id73,085,911
net_rshares7,928,004,304,606
author_curate_reward""
vote details (61)
@natha93 ·
Ich schätze, eure Arbeit und die Mühe, die ihr euch macht sehr. 👍😊
Danke! 
👍  
properties (23)
authornatha93
permlinkre-arcange-steemsql-hf20-update-20181011t161540383z
categorysteemsql
json_metadata{"tags":["steemsql"],"community":"steempeak","app":"steempeak"}
created2018-10-11 16:15:42
last_update2018-10-11 16:15:42
depth1
children0
last_payout2018-10-18 16:15: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_length74
author_reputation6,178,768,594,802
root_title"SteemSQL - HF20 update"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id73,086,359
net_rshares11,346,471,414
author_curate_reward""
vote details (1)
@paulag ·
awesome
properties (22)
authorpaulag
permlinkre-arcange-steemsql-hf20-update-20181011t232142543z
categorysteemsql
json_metadata{"tags":["steemsql"],"app":"steemit/0.1"}
created2018-10-11 23:21:42
last_update2018-10-11 23:21:42
depth1
children0
last_payout2018-10-18 23:21: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_length7
author_reputation274,264,287,951,003
root_title"SteemSQL - HF20 update"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id73,106,822
net_rshares0
@steem-ua ·
#### Hi @arcange!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your **UA** account score is currently 7.759 which ranks you at **#42** across all Steem accounts.
Your rank has not changed in the last three days.

In our last Algorithmic Curation Round, consisting of 391 contributions, your post is ranked at **#23**.
##### Evaluation of your UA score:

* Your follower network is great!
* The readers appreciate your great work!
* Good user engagement!


**Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
properties (22)
authorsteem-ua
permlinkre-steemsql-hf20-update-20181016t154412z
categorysteemsql
json_metadata"{"app": "beem/0.20.7"}"
created2018-10-16 15:44:12
last_update2018-10-16 15:44:12
depth1
children0
last_payout2018-10-23 15:44:12
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_length595
author_reputation23,214,230,978,060
root_title"SteemSQL - HF20 update"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id73,420,722
net_rshares0
@vlemon ·
Thank you for the updates. Take care @arcange 

Posted using [Partiko iOS](https://steemit.com/@partiko-ios)
properties (22)
authorvlemon
permlinkvlemon-re-arcange-steemsql-hf20-update-20181012t085937107z
categorysteemsql
json_metadata{"app":"partiko"}
created2018-10-12 08:59:36
last_update2018-10-12 08:59:36
depth1
children0
last_payout2018-10-19 08:59:36
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_length108
author_reputation820,959,422,800,927
root_title"SteemSQL - HF20 update"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id73,133,234
net_rshares0