Giter VIP home page Giter VIP logo

jlchain's People

Contributors

julius278 avatar

Watchers

 avatar  avatar

jlchain's Issues

V1: Improve validation

at this point, every time the longest chain "wins" if the hashes are valid.. but they could be what they want to be as long as the genesis block is the same.

SYNC: peers only sync if the are directly connected

as an example:
Node 1: first node, no others peers given

Node 2: only the first peer is given, connects to this one via websocket connection

Node 3: knows both Nodes and connects

Node 4: knows only Node 1 and connects to this one

if Node 4 mines a block, it only sync's the chain with Node 1 and not with 2 and 3.
Node 1 will also not sync the chain with 2 and 3 cause only in case of mining a new block

crash with exceeding amount on connected sockets

the account who wants to send an higher amount than their wallet contains, get an error message.
However, the transaction is undefined, so the transactions array remains empty or contains undefined elements. So the connected sockets will crash if the sender broadcasts the "new" undefined transaction.

... cause of "cannot read property 'input' of undefined"

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.