You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#10 is a big rewrite. Let's integrate it piecemeal so it gets the thorough review it deserves. The following list are the changes from that list that have made it into master.
lnd: Contains the lnd-client codebase.
scheduler: Contains the business logic of scheduling and "payjoin-channel-funding" requests.
api: Contains all the endpoint logic (currently only for HTTP).
ScheduledPayJoin includes additional member functions for checkout output amounts and generating open_channel messages (from it's scheduled channels). Split Modules from main function #17
ScheduledPayJoin::test_connections now tests connections in parallel.
Introduce scheduler::ProposalPsbt (which needs a better name), that handles state for satisfying a scheduled payjoin-channel-funding.
Introduce SchedulerError for handling error cases instead of panicing.
Scheduler contains the business logic.
api:
Handles HTTP requests with a given Scheduler and options.
Introduce ApiError which can turn into a non-SUCCESS HTTP response instead of panicing.
We embed static files into the binary with include_bytes! macro instead of requiring specification of static file location.
The text was updated successfully, but these errors were encountered:
ScheduledPayJoin is what is scheduled by the "admin/controller/owner_of_lnd_noder". Basically saying, "if we get an original psbt (bip 78), which has an output spending to this address, we should schedule these channel opens (which so happens to be formed as a payjoin tx)".
ProposalPsbt is the "state" of handling a receive of an original psbt. Badly named. I am sorry (I think I proposed a better name in the comments).
DanGould
changed the title
Tracking libifiication via #10
Parallelize verify_funding: Tracking libifiication via #10
Nov 8, 2022
#10 is a big rewrite. Let's integrate it piecemeal so it gets the thorough review it deserves. The following list are the changes from that list that have made it into master.
lnd
: Contains the lnd-client codebase.scheduler
: Contains the business logic of scheduling and "payjoin-channel-funding" requests.api
: Contains all the endpoint logic (currently only for HTTP).lnd
:lnd::LndClient
) now implementsSync
andSend
allowing for better parallelism. Split lightning client logic from main #11lnd::LndClient::verify_funding
).lnd::LndError
to properly catch errors instead of panicing. Split lightning client logic from main #11scheduler
:ScheduledPayJoin
includes additional member functions for checkout output amounts and generatingopen_channel
messages (from it's scheduled channels). Split Modules from main function #17ScheduledPayJoin::test_connections
now tests connections in parallel.Introducescheduler::ProposalPsbt
(which needs a better name), that handles state for satisfying a scheduled payjoin-channel-funding.SchedulerError
for handling error cases instead of panicing.Scheduler
contains the business logic.api
:Scheduler
and options.ApiError
which can turn into a non-SUCCESS HTTP response instead of panicing.include_bytes!
macro instead of requiring specification of static file location.The text was updated successfully, but these errors were encountered: