Commit Graph

63 Commits (549a1288154744e77523f584ef256bee663bb585)

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