Code Monkey home page Code Monkey logo

iitkbucks's People

Contributors

dryairship avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

k-k-d

iitkbucks's Issues

Modify the newPeer endpoint

Set a peer limit.

React on this comment once you have completed the task.
Python people react with โค๏ธ , Javascript people react with ๐ŸŽ‰ , others react with ๐Ÿ‘€

Verify a block

React on this comment once you have completed the task.
Python people react with โค๏ธ , Javascript people react with ๐ŸŽ‰ , others react with ๐Ÿ‘€

Create helper endpoints for a new node

Create the following endpoints:

  • /getBlock/<n> : A GET request to this endpoint will return the binary data for the nth block.
  • /getPendingTransactions : A GET request to this endpoint will return the pending transactions as JSON.

React on this comment once you have completed the task.
Python people react with โค๏ธ , Javascript people react with ๐ŸŽ‰ , others react with ๐Ÿ‘€ .

Verify transactions

Create a function to verify a transaction.

React on this comment once you have completed the task.
Python people react with โค๏ธ , Javascript people react with ๐ŸŽ‰ , others react with ๐Ÿ‘€ .

Create an initialization function

  • Create a function to find peers
  • Create a function to process blocks
  • Create a function to perform the initialization steps (i.e, finding peers, asking for blocks and transactions, and processing blocks)

React on this comment once you have completed the task.
Python people react with โค๏ธ , Javascript people react with ๐ŸŽ‰ , others react with ๐Ÿ‘€

Create endpoints to get data about users

React on this comment once you have completed the task.
Python people react with โค๏ธ , Javascript people react with ๐ŸŽ‰ , others react with ๐Ÿ‘€

Create endpoints for communication with peers

Create the following endpoints:

  • /newPeer : a peer will send you a POST request on this endpoint to register itself as your peer.
  • /getPeers : when you receive a GET request on this endpoint, you should return the list of all your peers in JSON format.
  • /newBlock : a peer will send you a POST request to this endpoint with the complete block data (in binary format) when a new block is mined.
  • /newTransaction : a peer/user will send you a POST request to this endpoint when a new transaction is made.

React on this comment once you have completed the task.
Python people react with โค๏ธ , Javascript people react with ๐ŸŽ‰ , others react with ๐Ÿ‘€ .

Implement a worker to mine a new block

React on this comment once you have completed the task.
Python people react with โค๏ธ , Javascript people react with ๐ŸŽ‰ , others react with ๐Ÿ‘€

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.