gudnuf / bolt12-prism

CLN plugin for lightning prisms using BOLT 12
15 stars 5 forks source link

Make payout asynchronous #58

Open gudnuf opened 1 year ago

gudnuf commented 1 year ago

Currently we iterate through each member and pay them one at a time, but each payout is blocking for the next.

We should make the payout happen asynchronously so that all payouts can be initiated at the same time.

gudnuf commented 7 months ago

UPDATE: I think CLN is single-threaded so this will not be possible, but check to confirm