summaryrefslogtreecommitdiffstats
path: root/src/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* remove some dead commentstv38 hours1-3/+0
|
* add farewell pingtv38 hours1-0/+1
|
* detect broken htpasswd files during startuptv38 hours1-1/+2
|
* private mycelium needs both key and nametv2 days1-5/+2
|
* allow humand-friendly durations and sizes in CLItv2 days1-6/+7
|
* cleanup mycelium daemontv2 days1-2/+1
|
* split mycelium daemon in its own moduletv2 days1-1/+2
|
* unify lock logictv2 days1-0/+1
|
* add random swarms testtv2 days1-0/+2
|
* add clock moduletv2 days1-0/+2
| | | | | The Clock module is the system clock that every unix timestamp new goes through. It comes with an offset that only tests can set.
* make sync reply timeout part of timingtv3 days1-1/+1
| | | | This enables upcoming lossy-links tests.
* add simulation testtv3 days1-0/+2
|
* build node in separate moduletv3 days1-110/+31
|
* fix warning about swarm key (fixup)tv3 days1-1/+1
|
* build_genesis -> remake_genesis (fixup)tv3 days1-1/+1
|
* allow to remake genesistv3 days1-0/+6
|
* allow to persist documenttv3 days1-29/+37
|
* nodes keep list of every actor ID they've usedtv3 days1-0/+2
|
* add force module usable by API and CLItv3 days1-9/+21
|
* add files module to consistently track statstv3 days1-18/+9
|
* add disk I/O statstv3 days1-3/+16
|
* add possibility to start with a documenttv3 days1-9/+39
| | | | The --recover-from option allows a node start with a given document.
* add state filetv3 days1-1/+33
| | | | | This allows storing the swarm ID and additionally discovered seeds, which prevents a formerly genesis node to start a new document.
* add genesis flag and never give uptv3 days1-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 announcementstv4 days1-0/+1
|
* only protocol-writers may modify _continuumtv4 days1-0/+1
|
* add chunked download and use it during rejointv4 days1-0/+1
|
* add API and CLI to print effective configtv4 days1-0/+5
|
* add configuration filestv4 days1-107/+11
|
* wire up --mycelium-tcp-listen-porttv4 days1-2/+5
| | | | | It wasn't used before, causing the supervised daemon to always pick a random one.
* add electoratetv4 days1-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)tv4 days1-1/+1
|
* add node aliasestv4 days1-0/+21
|
* add throughput statstv4 days1-0/+1
|
* add swarm statstv4 days1-0/+1
|
* add traffic countertv4 days1-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 stabilitytv4 days1-0/+1
|
* prefer closer sources to catch uptv4 days1-0/+1
|
* record RTT from keepalive messagestv4 days1-0/+1
|
* pull missing changestv4 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 neighbourstv4 days1-0/+7
|
* use nonce in handshaketv4 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 codetv4 days1-0/+1
|
* catch up with a single source onlytv5 days1-0/+1
|
* allow changing log filtering while node runstv5 days1-1/+2
| | | | This also changes the default to tracing-subscriber.
* consistently use the words node, peer, and seedtv5 days1-2/+7
|
* introduce pre-shared swarm keytv6 days1-1/+16
|
* rename cluster to swarm everywhere!tv7 days1-5/+5
|
* install signal handlers early & handle SIGTERMtv7 days1-17/+52
|
* handle SIGTERMtv7 days1-0/+11
|