Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Improve block propagation #541

Closed
4 tasks done
karmacoma opened this issue Apr 7, 2017 · 1 comment
Closed
4 tasks done

Improve block propagation #541

karmacoma opened this issue Apr 7, 2017 · 1 comment
Assignees
Milestone

Comments

@karmacoma
Copy link
Contributor

karmacoma commented Apr 7, 2017

Belongs to: #449

  • We should trust self-forged blocks and broadcast them before verification
  • Every node should decide to include (or not) block on his own - so we should broadcast block immediately without verification (we can perform schema verification only)
  • Decrease block size by removing empty/insignificant properties
  • Use binary format, there are some libraries that we can use https://github.com/dcodeIO/PSON, https://github.com/mongodb/js-bson
@Isabello
Copy link
Contributor

Isabello commented Aug 18, 2017

This Issue has been reopened for the following reasons:

It is insecure to forward a block that has not been validated. Deleting certain fields, while saving some bytes, is not secure, as it requires mutating the block multiple times.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants