Commit graph

45 commits

Author SHA1 Message Date
Elias Rohrer
8975979fcd
rustfmt: Run on lightning-block-sync/src/gossip.rs 2024-07-15 13:55:38 +02:00
Elias Rohrer
20669aeb71
rustfmt: Run on lightning-block-sync/src/convert.rs 2024-07-15 13:55:37 +02:00
Elias Rohrer
8be13f684f
rustfmt: Drop benches/src/bench.rs from excluded files 2024-06-20 10:59:21 +02:00
Elias Rohrer
945fb5b3c9
rustfmt: Run on lightning-rapid-gossip-sync/src/lib.rs 2024-06-20 10:55:49 +02:00
Elias Rohrer
6e81e1240b
rustfmt: Run on lightning-rapid-gossip-sync/src/processing.rs 2024-06-20 10:55:08 +02:00
Elias Rohrer
4e9ce52c72
rustfmt: fuzz/src/full_stack.rs 2024-06-12 21:53:32 +02:00
Elias Rohrer
0583f643b9
rustfmt: fuzz/src/chanmon_consistency.rs 2024-06-12 21:53:30 +02:00
Elias Rohrer
1d0c6c60c6
Merge pull request #3101 from tnull/2024-06-fix-tx-sync
tx-sync: Make confirmables `Deref` and run `rustfmt`
2024-06-10 10:04:49 +02:00
Elias Rohrer
99409fb0cd
Still ignore fuzz/src/lib.rs for now 2024-06-07 20:42:37 +02:00
Elias Rohrer
c3ae420b51
rustfmt: src/zbase32.rs 2024-06-07 20:42:36 +02:00
Elias Rohrer
5d0fb36477
rustfmt: src/utils/* 2024-06-07 20:42:36 +02:00
Elias Rohrer
0e7fe0c9aa
rustfmt: fuzz/src/router.rs 2024-06-07 20:42:36 +02:00
Elias Rohrer
64843ae633
rustfmt: fuzz/src/refund_deser.rs 2024-06-07 20:42:36 +02:00
Elias Rohrer
73ebb1bd1b
rustfmt: fuzz/src/process_network_graph.rs 2024-06-07 20:42:36 +02:00
Elias Rohrer
8e1a98183d
rustfmt: fuzz/src/peer_crypt.rs 2024-06-07 20:42:36 +02:00
Elias Rohrer
da99d521b9
rustfmt: fuzz/src/offer_deser.rs 2024-06-07 20:42:27 +02:00
Elias Rohrer
4741731dd3
rustfmt: fuzz/src/offer_deser.rs 2024-06-07 20:41:50 +02:00
Elias Rohrer
b9c52f6941
rustfmt: fuzz/src/msg_targets/* 2024-06-07 20:37:10 +02:00
Elias Rohrer
9db52b69bb
rustfmt: fuzz/src/lib.rs 2024-06-07 20:37:10 +02:00
Elias Rohrer
f1ac0a3d97
rustfmt: fuzz/src/invoice*.rs 2024-06-07 20:37:10 +02:00
Elias Rohrer
9164e835e5
rustfmt: fuzz/src/indexedmap.rs 2024-06-07 20:37:10 +02:00
Elias Rohrer
997e46bde2
rustfmt: fuzz/src/fromstr_to_netaddress.rs 2024-06-07 20:37:09 +02:00
Elias Rohrer
39cc28bfaa
rustfmt: fuzz/src/chanmon_deser.rs 2024-06-07 20:37:09 +02:00
Elias Rohrer
2bcdad779a
rustfmt: fuzz/src/bin/* 2024-06-07 20:37:09 +02:00
Elias Rohrer
6cd3cb2e70
rustfmt: fuzz/src/bech32_parse.rs 2024-06-07 20:37:09 +02:00
Elias Rohrer
c2abfbf5f5
rustfmt: fuzz/src/base32.rs 2024-06-07 20:37:09 +02:00
Elias Rohrer
21fee20a6d
rustfmt: lightning-transaction-sync/tests/integration_tests.rs 2024-06-07 16:54:30 +02:00
Elias Rohrer
85a82045fe
rustfmt: Reformat lightning-transaction-sync/src/lib.rs 2024-06-07 11:35:15 +02:00
Elias Rohrer
915fe195ca
rustfmt: Reformat lightning-transaction-sync/src/error.rs 2024-06-07 11:35:15 +02:00
Elias Rohrer
c5cd801f87
rustfmt: Reformat lightning-transaction-sync/src/esplora.rs 2024-06-07 11:35:15 +02:00
Elias Rohrer
470085aa2f
rustfmt: Reformat lightning-transaction-sync/src/electrum.rs 2024-06-07 11:35:15 +02:00
Elias Rohrer
3ead26323e
rustfmt: Reformat lightning-transaction-sync/src/common.rs 2024-06-07 11:35:15 +02:00
Valentine Wallace
c07245f129
Test routing payment parameters' max path length setting and usage. 2024-05-20 18:57:18 -04:00
Matt Corallo
806b7f0e31
Merge pull request #3054 from TheBlueMatt/2024-04-fuzz-bolt11
Add fuzzing coverage for BOLT11 invoice deserialization
2024-05-08 13:24:31 -07:00
Matt Corallo
d14ea82b5d Move existing BOLT11 fuzz test to the fuzz crate 2024-05-08 19:36:15 +00:00
Matt Corallo
e818c4b13f Move [u8; 32] wrapper types to a common module
The `PaymentHash`, `PaymentSecret`, `PaymentPreimage`, and
`ChannelId` types are all small wrappers around `[u8; 32]` and are
used throughout the codebase but were defined in the top-level
`ln/mod.rs` file and the relatively sparsely-populated
`ln/channel_id.rs` file.

Here we move them to a common `types` module and go ahead and
update all our in-crate `use` statements to refer to the new
module for bindings. We do, however, leave a `pub use` alias for
the old paths to avoid upgrade hassle for users.
2024-05-01 19:01:40 +00:00
Matt Corallo
eeea0f473e Include channel_keys.rs in the rustfmt list
Since its already formatted and there's not much active work going
on in it.
2024-04-22 13:00:38 +00:00
Elias Rohrer
3a199c6987
Remove no-std-check/src/lib.rs from rustfmt exclusion list
.. now continously checking its formatting in CI.
2024-04-09 13:09:51 +02:00
Elias Rohrer
822635716c
Remove msrv-no-dev-deps-check/src/lib.rs from rustfmt exclusion list
.. now continously checking its formatting in CI.
2024-04-09 13:09:51 +02:00
Elias Rohrer
8e6a27c9b3
Remove sign/type_resolver.rs from rustfmt exclusion list
.. now continously checking its formatting in CI.
2024-04-09 13:09:51 +02:00
Elias Rohrer
b3f8470996
Remove sign/taproot.rs from rustfmt exclusion list
.. now continously checking its formatting in CI.
2024-04-09 13:09:51 +02:00
Elias Rohrer
0c220c1e0c
Remove sign/mod.rs from rustfmt exclusion list
.. now continously checking its formatting in CI.
2024-04-09 13:09:50 +02:00
Elias Rohrer
113b0f1a0e
Remove sign/ecdsa.rs from rustfmt exclusion list
.. now continously checking its formatting in CI.
2024-04-09 13:08:24 +02:00
Elias Rohrer
5d50e9e8a0
Remove onion_utils.rs from exclusion list
.. now continously checking its formatting in CI.
2024-02-16 12:34:19 +01:00
Elias Rohrer
d5344dc178
Add rustfmt to CI, ignore all files
We add the previously discussed `rustfmt.toml` and enforce it in CI for
any files that are not contained in an exclusion list.

To start, we add all current Rust files to this exclusion list. This
means that formatter rules will be enforced for any newly introduced
files, and we'll then start going through the codebase file-by-file,
removing them from the list as we go.
2024-02-14 09:08:33 +01:00