MCPcopy Create free account
hub / github.com/ElementsProject/lightning / active

Function active

tests/test_gossip.py:555–557  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

553 bitcoind.generate_block(1)
554
555 def active(node):
556 chans = node.rpc.listchannels()['channels']
557 return sorted([c['short_channel_id'] for c in chans if c['active']])
558
559 def non_public(node):
560 # Not just c["private"] == True, but immature ones too.

Callers 1

test_gossip_persistenceFunction · 0.85

Calls 1

listchannelsMethod · 0.45

Tested by

no test coverage detected