Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
devportal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
devportal
Commits
7d6136be
Commit
7d6136be
authored
4 years ago
by
inertia
Browse files
Options
Downloads
Plain Diff
Merge branch '39-dgpo-keys' into 'develop'
#39
added keys Closes
#39
See merge request
!96
parents
74e29f02
6fd61555
No related branches found
No related tags found
2 merge requests
!98
Deploy to Production
,
!96
#39 added keys
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Rakefile
+31
-0
31 additions, 0 deletions
Rakefile
_data/objects/dgpo.yml
+17
-1
17 additions, 1 deletion
_data/objects/dgpo.yml
with
48 additions
and
1 deletion
Rakefile
+
31
−
0
View file @
7d6136be
...
...
@@ -90,6 +90,37 @@ task :ops_dump, [:vops, :appbase] do |t, args|
puts
op_names
.
compact
.
sort
end
desc
'Dump all dgpo keys.'
task
:dgpo_dump
do
file_name
=
'_data/objects/dgpo.yml'
yaml
=
YAML
.
load_file
(
file_name
)
api
=
Hive
::
DatabaseApi
.
new
all_keys
=
api
.
get_dynamic_global_properties
.
result
.
keys
-
[
'id'
]
known_keys
=
[]
removed_keys
=
[]
unknown_keys
=
[]
known_undocumented_keys
=
[]
yaml
[
0
][
'fields'
].
map
do
|
field
|
field_name
=
field
[
'name'
]
known_keys
<<
field_name
if
all_keys
.
include?
field_name
removed_keys
<<
field_name
if
!!
field
[
'removed'
]
known_undocumented_keys
<<
field_name
if
all_keys
.
include?
(
field_name
)
&&
field
[
'purpose'
].
nil?
end
unknown_keys
=
all_keys
-
known_keys
puts
"Known keys:"
puts
known_keys
.
map
{
|
k
|
"
\t
#{
k
}
"
}
puts
"Removed keys:"
puts
removed_keys
.
map
{
|
k
|
"
\t
#{
k
}
"
}
puts
"Unknown keys:"
puts
unknown_keys
.
map
{
|
k
|
"
\t
#{
k
}
"
}
puts
"Known, undocumented keys:"
puts
known_undocumented_keys
.
map
{
|
k
|
"
\t
#{
k
}
"
}
end
namespace
:test
do
KNOWN_APIS
=
%i(
account_by_key_api account_history_api block_api condenser_api
...
...
This diff is collapsed.
Click to expand it.
_data/objects/dgpo.yml
+
17
−
1
View file @
7d6136be
...
...
@@ -141,7 +141,8 @@
-
"
`264241152000000000000`"
-
name
:
init_hbd_supply
since
:
HF19
# purpose: Originally called `virtual_hbd_supply`, ... TODO
purpose
:
|
Initial amount of HBD issued, originally called `virtual_hbd_supply`.
examples
:
-
"
`0.000
HBD`"
-
name
:
required_actions_partition_percent
...
...
@@ -236,6 +237,8 @@
-
<a href="https://github.com/steemit/steem/issues/3344">#3344</a>
-
name
:
pending_rewarded_vesting_shares
since
:
HF17
purpose
:
|
Amount of VESTS produced from HIVE held in pending reward vested fund.
examples
:
-
"
`379159224.860656
VESTS`"
links
:
...
...
@@ -243,6 +246,8 @@
-
<a href="https://github.com/steemit/steem/issues/3346">#3346</a>
-
name
:
pending_rewarded_vesting_hive
since
:
HF17
purpose
:
|
Pool of HIVE tokens for pending (vested) rewards.
examples
:
-
"
`185294.019
HIVE`"
links
:
...
...
@@ -269,3 +274,14 @@
links
:
-
<a href="https://github.com/steemit/steem/issues/1252">#1252</a>
-
<a href="https://github.com/steemit/steem/issues/1411">#1411</a>
-
name
:
next_daily_maintenance_time
since
:
HF24
purpose
:
|
Schedule to convert HIVE to HBD in the treasury account.
examples
:
-
"
`2018-07-14T01:19:51`"
links
:
-
<a href="https://gitlab.syncad.com/hive/hive/-/releases/v1.24.2">v1.24.2</a>
-
<a href="https://gitlab.syncad.com/hive/hive/-/commit/96254ae57c9e92cdf066e4ccd5deeed4ec9d964f">96254ae</a>
-
<a href="{{ '/apidefinitions/#broadcast_ops_sps_fund' | relative_url }}"><code>sps_fund</code></a>
-
<a href="{{ '/apidefinitions/#broadcast_ops_sps_convert' | relative_url }}"><code>sps_convert</code></a>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment