Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
tinman
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
tinman
Commits
c9a87d0c
Unverified
Commit
c9a87d0c
authored
6 years ago
by
Anthony Martin
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #183 from steemit/182-remove-initminer-detection
removed initminer check #182
parents
7e9b82db
748f232d
No related branches found
No related tags found
2 merge requests
!2
Eclipse Update
,
!1
steem/tinman:develop
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tinman/warden.py
+0
-9
0 additions, 9 deletions
tinman/warden.py
with
0 additions
and
9 deletions
tinman/warden.py
+
0
−
9
View file @
c9a87d0c
...
@@ -47,15 +47,6 @@ def main(argv):
...
@@ -47,15 +47,6 @@ def main(argv):
witness_schedule
=
steemd
.
database_api
.
get_witness_schedule
(
x
=
None
)
witness_schedule
=
steemd
.
database_api
.
get_witness_schedule
(
x
=
None
)
witnesses
=
witness_schedule
[
"
current_shuffled_witnesses
"
]
witnesses
=
witness_schedule
[
"
current_shuffled_witnesses
"
]
initminer
=
config
[
"
STEEM_INIT_MINER_NAME
"
]
if
initminer
not
in
witnesses
:
print
(
"
[√] witnesses: %s not present
"
%
initminer
)
passfail
.
append
(
PREFLIGHT_GO
)
else
:
print
(
"
[X] witnesses: %s present
"
%
initminer
)
passfail
.
append
(
PREFLIGHT_NOGO
)
scheduled_witnesses
=
witness_schedule
[
"
num_scheduled_witnesses
"
]
scheduled_witnesses
=
witness_schedule
[
"
num_scheduled_witnesses
"
]
if
scheduled_witnesses
==
config
[
"
STEEM_MAX_WITNESSES
"
]:
if
scheduled_witnesses
==
config
[
"
STEEM_MAX_WITNESSES
"
]:
...
...
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