Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
beem
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
beem
Commits
d86ff57d
Unverified
Commit
d86ff57d
authored
6 years ago
by
Flug Schwein
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add missing parameter docu to sbd_to_rshares
parent
a6995a44
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
beem/steem.py
+4
-1
4 additions, 1 deletion
beem/steem.py
with
4 additions
and
1 deletion
beem/steem.py
+
4
−
1
View file @
d86ff57d
...
@@ -576,9 +576,12 @@ class Steem(object):
...
@@ -576,9 +576,12 @@ class Steem(object):
"""
Obtain the r-shares from SBD
"""
Obtain the r-shares from SBD
:param str/int/Amount sbd: SBD
:param str/int/Amount sbd: SBD
:param bool not_broadcasted_vote: value of a not_broadcasted or already broadcasted vote (True = not_broadcasted vote).
Only impactful for very high amounts of SBD. Slight modification to the value calculation, as the not_broadcasted
vote rshares decreases the reward pool.
:param int precision_iterations: This is needed for making the calculation more precise.
:param int precision_iterations: This is needed for making the calculation more precise.
The higher the number, the bigger the computational effort needed. It gets automatically adjusted
The higher the number, the bigger the computational effort needed. It gets automatically adjusted
normally.
normally.
Only needed if not_broadcasted_vote = True
"""
"""
if
isinstance
(
sbd
,
Amount
):
if
isinstance
(
sbd
,
Amount
):
...
...
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