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

starius / btcd / 23504378153

24 Mar 2026 05:53PM UTC coverage: 56.28% (+1.0%) from 55.243%
23504378153

push

github

starius
rpcclient: avoid duplicate batch POST handlers

NewBatch called New() and then called start() again. In HTTP POST mode that
created a second sendPostHandler and another shutdown-cancel goroutine, which
broke the expected single-flight serialization of POST sends.

Keep NewBatch as a semantic toggle only: rely on New() to start handlers
once, then set batch=true. A regression test now checks that batch POST
requests stay serialized through one active transport call.

2 of 2 new or added lines in 1 file covered. (100.0%)

636 existing lines in 10 files now uncovered.

31965 of 56796 relevant lines covered (56.28%)

444147.37 hits per line

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

35.44
/netsync/manager.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