mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-19 23:04:22 +01:00
probing payments uses a probing payment hash which is:
sha256("probing-01:" || payment_hash).
When the interceptor detects such a hash for a payment which is supposed
to trigger a channel creation , it checks if the destination is online,
and if online, fails with INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS error in
order to let the payer knows that the payment would be successful.
1 line
91 B
SQL
1 line
91 B
SQL
CREATE INDEX probe_payment_hash ON public.payments (sha256('probing-01:' || payment_hash)); |