Skip to content

Conversation

@swansontec
Copy link
Contributor

@swansontec swansontec commented Jul 30, 2019

TODO:

  • Define format for EdgeStakingSettings.
  • Add this API to the EdgeCurrencyWallet.
  • Add this API to the EdgeCurrencyEngine.
  • Implement pass-through logic in the core.

@swansontec swansontec force-pushed the william/staking-api branch from 2d75299 to 56706d3 Compare July 30, 2019 20:08
@swansontec swansontec requested a review from paullinator July 30, 2019 20:23
@swansontec swansontec force-pushed the william/staking-api branch 2 times, most recently from 0fb7263 to 392ad5a Compare August 2, 2019 18:26
@swansontec swansontec force-pushed the william/staking-api branch from 392ad5a to 0f758ea Compare August 20, 2019 17:30
throw new Error('This currency does not support staking')
}
const tx = await engine.changeStakingSettings(stakingSettings)
update(out) // Check for changes to this.stakingSettings
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops. Need to add a callback to the engine to tell us it changed.

Copy link

Choose a reason for hiding this comment

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

True

Copy link

@chazjeremyrosette chazjeremyrosette left a comment

Choose a reason for hiding this comment

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

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.

4 participants