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.
Two new table have been added to support the new operations:
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:
This table contains the operations published by the witnesses to adapt the dynamic parameters of the blockchain.
Table Accounts - new fields
Several new fields have been added to this table:
Table TxAccountsCreate - new fields
Two new fields have been added to this table to support the new create_claimed_account operation:
reward fields has been deleted and replaced with 3 new ones
The values previously stored in the
reward field have been transferred to
New database diagram
Here an updated diagram of the database:
Visit SteemSQL website for more information.
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!