class EncryptedTransaction implements Serializable {

    @Override
    public boolean equals(final Object obj) {

        return (obj instanceof EncryptedTransaction) && Objects.equals(this.hash, ((EncryptedTransaction) obj).hash);
    }

    public  EncryptedTransaction(final MessageHash hash, final byte[] encodedPayload);
    public  EncryptedTransaction();

}