mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Refactoring: Remove base interface PersistablePayload from ExpirablePayload
This commit is contained in:
parent
679f3bbf37
commit
6056912a00
1 changed files with 1 additions and 3 deletions
|
@ -2,7 +2,6 @@ package io.bisq.network.p2p.storage.payload;
|
|||
|
||||
|
||||
import io.bisq.common.proto.network.NetworkPayload;
|
||||
import io.bisq.common.proto.persistable.PersistablePayload;
|
||||
|
||||
/**
|
||||
* Messages which support a time to live
|
||||
|
@ -12,8 +11,7 @@ import io.bisq.common.proto.persistable.PersistablePayload;
|
|||
* @see ProtectedStoragePayload
|
||||
* @see MailboxStoragePayload
|
||||
*/
|
||||
// TODO PersistablePayload should not be here.
|
||||
public interface ExpirablePayload extends NetworkPayload, PersistablePayload {
|
||||
public interface ExpirablePayload extends NetworkPayload {
|
||||
/**
|
||||
* @return Time to live in milli seconds
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue