Skip to content

Commit d5be7b9

Browse files
committed
feat(sync-v2): Always relay vertices in real-time if the peer requested it
1 parent f111466 commit d5be7b9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

hathor/p2p/sync_v2/agent.py

-3
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ def send_tx_to_peer_if_possible(self, tx: BaseTransaction) -> None:
193193
if not self._is_enabled:
194194
self.log.debug('sync is disabled')
195195
return
196-
if not self.is_synced():
197-
# XXX Should we accept any tx while I am not synced?
198-
return
199196

200197
# XXX When we start having many txs/s this become a performance issue
201198
# Then we could change this to be a streaming of real time data with

0 commit comments

Comments
 (0)