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

Improve block generation to work atomicly #1112

Closed
2 tasks
LucasIsasmendi opened this issue Dec 8, 2017 · 1 comment
Closed
2 tasks

Improve block generation to work atomicly #1112

LucasIsasmendi opened this issue Dec 8, 2017 · 1 comment

Comments

@LucasIsasmendi
Copy link
Contributor

Parent: #972

  • In modules/blocks/chains Refactor applyBlock to avoid exit(0) when transactions apply or save block fails, instead return error.
    Also the parameter saveBlock should be deleted (research about it)
    Related Rewrite Process.prototype.loadBlocksOffset #973

  • In modules/blocks/process Refactor generateBlock to call applyBlock instead of processBlock and if no error, broadcast block (reduce it before).

@LucasIsasmendi
Copy link
Contributor Author

Closed by #1169

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

No branches or pull requests

1 participant