Skip to content

Commit

Permalink
dual-funding: reduce total input/outputs from the accepter
Browse files Browse the repository at this point in the history
Further limit the total inputs/outputs allowed from a peer
  • Loading branch information
niftynei committed Oct 28, 2019
1 parent 2a44be4 commit f150a15
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions 02-peer-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -641,10 +641,7 @@ The receiving node:
- it receives an input that is malleable (P2SH/P2PKH)
- if is the `opener`:
- MUST fail the channel if:
- the total count of `input_info`s is greater than 16
- is is the `accepter`:
- MUST fail the channel if:
- the total count of `input_info`s is greater than 64
- the total count of `input_info`s is greater than 6


##### Rationale
Expand Down Expand Up @@ -709,7 +706,7 @@ The receiving node:
- it receives this message after receiving `funding_add_complete`
- if is the `opener`:
- MUST fail the channel if:
- receives a total count of more than 8 outputs, across all `funding_add_output`s
- receives a total count of more than 3 outputs, across all `funding_add_output`s


##### Rationale
Expand Down

0 comments on commit f150a15

Please sign in to comment.