summaryrefslogtreecommitdiffstats
path: root/src/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* add genesis flag and never give uptv17 hours1-1/+2
| | | | | | | | | The --genesis flag has been introduced to start with a new document. This prevents restarts to accidentally start with a new document and accept reads/writes, causing a second swarm to appear. Additionally, bootstrapping doesn't timeout anymore as that's of no use for nobody.
* coalesce announcementstv33 hours1-0/+1
|
* only protocol-writers may modify _continuumtv34 hours1-0/+1
|
* add chunked download and use it during rejointv37 hours1-0/+1
|
* add API and CLI to print effective configtv38 hours1-0/+5
|
* add configuration filestv38 hours1-107/+11
|
* wire up --mycelium-tcp-listen-porttv38 hours1-2/+5
| | | | | It wasn't used before, causing the supervised daemon to always pick a random one.
* add electoratetv40 hours1-0/+6
| | | | | For an upcoming change in remake coordination, nodes now maintain their self-assessed liveness in the document.
* aliases are not in logs (fixup)tv40 hours1-1/+1
|
* add node aliasestv47 hours1-0/+21
|
* add throughput statstv47 hours1-0/+1
|
* add swarm statstv47 hours1-0/+1
|
* add traffic countertv48 hours1-4/+12
| | | | | | | | | | This introduces a new wrapper that counts messages and payload bytes per peer, split by kind (hello, helloReply, sync, ping, pong), each sent, received and refused. The traffic counter goes around the firewall, which means messages dropped outbound are still counted as sent, and messages dropped inbound don't count as received.
* assess swarm stabilitytv48 hours1-0/+1
|
* prefer closer sources to catch uptv2 days1-0/+1
|
* record RTT from keepalive messagestv2 days1-0/+1
|
* pull missing changestv2 days1-0/+1
| | | | | | Nodes push changes to their neighbours but don't relay them directly. In a partial mesh, nodes can learn about missing changes via keepalive messages and can pull them from their neighbours.
* sync with neighbourstv2 days1-0/+7
|
* use nonce in handshaketv2 days1-0/+1
| | | | | To prevent stale hello replies to cause joins and thus stale sessions, each run gets a random ID, which used as nonce in the handshake.
* consolidate backoff codetv2 days1-0/+1
|
* catch up with a single source onlytv2 days1-0/+1
|
* allow changing log filtering while node runstv3 days1-1/+2
| | | | This also changes the default to tracing-subscriber.
* consistently use the words node, peer, and seedtv3 days1-2/+7
|
* introduce pre-shared swarm keytv3 days1-1/+16
|
* rename cluster to swarm everywhere!tv5 days1-5/+5
|
* install signal handlers early & handle SIGTERMtv5 days1-17/+52
|
* handle SIGTERMtv5 days1-0/+11
|
* rename compaction to remaketv5 days1-4/+4
|
* reorganize all the modulestv5 days1-12/+7
|
* serve stale reads during rejointv6 days1-0/+1
|
* cleanup loggingtv6 days1-11/+14
|
* add epoch catch-up / snapshotstv6 days1-3/+6
|
* add epoch switchtv6 days1-0/+4
|
* add compactiontv6 days1-0/+1
|
* cargo fmttv6 days1-2/+1
|
* add epochstv6 days1-1/+22
|
* initial committv6 days1-0/+230