HiveSQL Upate - Database maintenance and new Account Recovery Tables

avatar

As you know, the account recovery process is something I have worked on and written a lot about recently.

This allowed me to better understand the related transactions recorded in the blockchain. I also noticed that the related tables in HiveSQL were not that well organized (some early days errors)

So I took advantage of the HiveSQL reorganization work that I am currently carrying out to make some modifications.

What changed?

  • The table TxAccountChangeRecovers has been renamed to TxAccountRecoveryChanges
  • The content of the table TxAccountRecovers has been split into TxAccountRecoveryRequests and TxAccountRecoveryConfirms.

Therefore, we now have three new tables available:

TxAccountRecoveryChanges

This table contains operations broadcasted to the blockchain when users want to change their Recovery Account.

ColumnDescription
account_to_recoverthe account that wants to change its Recovery Account
new_recovery_accountthe new Recovery Account

TxAccountRecoveryRequests

This operation is broadcasted to the blockchain by the Account Recovery of an account that has been hacked to initiate the recovery process

ColumnDescription
recovery_accountusername of the Recovery Account
account_to_recoverusername of the account to recover
new_owner_authoritynew public owner key provided by the account to recover to the recovery account

TxAccountRecoveryConfirms

This table contains operations broadcasted to the blockchain by the hacked account's owner to confirm the account recovery request sent by its Recovery Account.

ColumnDescription
account_to_recoverusername of the account to recover
new_owner_authoritynew public owner key provided by the account to recover to the recovery account
recent_owner_authoritya public owner key of the account to recover before it was last changed

What's next?

This first change should make it easier to find information relating to the account recovery process.

As indicated at the beginning of this post, I have embarked on a work of reorganizing and improving the database. So expect to see more posts on this subject in the coming days.

Support

If you have any questions or remarks, support is provided on the HiveSQL Discord Channel.

Thank you for reading.


Let's keep HiveSQL free to use - Support its proposals!

HiveSQLHiveBuzz
Vote for the proposal on PeakD
Vote for the proposal on Ecency
Vote for the proposal using HiveSigner
Vote for the proposal on PeakD
Vote for the proposal on Ecency
Vote for the proposal using HiveSigner

Check out my apps and services


Vote for me as a witness



0
0
0.000
7 comments
avatar

pixresteemer_incognito_angel_mini.png
Bang, I did it again... I just rehived your post!
Week 56 of my contest just started...you can now check the winners of the previous week!
2

0
0
0.000