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

New Tipset w/ unit tests #56

Merged
merged 16 commits into from
Dec 3, 2019
Merged

New Tipset w/ unit tests #56

merged 16 commits into from
Dec 3, 2019

Commits on Nov 26, 2019

  1. Blockchain Interfaces WIP

    * Added multihash package to retrieve blake2b hash
    * Added sort_key method for Ticket struct
    * Added equals method for TipSetKeys struct type
    * WIP for Tipset new fn
    * WIP cid method for block type which would return CID of block
    dutterbutter committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    4aca649 View commit details
    Browse the repository at this point in the history
  2. New Tipset fn WIP

    * Added new conditional checks as per spec update
    * WIP sorted and compare logic for ticket size
    * Fix cid method for blockHeader
    * WIP new fn tests
    dutterbutter committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    c8c9934 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2019

  1. Added unit tests

    * Added unit tests for tipset methods
    dutterbutter committed Nov 28, 2019
    Configuration menu
    Copy the full SHA
    dc60488 View commit details
    Browse the repository at this point in the history
  2. WIP tipset new fn

    dutterbutter committed Nov 28, 2019
    Configuration menu
    Copy the full SHA
    0a5b9a8 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2019

  1. Added unit tests

    * Added unit tests for tipset methods
    dutterbutter committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    e09cf5a View commit details
    Browse the repository at this point in the history
  2. Added tipset new logic

    * Added new tipset logic, includes conditional checks and sorting based on ticket size
    * Added unit tests for tipset methods
    * Added cid fn although it is incomplete as we need cbor encoding
    dutterbutter committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    935734b View commit details
    Browse the repository at this point in the history
  3. Fixed equals fn

    * Fixed equals fn check
    * Linted
    dutterbutter committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    592b48b View commit details
    Browse the repository at this point in the history
  4. Resolved conflicts

    dutterbutter committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    84d8ad2 View commit details
    Browse the repository at this point in the history
  5. Updated with base

    dutterbutter committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    bee09c5 View commit details
    Browse the repository at this point in the history
  6. Remove typo

    dutterbutter committed Nov 29, 2019
    Configuration menu
    Copy the full SHA
    423c49c View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2019

  1. Made requested changes

    * Updated multihash to specific version
    * Removed extern crate statement
    * Improved commenting
    * Updated sort statement
    * Improved unit test setup
    * Updated error messages for tipset condition checks
    dutterbutter committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    84be3f0 View commit details
    Browse the repository at this point in the history
  2. Made requested changes

    * Updated cid reference
    * Removed pub from mod.rs
    dutterbutter committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    4b2e509 View commit details
    Browse the repository at this point in the history
  3. Requested changes made

    * Updated error to handle String
    * Removed unnecessary import
    * Removed sort_key method for Ticket
    dutterbutter committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    8c1cf22 View commit details
    Browse the repository at this point in the history
  4. Requested changes made

    * Removed dead code and unused variable tag
    dutterbutter committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    c36e37b View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. Remove reverse in sort

    dutterbutter committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    e31303b View commit details
    Browse the repository at this point in the history
  2. improved tests

    dutterbutter committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    f71cd41 View commit details
    Browse the repository at this point in the history