• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ellemouton / lnd / 13152410111

05 Feb 2025 07:27AM UTC coverage: 49.278% (-9.5%) from 58.812%
13152410111

Pull #178

github

ellemouton
graph: refactor Builder network message handling

The point of the `graph.Builder`'s `networkHandler` goroutine is to
ensures that certain requests are handled in a synchronous fashion.
However, any requests received on the `networkUpdates` channel, are
currently immediately handled in a goroutine which calls
`handleNetworkUpdate` which calls `processUpdate` before doing topology
notifications. In other words, there is no reason for these
`networkUpdates` to be handled in the `networkHandler` since they are
always handled asynchronously anyways. This design is most likely due to
the fact that originally the gossiper and graph builder code lived in
the same system and so the pattern was copied across.
Pull Request #178: Graph1

173 of 268 new or added lines in 4 files covered. (64.55%)

27363 existing lines in 433 files now uncovered.

100608 of 204163 relevant lines covered (49.28%)

1.54 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

76.51
/input/script_utils.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc