alexdovzhanyn / elixium_core

A privacy-preserving decentralized application network
https://www.elixiumnetwork.org/
281 stars 37 forks source link

Improve segmented packet reading #53

Closed alexdovzhanyn closed 6 years ago

alexdovzhanyn commented 6 years ago

Adds functionality to properly read TCP packets that don't contain a full message (or that contain more than just one message)

Also changes block validation logic to ignore difficulty with which the block was mined, and use calculated difficulty instead