import net.pterodactylus.sone.data.Profile;
import net.pterodactylus.sone.data.Reply;
import net.pterodactylus.sone.data.Sone;
+import net.pterodactylus.sone.freenet.wot.WebOfTrustConnector;
import net.pterodactylus.util.config.Configuration;
import net.pterodactylus.util.config.ConfigurationException;
import net.pterodactylus.util.filter.Filter;
static {
/* Sone of Sone. */
- defaultSones.add("USK@eRHt0ceFsHjRZ11j6dd68RSdIvfd8f9YjJLZ9lnhEyo,iJWjIWh6TkMZm1NY8qBranKTIuwsCPkVPG6T6c6ft-I,AQACAAE/Sone/3");
+ defaultSones.add("USK@eRHt0ceFsHjRZ11j6dd68RSdIvfd8f9YjJLZ9lnhEyo,iJWjIWh6TkMZm1NY8qBranKTIuwsCPkVPG6T6c6ft-I,AQACAAE/Sone/4");
/* Sone of Bombe. */
- defaultSones.add("USK@RuW~uAO35Ipne896-1OmaVJNPuYE4ZIB5oZ5ziaU57A,7rV3uiyztXBDt03DCoRiNwiGjgFCJuznM9Okc1opURU,AQACAAE/Sone/24");
+ defaultSones.add("USK@RuW~uAO35Ipne896-1OmaVJNPuYE4ZIB5oZ5ziaU57A,7rV3uiyztXBDt03DCoRiNwiGjgFCJuznM9Okc1opURU,AQACAAE/Sone/29");
}
/**
/** Interface to freenet. */
private FreenetInterface freenetInterface;
+ /** The WoT connector. */
+ private WebOfTrustConnector webOfTrustConnector;
+
/** The Sone downloader. */
private SoneDownloader soneDownloader;
}
/**
+ * Returns the Web of Trust connector.
+ *
+ * @return The Web of Trust connector
+ */
+ public WebOfTrustConnector getWebOfTrustConnector() {
+ return webOfTrustConnector;
+ }
+
+ /**
+ * Sets the Web of Trust connector.
+ *
+ * @param webOfTrustConnector
+ * The Web of Trust connector
+ * @return This core (for method chaining)
+ */
+ public Core setWebOfTrustConnector(WebOfTrustConnector webOfTrustConnector) {
+ this.webOfTrustConnector = webOfTrustConnector;
+ return this;
+ }
+
+ /**
* Returns the local Sones.
*
* @return The local Sones