1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-03-09 15:52:43 +01:00

tx-complete: clarify that the total input/total output incl funding

Found-by: @morehouse
This commit is contained in:
niftynei 2023-11-09 22:37:41 -06:00 committed by neil saitug
parent 11dea59504
commit fa879e325c

View file

@ -359,7 +359,9 @@ The nodes:
The receiving node:
- MUST use the negotiated inputs and outputs to construct a transaction
- MUST fail the negotiation if:
- the peer's total input satoshis is less than their outputs
- the peer's total input satoshis is less than their outputs. One MUST
account for the peer's portion of the funding output when verifying
compliance with this requirement.
- the peer's paid feerate does not meet or exceed the agreed `feerate`
(based on the `minimum fee`).
- if is the *non-initiator*: