diff --git a/p2p/address-book/src/book.rs b/p2p/address-book/src/book.rs index 10be8e3d..3e5269f5 100644 --- a/p2p/address-book/src/book.rs +++ b/p2p/address-book/src/book.rs @@ -424,8 +424,7 @@ impl Service> for AddressBook { | AddressBookRequest::ConnectionCount | AddressBookRequest::SetBan(_) | AddressBookRequest::GetBans - | AddressBookRequest::ConnectionInfo - | AddressBookRequest::NextNeededPruningSeed => { + | AddressBookRequest::ConnectionInfo => { todo!("finish https://github.com/Cuprate/cuprate/pull/297") } }; diff --git a/p2p/p2p-core/src/client/handshaker/builder/dummy.rs b/p2p/p2p-core/src/client/handshaker/builder/dummy.rs index e4e80477..48b3daf5 100644 --- a/p2p/p2p-core/src/client/handshaker/builder/dummy.rs +++ b/p2p/p2p-core/src/client/handshaker/builder/dummy.rs @@ -112,8 +112,7 @@ impl Service> for DummyAddressBook { | AddressBookRequest::ConnectionCount | AddressBookRequest::SetBan(_) | AddressBookRequest::GetBans - | AddressBookRequest::ConnectionInfo - | AddressBookRequest::NextNeededPruningSeed => { + | AddressBookRequest::ConnectionInfo => { todo!("finish https://github.com/Cuprate/cuprate/pull/297") } })) diff --git a/p2p/p2p-core/src/services.rs b/p2p/p2p-core/src/services.rs index 63853e7c..6d1089ce 100644 --- a/p2p/p2p-core/src/services.rs +++ b/p2p/p2p-core/src/services.rs @@ -132,9 +132,6 @@ pub enum AddressBookRequest { /// Get the state of all bans. GetBans, - - /// Get the next [`PruningSeed`] needed for a pruned sync. - NextNeededPruningSeed, } /// A response from the address book service. @@ -172,7 +169,4 @@ pub enum AddressBookResponse { /// Response to [`AddressBookRequest::GetBans`]. GetBans(Vec>), - - /// Response to [`AddressBookRequest::NextNeededPruningSeed`]. - NextNeededPruningSeed(PruningSeed), }