lightning
Here are 539 public repositories matching this topic...
-
Updated
Apr 29, 2022 - Python
Our xgboost models use the binary:logistic' objective function, however the m2cgen converted version of the models return raw scores instead of the transformed scores.
This is fine as long as the user knows this is happening! I didn't, so it took a while to figure out what was going on. I'm wondering if perhaps a useful warning could be raised for users to alert them of this issue? A warning
-
Updated
Apr 29, 2022 - HTML
-
Updated
Apr 29, 2022 - Markdown
When we return a bitcoin amount, our JSON responses currently specify the unit (btc, sat, msat) in the parameter name, but it's a bit ugly and is missing in some places.
Maybe it would be better to include the unit explicitly in the response. I see two different options:
- Instead of returning a numeric value, return a string including the unit (e.g. "2500 msat", "0.45 btc", "1.5 mbtc"). The
-
Updated
Apr 29, 2022 - Markdown
-
Updated
Jul 30, 2020 - JavaScript
-
Updated
Apr 28, 2022 - TypeScript
-
Updated
Apr 29, 2022 - JavaScript
-
Updated
Oct 6, 2021 - JavaScript
I am unable to resize text in the xterm.js instance
I would like to be able to press ctrl+ to increase text size and ctrl- to decrease text size.
I used following commad to export the ONNX models, and I use the 5.0 tag of ultralytics/yolov5 to train the model.pt. It raises an AttributeError: conv object has no attribute weight. How can I do for this error?
python tools/export_model.py --checkpoint_path model.pt --size_divisible 32_Originally posted by @Deronjey in zhiqwang/yolov5-rt-stack#159 (comment)
payment_request is returned so you can parse that to display the memo
-
Updated
Apr 28, 2022 - JavaScript
-
Updated
Oct 12, 2021 - JavaScript
Description of the Feature or Idea
Ratelimit the speed at which sites can create getInfo()/sendInvoice()/makeInvoice() requests if they require opening a window (for example, getInfo(), if pre-approved, should not be ratelimited). In testing, a buggy/malicious site can easily open tens or hundreds of windows.
Existing Example(s) of Feature
Here is an example piece of code to tri
-
Updated
Jan 2, 2018 - Swift
-
Updated
Apr 5, 2022 - Shell
Some candidates for removal that could easily be re-implemented inside Spark:
-
superagent(only used for a simple HTTP GET request, can be replaced with the built-in http module) -
helmet(sets security headers) -
js-yaml(only used to format objects in a human-readable manner, we don't really need yaml) -
nanoid(secure random string generator) -
is-ip(few-liner depende
-
Updated
Mar 1, 2022 - C
-
Updated
Apr 27, 2022 - JavaScript
-
Updated
Apr 19, 2022
I would appreciate support for my local currency, ILS (Israel Shekels).
-
Updated
Mar 14, 2022 - Shell
-
Updated
Mar 31, 2022
Improve this page
Add a description, image, and links to the lightning topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the lightning topic, visit your repo's landing page and select "manage topics."


Background
Inspired by C-Otto/rebalance-lnd#241.
As part of pathfinding, lnd might encounter edges that have a policy specifying a zero CLTV delta (possibly because of no/outdated gossip?). Every time an edge like this is used in the pathfinding code, a warning is logged: https://github.com/lightningnetwork/lnd/blob/290b78e700021e238f7e6bdce6acc80de8d0a64f/routi