stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 671 forks source link

Consolidate signer <-> stacks-node communication #5200

Open obycode opened 2 months ago

obycode commented 2 months ago

When a signer receives a block proposal, there are many RPC calls to the stacks-node. Each call is very quick to process, but sometimes we see that it takes a while for the stacks-node to start processing each call. This adds up to a bunch of unnecessary wait time in the signer. In practice, we've seen it take 15 seconds between the time the signer receives the block proposal and the time it sends the block validation request.

obycode commented 3 weeks ago

This situation was improved by #5213. We should re-evaluate to decide if there is more room for improvement here.