-
Notifications
You must be signed in to change notification settings - Fork 793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add batch block processing result observer to block_processor #4167
Conversation
…f blocks and their processing result.
dcaf452
to
8cdaad7
Compare
8cdaad7
to
4f7d249
Compare
Not sure about the way block origin is removed. You are trying to split data into multiple containers that naturally wants to be wrapped in a structure and move through the pipeline. It is more error prone and unnecessary, and in few places that it happens (election related code) it's a pain to work with. It's more or less the same workaround as with block arrival class, instead of tracking the source of each block ( |
b9c077d
to
d17339c
Compare
I can see the reasoning for that and I think we'd be able to do something like that with the block_pipeline::context when merged. https://github.com/nanocurrency/nano-node/blob/6299819eaeaafcd302ca42170e6532de9272df6f/nano/node/block_pipeline/context.hpp |
…he block_processor and broadcasting them on to the network.
e22075d
to
55d61b9
Compare
That looks like a perfect fit. The current solution is OK as a temporary measure until we get the block pipeline merged. |
55d61b9
to
d459479
Compare
…sites to support this.
…block to be processed.
Change several usages of processed_batch to processed.
d459479
to
8f9536b
Compare
node::process_local cleanup
Block processor cleanup
block_processor::process_live cleanup