Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: server reliability improvements #136
Also: fixes vulnerabilities, and updates the logging so the same connection ID is used between the client & server, by using the token in the destination ILP address.
- consumers may need to perform external accounting logic before a packet is fulfilled, or decide if any packet should be fulfilled or not - add `shouldFulfill` callback to a connection that enables async operations - if the callback resolves, the packet is fulfilled; if the callback rejects, the packet is rejected - designed to guarantee the packet will be returned immediately after the callback resolves
@@ Coverage Diff @@ ## master #136 +/- ## ========================================== - Coverage 91.26% 88.46% -2.81% ========================================== Files 14 14 Lines 1500 1725 +225 Branches 108 269 +161 ========================================== + Hits 1369 1526 +157 - Misses 112 117 +5 - Partials 19 82 +63