Return the expected peer features hexstring for this configuration
(extra=[])
| 40 | |
| 41 | |
| 42 | def expected_peer_features(extra=[]): |
| 43 | """Return the expected peer features hexstring for this configuration""" |
| 44 | features = [0, 5, 7, 8, 11, 12, 14, 17, 19, 25, 27, 35, 39, 43, 44, 47, 51, 63] |
| 45 | if EXPERIMENTAL_DUAL_FUND: |
| 46 | # option_dual_fund |
| 47 | features += [29] |
| 48 | if TEST_NETWORK != 'liquid-regtest': |
| 49 | # Anchors, except for elements |
| 50 | features += [23] |
| 51 | return hex_bits(features + extra) |
| 52 | |
| 53 | |
| 54 | # With the addition of the keysend plugin, we now send a different set of |