mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
listpeerchannels: add channel_type, both in hex and as array of names.
Changelog-Added: JSON-RPC: `listpeerchannels` now has `channel_type` field. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -3700,6 +3700,20 @@ def test_sql(node_factory, bitcoind):
|
||||
'type': 'string'},
|
||||
{'name': 'message',
|
||||
'type': 'string'}]},
|
||||
'peerchannels_channel_type_bits': {
|
||||
'columns': [{'name': 'row',
|
||||
'type': 'u64'},
|
||||
{'name': 'arrindex',
|
||||
'type': 'u64'},
|
||||
{'name': 'bits',
|
||||
'type': 'u64'}]},
|
||||
'peerchannels_channel_type_names': {
|
||||
'columns': [{'name': 'row',
|
||||
'type': 'u64'},
|
||||
{'name': 'arrindex',
|
||||
'type': 'u64'},
|
||||
{'name': 'names',
|
||||
'type': 'string'}]},
|
||||
'transactions': {
|
||||
'indices': [['hash']],
|
||||
'columns': [{'name': 'hash',
|
||||
|
||||
Reference in New Issue
Block a user