Closed vaibhavchellani closed 3 years ago
We aren't using it on the node atm because I will have to create witnesses for all transactions before calling this function, one benefit of using processBatch
once and not processTx
on every transaction would be reduced network calls.
We could use it as a final check to make sure the blcok created is correct.
Will we use processBatch when syncing ?
We could use processBatch while syncing, but we will have to create witnesses for all txs before that.
The process would look something like this:
If we use processTx the process would look something like:
Let's bring the discussion to the node side. https://github.com/thehubbleproject/hubble-commander/issues/55
Right now we aren't using processBatch anywhere on the node, I am struggling to think of any compelling place to use it. This issue is to discuss its usage.