@@ -121,61 +121,6 @@ public synchronized void startup() {
121
121
_multihomeDbid .startup ();
122
122
}
123
123
124
- /**
125
- * list of the RouterInfo objects for all known peers;
126
- *
127
- * @since 0.9.60
128
- * @return non-null
129
- */
130
- public List <RouterInfo > getKnownRouterData () {
131
- List <RouterInfo > rv = new ArrayList <RouterInfo >();
132
- for (FloodfillNetworkDatabaseFacade subdb : getSubNetDBs ()) {
133
- if (_log .shouldLog (Log .DEBUG ))
134
- _log .debug ("getKnownRouterData Called from FNDS," +subdb ._dbid +", will be combined with all other subDbs" );
135
- rv .addAll (subdb .getKnownRouterData ());
136
- }
137
- return rv ;
138
- }
139
-
140
- /**
141
- * list of the Hashes of currently known floodfill peers;
142
- * Returned list will not include our own hash.
143
- * List is not sorted and not shuffled.
144
- *
145
- * @since 0.9.60
146
- * @return non-null
147
- */
148
- public List <Hash > getFloodfillPeers () {
149
- if (_log .shouldLog (Log .DEBUG ))
150
- _log .debug ("getFloodfillPeers collecting all floodfill peers across all subDbs" );
151
- List <Hash > peers = new ArrayList <Hash >();
152
- for (FloodfillNetworkDatabaseFacade subdb : getSubNetDBs ()) {
153
- peers .addAll (subdb .getFloodfillPeers ());
154
- }
155
- return peers ;
156
- }
157
-
158
- /**
159
- * Check if all of the known subDbs are initialized
160
- *
161
- * @since 0.9.60
162
- * @return true if the mainNetdb and all known client netDbs are initialized
163
- */
164
- public boolean isInitialized () {
165
- if (_mainDbid == null )
166
- return false ;
167
- boolean rv = _mainDbid .isInitialized ();
168
- if (!rv )
169
- return rv ;
170
- for (FloodfillNetworkDatabaseFacade subdb : getClientSubNetDBs ()) {
171
- rv = subdb .isInitialized ();
172
- if (!rv ) {
173
- break ;
174
- }
175
- }
176
- return rv ;
177
- }
178
-
179
124
/**
180
125
* list of the RouterInfo objects for all known peers known to clients(in subDbs) only
181
126
*
0 commit comments