lint fix wip
This commit is contained in:
parent
f9fdf61d4d
commit
64e2f7f826
@ -3,5 +3,5 @@ export const PLATFORM_BITCOIN_ADDRESS = 'bc1qerauk5yhqytl6z93ckvwkylup8s0256uenz
|
||||
export const PLATFORM_SERVICE = 'zapwall.fr'
|
||||
|
||||
// Minimum date for Nostr events: January 5, 2026 00:00:00 UTC
|
||||
// Timestamp Unix: 1736028800
|
||||
export const MIN_EVENT_DATE = 1736028800
|
||||
// Timestamp Unix: 1767571200
|
||||
export const MIN_EVENT_DATE = 1767571200
|
||||
|
||||
@ -67,6 +67,7 @@ class PlatformSyncService {
|
||||
/**
|
||||
* Perform a sync operation
|
||||
* Scans all notes with service='zapwall.fr' tag from ALL active relays
|
||||
* Starts from January 5, 2026 00:00:00 UTC
|
||||
*/
|
||||
private async performSync(pool: SimplePoolWithSub): Promise<void> {
|
||||
const filters = [
|
||||
@ -74,7 +75,7 @@ class PlatformSyncService {
|
||||
...buildTagFilter({
|
||||
service: PLATFORM_SERVICE,
|
||||
}),
|
||||
since: MIN_EVENT_DATE,
|
||||
since: MIN_EVENT_DATE, // January 5, 2026 00:00:00 UTC
|
||||
limit: 1000, // Get up to 1000 events per sync
|
||||
},
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user