rapid-gossip-sync-server
20 months agoDrop spurious comments 2022-08-fix-deadlock
Matt Corallo [Mon, 22 Aug 2022 04:19:52 +0000 (04:19 +0000)]
Drop spurious comments

20 months agoDon't hold the counter lock while verifying gossip/waiting on DB
Matt Corallo [Mon, 22 Aug 2022 04:14:24 +0000 (04:14 +0000)]
Don't hold the counter lock while verifying gossip/waiting on DB

This resolves a deadlock if we block on the DB where we have one
thread blocked waiting on DB in a blocking thread, and the tokio
reactor blocked waiting on the counter lock which the blocking
thread holds.

20 months agoRemove unused fields and function in lib.rs
Matt Corallo [Mon, 22 Aug 2022 03:46:49 +0000 (03:46 +0000)]
Remove unused fields and function in lib.rs

20 months agoRemove indirection in initial sync completion
Matt Corallo [Mon, 22 Aug 2022 03:37:49 +0000 (03:37 +0000)]
Remove indirection in initial sync completion

Rather than sending a GossipMessage::InitialSyncComplete, which
causes the persistence logic to push to another queue to wake the
snapshoter, we can simply wake the snapshoter directly.

20 months agoMerge pull request #9 from arik-so/2022-08-snapshot-timestamp-fix
Matt Corallo [Tue, 23 Aug 2022 00:02:03 +0000 (00:02 +0000)]
Merge pull request #9 from arik-so/2022-08-snapshot-timestamp-fix

Reference canonical timestamps when generating snapshots.

20 months agoAlways pin dependencies for 1.48.0.
Arik Sosman [Mon, 22 Aug 2022 23:48:49 +0000 (16:48 -0700)]
Always pin dependencies for 1.48.0.

20 months agoReference canonical timestamps when generating snapshots.
Arik Sosman [Mon, 22 Aug 2022 23:42:20 +0000 (16:42 -0700)]
Reference canonical timestamps when generating snapshots.

20 months agoMerge pull request #8 from arik-so/2022-08-add-0-symlink
Matt Corallo [Mon, 22 Aug 2022 23:12:37 +0000 (23:12 +0000)]
Merge pull request #8 from arik-so/2022-08-add-0-symlink

Add 0.bin symlink for clients requiring an initial rapid sync.

20 months agoMerge pull request #6 from TheBlueMatt/2022-08-cleanups
Arik [Mon, 22 Aug 2022 22:48:44 +0000 (15:48 -0700)]
Merge pull request #6 from TheBlueMatt/2022-08-cleanups

Various Code Cleanups

20 months agoAdd 0.bin symlink for clients requiring an initial rapid sync.
Arik Sosman [Mon, 22 Aug 2022 21:39:02 +0000 (14:39 -0700)]
Add 0.bin symlink for clients requiring an initial rapid sync.

20 months agoCleanup network graph persisting and ensure write succeeds 2022-08-cleanups
Matt Corallo [Mon, 22 Aug 2022 03:30:35 +0000 (03:30 +0000)]
Cleanup network graph persisting and ensure write succeeds

20 months agoTrivial cleanups in lookup.rs
Matt Corallo [Mon, 22 Aug 2022 03:27:50 +0000 (03:27 +0000)]
Trivial cleanups in lookup.rs

20 months agoCorrect error-matching in downloader
Matt Corallo [Mon, 22 Aug 2022 03:24:27 +0000 (03:24 +0000)]
Correct error-matching in downloader

20 months agoDrop Arcs around the TestLogger, as its an empty struct anyway
Matt Corallo [Mon, 22 Aug 2022 03:22:09 +0000 (03:22 +0000)]
Drop Arcs around the TestLogger, as its an empty struct anyway

20 months agoSubstantially reduce boilerplate and Arcs in download_gossip
Matt Corallo [Mon, 22 Aug 2022 03:17:09 +0000 (03:17 +0000)]
Substantially reduce boilerplate and Arcs in download_gossip

20 months agoRemove unnecessary Arcs in verifier.rs
Matt Corallo [Mon, 22 Aug 2022 03:04:41 +0000 (03:04 +0000)]
Remove unnecessary Arcs in verifier.rs

20 months agoClean up the flow and variables in lib.rs and main.rs
Matt Corallo [Mon, 22 Aug 2022 02:39:26 +0000 (02:39 +0000)]
Clean up the flow and variables in lib.rs and main.rs

20 months agoMerge pull request #5 from TheBlueMatt/2022-08-block-on-slow-db
Arik [Mon, 22 Aug 2022 03:03:03 +0000 (20:03 -0700)]
Merge pull request #5 from TheBlueMatt/2022-08-block-on-slow-db

Block tasks if the DB writes get behind, rather than growing the queue.

20 months agoBlock tasks if the DB writes get behind, rather than growing the queue 2022-08-block-on-slow-db
Matt Corallo [Mon, 22 Aug 2022 02:40:23 +0000 (02:40 +0000)]
Block tasks if the DB writes get behind, rather than growing the queue

20 months agoMerge pull request #4 from TheBlueMatt/2022-08-fix-executors
Arik [Mon, 22 Aug 2022 02:43:03 +0000 (19:43 -0700)]
Merge pull request #4 from TheBlueMatt/2022-08-fix-executors

Don't spawn new single-threaded executors, stay inside tokio

20 months agoDon't spawn new single-threaded executors, stay inside tokio 2022-08-fix-executors
Matt Corallo [Mon, 22 Aug 2022 02:18:30 +0000 (02:18 +0000)]
Don't spawn new single-threaded executors, stay inside tokio

20 months agoMerge pull request #3 from lightningdevkit/readme_fixups
Arik [Mon, 22 Aug 2022 02:13:45 +0000 (19:13 -0700)]
Merge pull request #3 from lightningdevkit/readme_fixups

Fix readme links.

20 months agoFix readme links.
Arik Sosman [Mon, 22 Aug 2022 02:13:10 +0000 (19:13 -0700)]
Fix readme links.

20 months agoMerge pull request #2 from lightningdevkit/readme_fixups
Arik [Mon, 22 Aug 2022 02:10:45 +0000 (19:10 -0700)]
Merge pull request #2 from lightningdevkit/readme_fixups

Fix readme.

20 months agoFix readme.
Arik Sosman [Mon, 22 Aug 2022 02:10:23 +0000 (19:10 -0700)]
Fix readme.

20 months agoInitial commit.
Arik Sosman [Mon, 22 Aug 2022 01:18:35 +0000 (18:18 -0700)]
Initial commit.

23 months agoInitial commit
Arik Sosman [Fri, 20 May 2022 03:02:48 +0000 (20:02 -0700)]
Initial commit