ansuz
3f606d8c75
remove some duplicated code
5 years ago
ansuz
725d10fc60
nest storage directory inside './lib'
5 years ago
ansuz
38c1700173
Respond to pinning RPCs as soon as possible
...
(instead of waiting until you've read an unbounded number
of pin logs while queries back up in memory)
Also replace instances of 'publicKey' with 'safeKey' or 'unsafeKey'
to clearly and correctly indicate their format.
5 years ago
ansuz
cded52f83f
replicate existing pinned.load API correctly
5 years ago
ansuz
65f88617cf
add support for an optional handler for each pin log
...
great for analyzing which files are most in need of optimization
5 years ago
ansuz
3dc789cbca
replace pinned.js with low-profile streaming implementation
5 years ago
ansuz
609eddc9e1
reimplement the the Pinned.load API
...
* recurse into directories on demand
* optimized for lower memory consumption
* less parallelism than before
5 years ago
ansuz
2345323f0d
lint compliance
5 years ago
ansuz
2d6626234b
yet another async scheduler, this time supporting flexible runtime control flow based on declarative priority levels
5 years ago
yflory
0f697ac865
Merge branch 'staging' into communities-trim
5 years ago
ansuz
1231cacef1
remove XXX
5 years ago
ansuz
57be324850
remove some XXX notes
5 years ago
ansuz
68a77885d4
suppress some routine server logs
5 years ago
ansuz
7f22da0f57
fix use of incorrect key format in admin-rpc
5 years ago
ansuz
7000be0e70
clean up historykeeper
5 years ago
ansuz
802034616c
centralize historykeeper-rpc interaction in rpc methods
5 years ago
yflory
fd095644a2
Merge branch 'staging' into communities-trim
5 years ago
yflory
64c0f3a90d
Add missing RPC command
5 years ago
yflory
9a857ea058
Merge branch 'staging' into communities-trim
5 years ago
ansuz
b4172676f3
lint compliance
5 years ago
ansuz
f17d14fd99
simpler limit updates
5 years ago
ansuz
bde17a62a1
continue refactoring rpc
5 years ago
ansuz
fa525817ba
fix broken removePins RPC
5 years ago
ansuz
a00a9fd018
don't hang when reading unparseable lines from history
5 years ago
yflory
1d56c08700
Merge branch 'staging' into communities-trim
5 years ago
ansuz
3741cbcbc0
rewrite trimmed history WITH newlines
5 years ago
yflory
4079f1bfdb
Fix RPC command
5 years ago
yflory
6655f493e0
Merge branch 'staging' into communities-trim
5 years ago
ansuz
5808c534b5
fix function signature for trimHistory RPC
5 years ago
yflory
c9676e1c91
Merge branch 'staging' into communities-trim
5 years ago
ansuz
9c28941f6c
lint compliance
5 years ago
yflory
5cb266838a
Fix syntax error
5 years ago
ansuz
0d69620687
tweak the metadata line handler to handle an edge case in trim history
5 years ago
ansuz
f8f3a48e8b
use latest chainpad-server
5 years ago
ansuz
46dfa026f0
fix an API change that caused a typeError
5 years ago
ansuz
88be40ede3
standardize some function signatures and factor out a lot of boilerplate
5 years ago
ansuz
65ba85d97b
clear historyKeeper cache when we trim a channel
5 years ago
ansuz
43307ffb1a
define all server intervals in a map so we can easily clear them all
5 years ago
ansuz
6523974ca2
fix a WRITE_PRIVATE_MESSAGE rpc regression
5 years ago
ansuz
779e817443
stop relying on netflux-server internals
...
* create RPC module from inside historyKeeper
* stop passing around netflux-server context
* update to use newer netflux-server's formal APIs
* manage your own cache of indexes instead of storing things in the netflux context
5 years ago
ansuz
06c29ef1d1
latest api changes to match the netflux-server refactor
5 years ago
ansuz
b922860339
drop usage of historyKeeper.setConfig
5 years ago
ansuz
80c012f34d
prepare to merge history keeper and rpc
5 years ago
ansuz
b093d3f0d2
WIP massive rpc refactor
5 years ago
ansuz
ceb351326c
split out some more rpc functionality and fix broken module paths
5 years ago
ansuz
c1f222dd6c
move metadata commands from rpc to their own module
5 years ago
ansuz
bb7e8e4512
move login block functionality into its own rpc module
5 years ago
ansuz
c765362744
move more rpc functionality into modules
5 years ago
ansuz
c93b39c094
separate more rpc functionality into pinning and core submodules
5 years ago
ansuz
ba6e3f33bd
move admin commands into their own module
5 years ago