Return the expected node features hexstring for this configuration
(extra=[])
| 54 | # With the addition of the keysend plugin, we now send a different set of |
| 55 | # features for the 'node' and the 'peer' feature sets |
| 56 | def expected_node_features(extra=[]): |
| 57 | """Return the expected node features hexstring for this configuration""" |
| 58 | features = [0, 5, 7, 8, 11, 12, 14, 17, 19, 25, 27, 35, 39, 43, 44, 47, 51, 55, 63] |
| 59 | if EXPERIMENTAL_DUAL_FUND: |
| 60 | # option_dual_fund |
| 61 | features += [29] |
| 62 | if TEST_NETWORK != 'liquid-regtest': |
| 63 | # Anchors, except for elements |
| 64 | features += [23] |
| 65 | return hex_bits(features + extra) |
| 66 | |
| 67 | |
| 68 | def expected_channel_features(extra=[]): |