Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement block timestamp helper functions #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jan 31, 2020

  1. implement block timestamp helper functions

    - add blockTime helper to get a block's timestamp or estimated mining
    date
    - implement a boolean helper that allows for different language
    depending on whether the block in question has been mined or not.
    topocount committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    22b2642 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. address @sohkai's review comments

    - remove any calls to `eth_blockNumber`
    - add date-fns format helper and expose formatting externally
    - move `isBlockMined` to a separate file
    - re-alphabetize import and exports in index.js
    - utilize regex tests for the future blocktime test
    topocount committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    2979c12 View commit details
    Browse the repository at this point in the history