gossip
gossip copied to clipboard
more async less blocking
For Nip46 client support we are making Signer functions async (since the network is slow). This forces massive amounts of other code that wasn't already async to be async. But in many places we cheated using runtime.block_on()
or blocking_read()
or blocking_write()
.
Perhaps we should just make a lot more of the code async.