(feerate)
| 417 | |
| 418 | |
| 419 | def basic_fee(feerate): |
| 420 | if EXPERIMENTAL_FEATURES or EXPERIMENTAL_DUAL_FUND: |
| 421 | # option_anchor_outputs |
| 422 | weight = 1124 |
| 423 | else: |
| 424 | weight = 724 |
| 425 | return (weight * feerate) // 1000 |
| 426 | |
| 427 | |
| 428 | def closing_fee(feerate, num_outputs): |
no outgoing calls