55 Commits (566182f74c7f465db029c80fef1effab4977cc37)

Author SHA1 Message Date
ansuz 8990e8def9 provide more context for EUNKNOWN logs 4 years ago
yflory 34284fcc0c Fix issues with deprecated cache 4 years ago
yflory 5946b10d0b No page reload when the cache is corrupted onReady 4 years ago
yflory d16cc2472d First prototype of an offline cache 4 years ago
yflory b31707098a Improve getHistoryRange to support 'toHash' 4 years ago
ansuz 48deced859 fix serverside index corruption 5 years ago
ansuz 4037270a23 add a FIXME note for a sketchy implementation in history keeper 5 years ago
ansuz 02347d134a queue signature validation per-channel to ensure correct ordering 5 years ago
ansuz 8bee95d13d improve error reporting in GET_HISTORY 5 years ago
ansuz b56c73be6e delegate more work from getOlderHistory to the worker 5 years ago
ansuz 4e57e390da write tasks inside of workers 5 years ago
ansuz 0465f31a45 add a FIXME note 5 years ago
ansuz e0a6852b79 correctly serialize an error log 5 years ago
yflory 32406a5995 Merge branch 'master' into staging 5 years ago
ansuz 834c96a4fc update comments and remove some notes 5 years ago
ansuz ed5d97f899 WIP history-keeper fixes 5 years ago
ansuz eddbe80eef Merge branch 'soon' into staging 5 years ago
ansuz 77961e3954 trim lookup tables for channels without checkpoints 5 years ago
ansuz db9eaa8d4f Merge branch 'soon' into staging 5 years ago
ansuz b5649707d1 export 'tryParse' command 5 years ago
ansuz 64b0879984 improve logging for parse errors 5 years ago
ansuz 9dbd32758a improve worker logging and move blob deletion to worker processes as well 5 years ago
ansuz 5f2d7c8dcf increase worker rpc wait time before timeout 5 years ago
ansuz 33e8e65507 handle errors in the server's workers 5 years ago
ansuz a4c8039cc7 improve error handling with rpc response API 5 years ago
yflory e15196bd53 Merge branch 'reconnect' into staging 5 years ago
ansuz 14feef1757 calculate pin list checksums in a worker 5 years ago
ansuz 70a0d4efb4 move more database reads into the database worker 5 years ago
ansuz 4ba36a9173 load user pins in the database worker 5 years ago
ansuz 50e8893b24 move the 'getOlderHistory' call into the database worker 5 years ago
ansuz 471e374533 compute metadata in the same child process that builds indexes 5 years ago
ansuz 967ca6afa9 suppress ENOENT errors when checking empty chat channels 5 years ago
ansuz 40251948d4 check authenticated rpc signatures in separate threads 5 years ago
ansuz 2ef0af29e5 guard against index worker rpc responses for a txid with no supplied callback 5 years ago
ansuz 4522ffa18a compute indexes in child processes 5 years ago
ansuz f8ad649b45 [style] bail out early to avoid nesting 5 years ago
ansuz 019e5e708b wrap workers in a function scope and add a validateMessage method to HK's Env 5 years ago
ansuz 5467e1ffac replace ad-hoc response handler with Util.response 5 years ago
ansuz 9e85a1411e abstract the logic around worker choice out of message handling 5 years ago
yflory 923616aef0 Use each process in order instead of using a random one 5 years ago
yflory fb0eb1b20c Use more subprocesses 5 years ago
yflory 0d636dabc9 Check signature for history keeper in a different process 5 years ago
yflory 578042154e Better reconnect after invalid lastKnownHash 5 years ago
ansuz bc034d95a3 enforce asynchrony in 'gethistoryOffset' 5 years ago
ansuz 4e8ebac3c1 guard against the possible non-existence of metadata for a channel 5 years ago
ansuz 9d8bb43d03 finally untangle metadata and index caches 5 years ago
ansuz 170aa6d47e clean up a few tasks related to allow lists 5 years ago
ansuz 542150b775 merge server components from staging 5 years ago
ansuz 386add7c58 fix an invalid use of dropChannel 5 years ago
ansuz 3f606d8c75 remove some duplicated code 5 years ago