HiveSQL: Unused Hivepower - Ungenutze Hivepower

EN

How much HivePower is not being used?
I asked myself how much of the HivePower is currently not being used for voting. Many accounts use auto-voting, partly simply to avoid leaving the power unused if they do not vote manually enough. After all, you can set the percentage of upvote mana at which this should happen on Hive.vote.
I wanted to know how much HivePower has been unused for more than 30 days

;WITH total AS (
SELECT
SUM(
( (a.vesting_shares - a.delegated_vesting_shares)
/ dgp.total_vesting_shares * dgp.total_vesting_fund_hive ))
 AS total_hp
FROM Accounts a
CROSS JOIN DynamicGlobalProperties dgp),

unused AS (
SELECT
SUM(
( (a.vesting_shares - a.delegated_vesting_shares)
/ dgp.total_vesting_shares * dgp.total_vesting_fund_hive ))
 AS unused_hp
FROM Accounts a
CROSS JOIN DynamicGlobalProperties dgp
WHERE a.name NOT IN (
SELECT DISTINCT voter
FROM TxVotes
WHERE timestamp > GETDATE() - 30)
)

SELECT
u.unused_hp,
t.total_hp,
(u.unused_hp / t.total_hp) * 100 AS percent_unused
FROM unused u
CROSS JOIN total t;

This query calculates the sum of all HivePower, the sum of the HivePower of all users who have not cast a vote for at least 30 days, and then the percentage.
DynamicGlobalProperties is used to convert the VestingShares into HivePower.

There is currently 126,568,863.453865 Hivepower.
28,160,810.499711 Hivepower has not been used for at least 30 days.
That is 22.493% of HivePower. That's quite a lot, what do you think?

Translated with DeepL.com (free version)

DE

Wie viel HivePower wird nicht genutzt?

Ich habe mir die Frage gestellt, wie viel der HivePower wird momentan nicht fürs Voten genutzt. Viele Accounts nutzen Autovoting, teil weise einfach um die Power nicht ungenutzt zu lassen, wenn Sie nicht ausreichend manuell Voten. Man kann bei Hive.vote schließlich einstellen, ab welcher Prozentzahl der Upvote Mana dies geschehen soll.

Ich wollte wissen, wieviel hivePower bereits über 30 Tage ungenutzt ist


;WITH total AS (
   SELECT 
       SUM(
           ( (a.vesting_shares - a.delegated_vesting_shares)
             / dgp.total_vesting_shares * dgp.total_vesting_fund_hive )
       ) AS total_hp
   FROM Accounts a
   CROSS JOIN DynamicGlobalProperties dgp
),
unused AS (
   SELECT 
       SUM(
           ( (a.vesting_shares - a.delegated_vesting_shares)
             / dgp.total_vesting_shares * dgp.total_vesting_fund_hive )
       ) AS unused_hp
   FROM Accounts a
   CROSS JOIN DynamicGlobalProperties dgp
   WHERE a.name NOT IN (
       SELECT DISTINCT voter 
       FROM TxVotes
       WHERE timestamp > GETDATE() - 30
   )
)
SELECT 
   u.unused_hp,
   t.total_hp,
   (u.unused_hp / t.total_hp) * 100 AS percent_unused
FROM unused u
CROSS JOIN total t;

Mit dieser Abfrage wird die Summer aller HivePower berechnet, die Summer der HivePower aller User, die mind. 30 Tage kein Vote abgegeben haben und dann noch die Prozentzahl.

DynamicGlobalProperties wird dabei verwendet, damit die VestingShares in HivePower umgerechnet werden.

126.568.863,453865 Hivepower gibt es momentan.
28.160.810,499711 Hivepower wurde mind. 30 Tage nicht genutzt.

Das sind 22,493% der HivePower. Das ist schon eine Menge, was sagt ihr dazu?

Posted Using INLEO



0
0
0.000
1 comments
avatar

Congratulations @hive-coding! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You received more than 2500 upvotes.
Your next target is to reach 2750 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out our last posts:

HiveBuzz is Leveling Up - Introducing Our New Project Manager
Our Hive Power Delegations to the August PUM Winners
Feedback from the September Hive Power Up Day
0
0
0.000