Skip to content

Median time past index #9

Closed
Closed

Description

@dcousens

@Runn1ng I assume this is what you mean by timestamp index?
I'll push up this, as its only in my local fork of indexd atm...

Activity

  1. self-assigned this
    on May 9, 2017
  2. dcousens commented on May 11, 2017

    @dcousens
    ContributorAuthor

    @Runn1ng - are you literally just wanting txId | utc as a first-seen?
    Would you also want scId | utc? Mind you, that could be a huge chunk of data and would be a 2nd order insertion.

    Maybe even blockId | height | utc?
    Then you could track how many orphans occur.

    That said, each of these indexes would be re-org independent, and would continuously persist (obviously).

    That said, all these could be optional.

  3. karelbilek commented on May 11, 2017

    @karelbilek

    From documentation of bitcore

    timestampindex

    This index maps timestamps with block hashes and is useful for searching blocks by date instead of by height. This is useful for a block explorer that will give search options by date. However it should be noted that the timestamps of blocks can be out of order, as there is a tolerance of around 2 hours that a timestamp of block is allowed to be set.

    So it's not first seen, but really time -> blockhash.

    bitcoin/bitcoin@2045ffe#diff-81e4f16a1b5d5b7ca25351a63d07cb80R269

    bitcoin/bitcoin@2045ffe#diff-24efdb00bfbe56b140fb006b562cc70bR2161

  4. karelbilek commented on May 16, 2017

    @karelbilek

    You deleted your message :) but well... bitcore uses it for displaying blocks on certain date, that's all

    https://insight.bitpay.com/blocks-date/2017-03-06

    But really it's not a must-have feature in the end, I guess

  5. dcousens commented on May 17, 2017

    @dcousens
    ContributorAuthor

    @Runn1ng sorry, I realised you already addressed my question with:

    This is useful for a block explorer that will give search options by date

    Apologies for the confusion.

  6. removed their assignment
    on Nov 3, 2017
  7. changed the title [-]Mempool Transaction first-seen index[/-] [+]Median time past index[/+] on Jan 30, 2018
  8. added a commit that references this issue on Jan 30, 2018
    50eb87c
  9. dcousens commented on Jan 30, 2018

    @dcousens
    ContributorAuthor

    Added in #37 (query functions are missing, but, you can trivially make a PR! :) )

    48a97bd

  10. added 4 commits that reference this issue on Jan 30, 2018
    830d723
    4cf7763
    48a97bd
    a8820b8
  11. added a commit that references this issue on Jun 29, 2018
    a637ac8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions