mirror of
https://github.com/callebtc/electronwall.git
synced 2025-12-17 07:04:21 +01:00
21 lines
760 B
JavaScript
21 lines
760 B
JavaScript
// only channels > 0.75 Msat
|
|
ChannelAccept.Event.FundingAmt >= 750000 &&
|
|
// nodes with high 1ML availability score
|
|
ChannelAccept.OneMl.Noderank.Availability > 100 &&
|
|
// nodes with a low enough 1ML age rank
|
|
ChannelAccept.OneMl.Noderank.Age < 10000 &&
|
|
(
|
|
// only nodes with Amboss contact data
|
|
ChannelAccept.Amboss.Socials.Info.Email ||
|
|
ChannelAccept.Amboss.Socials.Info.Twitter ||
|
|
ChannelAccept.Amboss.Socials.Info.Telegram
|
|
) &&
|
|
(
|
|
// elitist: either nodes with amboss prime
|
|
ChannelAccept.Amboss.Amboss.IsPrime ||
|
|
// or nodes with high-ranking capacity
|
|
ChannelAccept.Amboss.GraphInfo.Metrics.CapacityRank < 1000 ||
|
|
// or nodes with high-ranking channel count
|
|
ChannelAccept.Amboss.GraphInfo.Metrics.ChannelsRank < 1000
|
|
)
|