helium / blockchain-core

Apache License 2.0
214 stars 85 forks source link

sc handler optimisations #1396

Closed andymck closed 2 years ago

andymck commented 2 years ago

Provides optimisations/improvements of the state channel GRPC handler and the shared blockchain_state_channel_common module. This mod is shared across both grpc and libp2p transport layers for state channel requests.

Optimisation/improvements include:

andymck commented 2 years ago

So the approach I took was to insert to the cache anytime the chain in state is being updated