stacks-network / stacks-core

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

Consolidate signer <-> stacks-node communication #5200

Open obycode opened 1 week ago

obycode commented 1 week 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.