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 DAA score timestamp estimation #268

Merged

Commits on Nov 23, 2023

  1. Add GetDaaEstimateTimestamp RPC API

    Basic implementation, just return the value back. Commit is focused on
    adding the API rather than functionality.
    coderofstuff committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    bebf633 View commit details
    Browse the repository at this point in the history
  2. Implement DAA score timestamp estimation

    Input = array of daa_scores
    Output = array of timestamps, index matched with input
    coderofstuff committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    b82d9d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    247c49e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7a2300b View commit details
    Browse the repository at this point in the history
  5. - use compact headers

    - acquire prune lock
    - use tighter indexing logic
    - ensure sink is included
    michaelsutton authored and coderofstuff committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    2442830 View commit details
    Browse the repository at this point in the history
  6. eof new line

    michaelsutton authored and coderofstuff committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    4c1c2a5 View commit details
    Browse the repository at this point in the history
  7. add todos

    michaelsutton authored and coderofstuff committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    8643263 View commit details
    Browse the repository at this point in the history
  8. - bug fix: use f64, otherwise the fraction is always zero

    - avoid assuming that timestamps are strictly monotonic
    michaelsutton authored and coderofstuff committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    a3f0125 View commit details
    Browse the repository at this point in the history
  9. renames

    michaelsutton authored and coderofstuff committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    ae4c378 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    804f955 View commit details
    Browse the repository at this point in the history
  11. note

    michaelsutton authored and coderofstuff committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    dcdf65d View commit details
    Browse the repository at this point in the history
  12. Add last data point from jupyter notebook

    It's the same daa_score as checkpoint genesis, but timestamp is
    different to improve accuracy for queries right before and right after
    this daa_score
    coderofstuff committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    fa0ee58 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e2f6a95 View commit details
    Browse the repository at this point in the history