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

Use the IPFS core object to post block data during proposal #178

Merged
merged 27 commits into from
Mar 15, 2021

Commits on Mar 10, 2021

  1. initial commit for posting data to ipfs using an ifps core object, an…

    …d computing the erasure data twice
    
    handle error from posting block data
    
    use the dag instead of the pinningAdder object
    
    don't use the error wrapping directive
    evan-forbes committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    eb421c8 View commit details
    Browse the repository at this point in the history
  2. remove unused hash calc

    evan-forbes committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    09cfd50 View commit details
    Browse the repository at this point in the history
  3. use NodeAdder instead of the full IPFS API object

    review feedback
    evan-forbes committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    8bb43e9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7778e00 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b5f6c85 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    50b2a03 View commit details
    Browse the repository at this point in the history
  7. export CidFromNamespacedSha256

    add testing infrastructure for TestPutBlock
    evan-forbes committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    f13043d View commit details
    Browse the repository at this point in the history
  8. switch to using NmtNodeAdder instead of using the old NmtNodeCollector

    fix node collection and commit data to ipfs
    
    remove extra plugin var
    
    unexport node collector
    
    fix missed unexport
    evan-forbes committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    c99bc38 View commit details
    Browse the repository at this point in the history
  9. change the default hash function to sha256 instead of sha3

    update test result, which changed because of the updated hash function
    
    update to the new PutBlock API
    evan-forbes committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    4ad27a8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e5c2e17 View commit details
    Browse the repository at this point in the history
  11. use a more minimal api

    linter gods
    evan-forbes committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    2534b07 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e74ed4e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e9ca0b9 View commit details
    Browse the repository at this point in the history
  14. update testing infra for TestPutBlock

    use mock ipfs node instead of initing one
    evan-forbes committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    742b62a View commit details
    Browse the repository at this point in the history
  15. switch e2e test ipfs dir

    evan-forbes committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    9dfa413 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    11c6313 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    b560b90 View commit details
    Browse the repository at this point in the history
  18. don't post the data to ipfs until after the proposal is made. Set Tim…

    …eout to 1.5 seconds
    
    wrap error instead of panicking
    evan-forbes committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    441e158 View commit details
    Browse the repository at this point in the history
  19. add test cases

    add docs to PutBlock
    evan-forbes committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    8e31785 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    417a817 View commit details
    Browse the repository at this point in the history
  21. review feedback: add docs

    evan-forbes committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    d53622f View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    52fdd1b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    4464a08 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2021

  1. fix comment position

    Co-authored-by: Ismail Khoffi <[email protected]>
    evan-forbes and liamsi authored Mar 11, 2021
    Configuration menu
    Copy the full SHA
    c07235d View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2021

  1. Configuration menu
    Copy the full SHA
    3bf7bca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8cbaa42 View commit details
    Browse the repository at this point in the history
  3. change NmtCodecName to "nmt-node"

    Co-authored-by: Ismail Khoffi <[email protected]>
    evan-forbes and liamsi authored Mar 15, 2021
    Configuration menu
    Copy the full SHA
    c0f3d1c View commit details
    Browse the repository at this point in the history