kaspanet / rusty-kaspa

Kaspa full-node and related libraries in the Rust programming language. This is a stable version at the initial rollout phases.
ISC License
371 stars 118 forks source link

Process SubmitBlock requests in parallel #357

Closed tiram88 closed 6 months ago

tiram88 commented 6 months ago

Following changes to the gRPC server:

  1. When the node BPS is greater than 1 (ie. 10 BPS in testnet-11), processes SubmitBlock requests in parallel with as many workers as BPS.
  2. Rejects incoming blocks when the SubmitBlock handler queue is full.
coderofstuff commented 6 months ago

Fixes #355