Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

time-based slots and non-parachain support #58

Conversation

JoshOrndorff
Copy link
Contributor

@JoshOrndorff JoshOrndorff commented May 6, 2022

Solves #3

This PR (currently WIP) adds an implementation of Substrates SlotWorker trait that works with Nimbus.

This will allow standalone blockchains (not parachains) to use nimbus in production.

This PR will also add an example of using nimbus in this way in the template node.

@crystalin crystalin requested a review from librelois May 6, 2022 16:15
@JoshOrndorff JoshOrndorff marked this pull request as draft May 6, 2022 16:20
@JoshOrndorff
Copy link
Contributor Author

JoshOrndorff commented May 8, 2022

@librelois I wonder if you would be willing to look at my code here for a few minutes. I am really close to having nimbus work in non-parachain context. But I am stuck on a lifetime issue.

EDIT: Nevermind, it was just a silly mistake. But writing a question to you really seemed to get me unstuck :)

@JoshOrndorff
Copy link
Contributor Author

Okay, this is basically working. From here on it is just cleanup and refactoring.

@librelois
Copy link
Contributor

@JoshOrndorff can you merge master then tag me when it's done, then I'll review :)

@JoshOrndorff
Copy link
Contributor Author

Sorry, I don't have time for this now. I had time for it six months ago. Plus I don't know how it will interact with the vrf-related changes that have gone in in the meantime.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants