Skip to content

[WIP] [EPIC] Sekanjabin - StakeHolder & Worker-Ursula Integration#1107

Closed
KPrasch wants to merge 26 commits intomasterfrom
sekanjabin
Closed

[WIP] [EPIC] Sekanjabin - StakeHolder & Worker-Ursula Integration#1107
KPrasch wants to merge 26 commits intomasterfrom
sekanjabin

Conversation

@KPrasch
Copy link
Member

@KPrasch KPrasch commented Jun 27, 2019

The goal of this PR is to follow up the core Staker-Worker separation changes in #1029 by introducing the StakeHolder python and (nucypher stake) command-line interfaces and re-integrates Ursula entry points with consideration to the Worker role.

stakeholder CLI commands
nucypher stake new-stakeholder
nucypher stake init
nucypher stake list
nucypher stake accounts
nucypher stake divide
nucypher stake set-worker
nucypher stake sync
Ramp

@KPrasch KPrasch changed the title [EIPC] Sekanjabin - StakeHolder & Worker-Ursula Integration [WIP] [EIPC] Sekanjabin - StakeHolder & Worker-Ursula Integration Jul 2, 2019
@KPrasch KPrasch changed the title [WIP] [EIPC] Sekanjabin - StakeHolder & Worker-Ursula Integration [WIP] [EPIC] Sekanjabin - StakeHolder & Worker-Ursula Integration Jul 2, 2019
for ursula in federated_ursulas:
deployer = ursula.get_deployer()
assert deployer.options['https_port'] == ursula.rest_interface.port
assert deployer.options['https_port'] == ursula.rest_information()[0].port
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In principle, you should be able to use ursula.rest_interface.port. This was done in this commit (903b06f) in #1029.

self._crypto_power.consume_power_up(transacting_power)

# Use blockchain power to substantiate stamp
self.substantiate_stamp(client_password=password)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the password was already provided when creating the TransactingPower, isn't here redundant? After all, stamp substantiation only makes sense when TransactingPower is active.

KPrasch and others added 24 commits July 15, 2019 12:06
…rs from Felix. Lazify solidity configuration for deployer interface connections.
Apply suggestions from code review

Co-Authored-By: David Núñez <david@nucypher.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants