• Tyler Smith's avatar
    feat,interop: add db syncing between nodes (#13357) · 590fc814
    Tyler Smith authored
    * feature: Allow adding arbitrary HTTP handlers to RPC HTTP Server.
    
    * feature: Add sync package to handle streaming db files between nodes.
    
    * tweak: Add DB sync server handler to op-supervisor server.
    
    * feature: Use db sync if it's configured and there's no existing db.
    
    * tweak: Use retry lib, which also adds max retries.
    
    * rename: SyncRPC -> SyncEndpoint.
    
    * tweak: Make the initial chain set part of the Server constructor.
    
    * cleanup: Remove unused functions.
    
    * rename: client -> syncClient to avoid package collision.
    
    * fix: Load DepSet and use for sync server.
    
    * tweak: Use client.BasicHTTPClient for sync client.
    
    * fix: Don't double concat the path.
    
    * tests,fix: Set sync resume to true.
    
    * tweak: Add error context.
    
    * tweak: Make http body close lint-friendly.
    
    * tweak: Change retry policy to backoff from 1s to 30s, up to 10 minutes.
    
    * tests,fix: Use require.ErrorIs to handle wrapped error.
    590fc814
Name
Last commit
Last update
..
cliapp Loading commit data...
client Loading commit data...
clock Loading commit data...
crypto Loading commit data...
ctxinterrupt Loading commit data...
dial Loading commit data...
endpoint Loading commit data...
enum Loading commit data...
errutil Loading commit data...
eth Loading commit data...
flags Loading commit data...
httputil Loading commit data...
ioutil Loading commit data...
jsonutil Loading commit data...
locks Loading commit data...
log Loading commit data...
metrics Loading commit data...
oppprof Loading commit data...
predeploys Loading commit data...
queue Loading commit data...
retry Loading commit data...
rpc Loading commit data...
safego Loading commit data...
serialize Loading commit data...
signer Loading commit data...
solabi Loading commit data...
sources Loading commit data...
tasks Loading commit data...
testlog Loading commit data...
testutils Loading commit data...
tls Loading commit data...
txmgr Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
justfile Loading commit data...
util.go Loading commit data...
util_test.go Loading commit data...
version.go Loading commit data...
version_test.go Loading commit data...