-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gossmap api improvements #5596
Gossmap api improvements #5596
Conversation
777fa1d
to
b86ed67
Compare
ACK b86ed67 |
Removes some warnings. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This allows GDB to print values, but also allows us to use them in 'case' statements. This wasn't allowed before because they're not constant terms. This also made it clear there's a clash between two error codes, so move one. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Changed: JSON-RPC: Error code from bcli plugin changed from 400 to 500.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Useful if you want to store per-chan or per-node side-data in an array. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
…rrect order. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
They are surprisingly expensive! Running `time ./plugins/renepay/test/run-not_mcf-gossmap gossip_store-sgl.rustcorp.com.au-2022-04-19 024b9a1fa8e006f1e3937f65f66c408e6da8e1ca728ea43222a7381df1cc449605 02ebb3b8a2316b3e876ea3f3d8124a3ab97f30b128f619608eb06b5251235dc2d9 10000000000 0.1`: Before (-Og): real 0m1.495s Before (no opt): real 0m2.552s After (-Og): real 0m0.579s After (no opt): real 0m1.061s Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Trivial rebase only. I don't understand why rust under CI is giving an internal compiler error; works fine here :( Ack 5a07785 |
b86ed67
to
5a07785
Compare
Nightly compilers are a bit unstable, we switched over to the stable branch now :-) |
Well, seems like
|
Well, yeah! You need it, it's not included, and it require mako? Are you thinking of mrkd? Anyway, it's lnprototest python requirements in a knot:
It's breaking everything RN. |
These were taken from my renepay branch, but are just surrounding work.