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
 * <p/>
 * Implementations:
 *
 * @see ProtectedStoragePayload
 * @see MailboxStoragePayload
 */
// TODO PersistablePayload should not be here. 
public interface ExpirablePayload extends NetworkPayload, PersistablePayload {
    /**
     * @return Time to live in milli seconds
     */
    long getTTL();
}

@@ -95,68 +95,8 @@
 oad;
-%0Aimport io.bisq.common.proto.persistable.PersistablePayload;
 %0A%0A/*
@@ -239,56 +239,8 @@
  */%0A
-// TODO PersistablePayload should not be here. %0A
 publ
@@ -295,28 +295,8 @@
 load
-, PersistablePayload
  %7B%0A 

Remove base interface PersistablePayload from ExpirablePayload