Skip to content

Conversation

@ajose01
Copy link
Collaborator

@ajose01 ajose01 commented Jan 11, 2019

Here's an alternative to calculating teleportation period duration using block.timestamp / UNIX epochtime. It provides a simple approach on figuring duration aside from calculating future block times.

It's not perfect, it doesn't account for leap seconds or for issues with block producers setting a future timestamp. However, for short durations and non-time specific critical use cases it provides an easy to configure alternative.

Pending: Update to README and providing different options in the REPO rather than replacing the existing Blackhole.sol contract.

This is not ready for a merge. Presenting for review / strategies / discussion. 👍

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.

1 participant