]> git.bitcoin.ninja Git - rust-lightning/commit
Move RGS `GraphSyncError` into the top-level module
authorMatt Corallo <git@bluematt.me>
Thu, 18 Jan 2024 20:53:20 +0000 (20:53 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 30 Jan 2024 23:56:12 +0000 (23:56 +0000)
commit8805d0656b6c4a119d9ea49b31924bc44dd66543
tree01cac8578abb0f3bbf2bd83463ecc50da32a2559
parent5d5c8187b40994079036c2a809639e8fd731c867
Move RGS `GraphSyncError` into the top-level module

The top-level module is only a few hundred lines, so there's not a
lot of reason to hide the `GraphSyncError` in its own module.
Instead, we simply move it to the top-level `lib.rs`, which doesn't
change the public API as it was previously re-exported at the top
level.
lightning-rapid-gossip-sync/src/error.rs [deleted file]
lightning-rapid-gossip-sync/src/lib.rs
lightning-rapid-gossip-sync/src/processing.rs