aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* federation: a set keeps where its store stands, and its entries' namestv40 hours2-15/+56
| | | | | | | | Saying where a set stands read the store's heads anew, which costs its events, and finding an entry by its name hashed every entry: both for every message. A set now keeps the one, read anew where its store changed, and the other as entries come and go; in tests both are compared with what is read anew.
* federation: a set keeps its names as it changes, in runs with their sumstv40 hours3-171/+574
| | | | | | | | | | | | | | | | | | | | | A set built the names it gives to others anew for every message, and a range's fingerprint cost its names. Now ranges::Names holds names in order in runs of up to 512, each with what it adds up to, so a range's fingerprint costs its ends and a sum per run between; and a set keeps one, adding and taking out as its store takes and lets go, entries come and go, and what it holds beside goes. In tests the names kept are compared with those read anew. A node splits a range where a number of its own says (ranges::answer's salt, from the system's randomness in store::passing), so that nobody knows beforehand which ranges it compares. Who is a member, which is the fold's to say of the store's state, a set asks only where its store changed, and once for the events of one message (Set::offer_all): asked for every event offered, it was what made catching up slow. A set's store has no more than 1024 events wait.
* federation: a store tells what it took, and has no more wait than askedtv40 hours1-5/+63
| | | | | | | | | | | Beside what it lets go of (Store::telling): what it took, in the order taken (took), and what a move to a checkpoint left beside the heads (Gone::NotAbove), so that what carries it follows what it holds without reading it all again. Store::waiting_no_more_than: past that many events waiting for what they build on, the one waiting longest goes, as if it had never come. A store not asked has any number wait, as before.
* federation: passing a set of events ontv41 hours4-3/+449
| | | | | | | | | | | | | | | | | What two nodes say to each other of their sets (store::passing), with nothing kept of a peer between messages: where a node stands, its store's checkpoint and heads and the fingerprint of all its names; ranges (document::ranges, whose messages serialize), where fingerprints differ; its heads, where they differ and the fingerprints don't; the names it lacks and would have; events and entries, no more than 1 MiB a message. What comes is offered to the store or put as an entry, and for what the store then waits on and doesn't hold (Store::lacks) the node asks in turn. Sets that wrote apart come to hold the same, over seeds; what a node refuses of its own reaches others through it. Used by nothing yet: no node carries a set.
* federation: a set of events as its file holds ittv41 hours1-0/+217
| | | | | | | | | | Set::save and load (continuum-events/1, then MessagePack): the store's checkpoint and what it keeps, what it took in the order taken, what its node refuses of its own and its operator dropped, what the document holds beside the store, of what a checkpoint forgot how long ago, and the members' entries. Read back, every event is offered to a store anew and every entry checked. What waits for what it builds on isn't saved: it comes again.
* federation: a member's entry in a set of eventstv41 hours5-2/+412
| | | | | | | | | | | | | | What a node says of itself (store::entry::Entry): a JSON map of no more than 16 KiB, with its count, signed with its node key for its store. A set holds each member's newest (Set::put_entry): the highest count, of two of one count the lower name; none of a node the store doesn't name a member as it reads now, and those it held go with their node. Their names are among the set's, to catch up by; and a set says what of a peer's names it would have (Set::wants, Store::knows), which leaves out what its store refused, waits for or forgot, and a stranger's entry until who is a member changes. The store's test fold names members, by what counts at node:<node ID>.
* federation: a set of events, the store's own documenttv41 hours2-0/+394
| | | | | | | | | | | | The kind events (docs/document.md, A set of events), as far as holding goes (store::set::Set): a store, and beside it what the store lets go of and its node still gives to others: what its history takes and the node doesn't; what builds on that, unjudged, no more than 1024 events or 16 MiB, the oldest first to go; what a checkpoint forgot, for a time its operator sets. What the fold refuses is held by nobody. Its names, to catch up by (document::ranges). Used by nothing yet: no member's entry, no file, no passing on.
* federation: a store tells what it lets go of, where askedtv41 hours1-6/+83
| | | | | | | | | With the bytes, and why (Store::telling, let_go, Gone): what a move to a checkpoint forgot, the heads it holds by name alone among it; what its history takes and the node doesn't, by what it took before or by its operator's drop; what builds on something refused, unjudged. For what carries the store, to pass on or keep a while; a store that isn't asked keeps none of it, as before.
* document: catching up by ranges of names and their fingerprintstv47 hours2-0/+554
| | | | | | | | | | | | Two nodes that each hold a set of names find what the other holds and they don't (document::ranges): a range's fingerprint, the same and it is done, else its parts' fingerprints or its names where few. Names added up modulo 2^256 with their number, hashed; 16 parts a step; a message answered by reading it once, with nothing kept between messages; no more names in a message than asked. Used by nothing yet: the set of events catches up so, and merged state and the document ordered by clocks (docs/document.md).
* wire: version 53, what is the document's as bytes, and the kind in handshakestv2 days6-35/+588
| | | | | | | | | | | | | | | | | | | | Spoken beside 52 (OLDEST), so a swarm upgrades node by node: a node writes each peer the newest version both speak. From 53 on (wire::KINDS, wire::kinds), what is a document's kind's goes as bytes the wire carries and doesn't read: a SYNC's body, with whether it is taken as delivered, and what vouches for what it carries; where a STATUS says its sender stands; what a BLOB request asks for in bulk; a BLOB is of a unit or of what is offered in bulk, by their names. Automerge's bytes are what 52 carries in the messages' own fields. HELLO and HELLO_REPLY say the kind of the sender's document (document::KIND, automerge) from 53 on; one in 52 says none and is of that kind. A peer whose document is of another kind is refused in the handshake, saying so. The bytes of 52 stay as golden_bytes has them; golden_bytes_of_kinds has those of 53. scripts/wire-check v0.0.1: its nodes and this tree's talk.
* document: where a document stands, and a peer, is the document's to comparetv2 days8-79/+148
| | | | | | | | | | document::passing: a Mark, where a document stood, by which what changed since and the node's own units since are told (changed_since, own_since: the change publisher, the sync worker); and of where a peer says it stands, what the document lacks, whether the peer holds what the document held, a pull of what is lacking, and what it has counting as sent no more (lacking, peer_holds, pull, heard: the relay, keepalives). The published stamp gives its summary and its mark.
* document: a unit's name, which the swarm passes on bytv2 days12-50/+108
| | | | | | | | | document::UnitId: the name of a unit of a document as its kind has it, an Automerge change's hash. What the swarm announces, forwards along trees, tells a peer it refused and drops is named so (the dissemination, relay, refusals, AppState::drop_taken), and the session is told so what a peer gets from another; a change's hash it is where the document is asked, and on the wire.
* document: taking changes fetched as a blob is the document'stv2 days2-37/+91
| | | | | | | document::passing::take_bulk: the changes a peer offered as a blob, fetched, judged and applied with their signatures, and all the heads offered held after. swarm::sync keeps the fetch, the epoch check, and what is counted and noted of the peer.
* document: taking a peer's message, and settling the session after, are the ↵tv2 days2-105/+217
| | | | | | | | | | | document's document::passing: received (a message read, inflated where it was deflated), take (the changes it carries screened and applied, the rest given to the session) and settle (what the peer lacks asked for again, the signatures waiting offered, whether an answer is due, what came and whose). swarm::sync keeps the epoch check, what is noted of the peer, the wait for its answer, the throughput, and what is counted.
* document: what goes to a peer next is the document's to saytv2 days3-174/+225
| | | | | | | | | document::passing::next: the next message for a peer, by the session with it: changes as they are along a tree, a sync message, or an offer of the changes as a blob where a message would be too large, with the signatures of what it carries, and whether it is taken as delivered. swarm::sync keeps whose tree a message is along, the epoch it is of, the envelope, and what is counted of it.
* swarm: the member registry is read of any view, not of an Automerge documenttv2 days3-13/+12
|
* state: plain writes take a view to write, Automerge's are asked for as suchtv2 days22-103/+159
| | | | | | | | | | | AppState::mutate_doc, mutate_doc_registering and mutate_doc_by hand what they are given a document::view::Write: the member registry, the users, sessions, forgetting and bootstrap write through them, and take whatever kind of document gives it. AppState::mutate_doc_for is for what asks more of an Automerge document than values at paths (the store's API, a remake's host, a store's events), and gives the heads after the write. What reads a view takes one of any size (dyn Write among them).
* document: values read and written through a view any kind of document givestv2 days18-210/+338
| | | | | | | | | | | | | document::view: Read (the value at a path, plain, typed, a map's keys) and Write (a value written, one deleted), which Automerge's documents, writes in progress and documents as they were all are. The member registry, the users, access control's reads and rules, the topology, forgetting and bootstrap read and write through them, and name neither Automerge's ReadDoc and Transactable nor document::store, which is what an Automerge document can do beyond. How a swarm holding a store judges what a change writes is handed to the rules (rules::judge_seen), being its kind of document's to say.
* document: screening what is received is the document's, the rules access ↵tv2 days23-49/+49
| | | | | | | | | control's access::screen becomes document::screen: reading received bytes as changes, putting them in order, keeping those that wait or are refused, vouching by signatures and applying is all Automerge's shape, and has each change judged by the rules (access::rules) before it applies it.
* document: what a dropped change takes with it is the document's to saytv2 days3-76/+174
| | | | | | | | | document::dropping: a change a document holds and all that builds on it (Tainted), and the document left without them, with what this node's own writes among them touched and the others' changes (Dropped). The walk of the history, the fork and the fresh actor were the node's, in AppState::drop_taken, which keeps what is its own: whether a drop waits for a second member's word, the quarantine, the refused.
* access: the rules judge a unit at the state its writer saw, a change being ↵tv2 days2-104/+151
| | | | | | | | | | | | Automerge's rules::judge_seen is the rules: given a unit (who made it, for whom, what it writes where) and the document as its writer saw it, to read, why they refuse it. rules::judge keeps what is Automerge's of judging a change: an epoch's root, by the change's hash, and the document at the change's heads, by which it also keeps what was read there (Reads over Seen). A swarm holding a store is judged alike (holding::judge), a founding change told by the unit's name.
* document: the writers a node wrote under are the document's, not a remake'stv2 days14-45/+67
| | | | | | | | | The actors a node writes or wrote with in its current document (document::own::OwnWriters, AppState::own_writers) were kept by the remake state, which signing, the document file, sync and a dropped change read them from. They are the engine's: a document of a kind without writers of this sort has none, and needs no remake state for them.
* config: the report of a configuration, and --print-configtv2 days1-93/+22
| | | | | | | | | | | The report moves to the crate, as it was (report::report, Reports, Values): each option of a schema with its value, by the settings in effect given as JSON by option name, and where it came from; imported values and secrets left out. And the argument a program prints it by (arguments::with_print_config, prints_config). continuum gives its settings and what it loaded to it; --print-config and GET /admin/config say what they said.
* config: read names the option whose value doesn't fittv2 days1-30/+4
| | | | | | | | | | | Where the values set make none of what layer::read reads them into, its error names the option and where it was set, which serde doesn't: the first that alone makes none, as continuum found it for its settings; or, where what is read needs more than one option, the first without which the others make one. continuum reads its settings by it, and a party's client's options are named alike.
* config: files, arguments and layers, by a program's own optionstv2 days4-1064/+63
| | | | | | | | | | | | | | | | | | | | | | | | What reads a configuration moves to the crate config, as it was, so that other programs read theirs alike: * option: Kind, OptionSpec, and Schema: a program's options, those that can't be combined, and those that are gone; * file: TOML and JSON files, their includes and unsets; * arguments: the options as arguments, --config and --unset, and files and arguments put together (merged); * layer: values and where they came from, a later source over the earlier ones (overlay), what a value was made of (Sources); * units: durations and sizes as operators write them, which continuum keeps under crate::units. Each takes the schema it reads by, where continuum's code went by its own tables: the node's is config::SCHEMA, a party's client's config::PARTY. Whether a value is shown goes by the schema read by, so an option of the node is no secret for being one of the client's. continuum keeps its options, the settings they make, their checks and the report; its tests of files and layers stay, by the node's options, and the crate has one by a schema of its own.
* config: +raw imports the bytes as they aretv2 days1-0/+4
| | | | | | | | | | | | | | | file+raw:, cmd+raw: and env+raw:, and format = "raw" in a table, give what is there byte for byte (Imported::Raw): no line break removed at its end, and what is no text taken, as a key or a certificate needs. Text and JSON still must be UTF-8, and say +raw where they aren't. A placeholder gives text; in a +raw importer one may be +raw too, and its bytes go in as they are, into a name, a path, an argument or a shell's positional parameter. Into text none does: not into a text or JSON importer, nor into text with placeholders. continuum takes a +raw value as one text, read as nothing else; one that is no UTF-8 it refuses, an option being text.
* config: what a configuration imports by, in a crate of its owntv2 days2-482/+1
| | | | | | | | | | | Importers and placeholders (env:, file:, cmd:, ${…}, +json, $$, the tables) move from config::import to the crate config, crates/config, as its module import, as they were, public: the crate is for what a program's configuration is made of, from its files and its arguments, and other programs make theirs with it. The repository is a workspace of the node and that crate, both default members, so that cargo quick, cargo sim and clippy take in both.
* federation: properties of nodes voting by themselves getting ontv5 days1-4/+670
| | | | | | | | | | | | | | | | | | | | The properties were all of safety. Three of getting on, over generated histories gone on with (gone_on): nodes vote by themselves, time passing for them, parties vote by hand, some proposing a checkpoint at heads no version may name, or again beside its heads, and backing it there, and after each step a node writes what passed. * What a node's rules cast, its own store takes, and it backs the checkpoint it proposes. * What its rules back is written once it passes by votes a version event may be written on. * Where some votes make a version event a store takes, State::version_event returns one it takes: every choice of a true of each party is tried. Each fails where vote::decide asks no vote::builds_on, where vote::backs_checkpoint asks no State::may_name, or where State::version_event takes votes beside a checkpoint's heads.
* store: a party's next event builds on its last, past 64 headstv6 days3-19/+144
| | | | | | | | | | | | | Where a store holds more heads than an event names, a new event builds on the earliest. A party's write may then lack its last one in its history: of two neither in the other's the lower ID counts, not the later, and a key set written so is written under an older version, and ranks below one written under the latest. building_on_with names a head holding each event it is asked to hold, beside the one holding what the fold judges by; GET /events?party=NAME asks it for that party's last write, key set or node list (latest_of), and continuum-party signs on the heads for its party.
* continuum-party vote: asks its node first whether a true is takentv6 days4-16/+119
| | | | | | | | | | | | | | | A party's client recorded its vote, sent it, and only warned where its node refused it: a true every node refuses, its party's earlier one not dead where it builds, stayed in the record and bound the party, though no node held it. Taking it back out on the node's word would let a node that lies have its party vote twice. So it asks before it signs: POST /events/back names the party, the proposal and the events the vote would build on, and a node answers by what it asks itself before it casts one (vote::takes_true). Nothing signed is sent, so a node gets nothing it could pass on. Told it isn't taken, the client casts and records nothing; a node that doesn't answer, one before this, it says so of, and goes on as it did.
* federation: a node votes false by no rule: --store-nay-beside is gonetv6 days5-167/+67
| | | | | | | | | | | | | | | | | | | A node following a party copies no false, so a followed key voting twice finds nobody to end the first of its two checkpoints. With --store-nay-beside its followers cast that false by rule: it showed each checkpoint to some of them, voted false on one itself, had them end it and move to the other, and passed the first with the rest. Two checkpoint versions on one, by one key, in a federation of any size. The rule was there for two checkpoints proposed at once, which a node's wait before it proposes makes rare. Where they stay proposed, neither with two thirds, their parties end one by hand: the checkpoints guide says how (Two proposed at once). Row 59 says so, and its simulation has the one two thirds back pass, with no false cast. An option that is gone is named so, with what to do (config::GONE), on the command line and in a configuration file, where "unknown option" would leave an operator guessing.
* store: a new event builds on a head holding what it is judged bytv6 days4-1/+80
| | | | | | | | | | | | | | A new event builds on the heads taken earliest, 64 at most. Where a store holds more, and those all come from before the current version was written, an event on them is written under the version before: a merge event, under one without merge events, was refused, so the backlog of heads a revision was passed to merge stayed, and with more heads than a checkpoint may name, no node proposed one. The fold now says which events a new one is to have in its history (Fold::judged_by; the federation: those writing the current version), and building_on names the earliest head holding one, in place of the last of the others.
* federation: a second true on the nays that end the first, no moretv6 days1-4/+71
| | | | | | | | | | | | | | A party's true after one that died builds on the nays that freed it, and an event builds on 64 at most. may_vote kept every vote it was given, once for each earlier true: a node gives it all on the version, a client all on the proposals its party backed. A proposal all of 64 parties voted on was past that already, and below, one party signed its false 64 times on other dependencies, each of which the fold takes: by hand the vote failed, a node skipped it and said nothing. Now it keeps, for each earlier true, one false of each party, of the lowest ID, of the first parties by name, as many as end the proposal: a third of the parties and one (ending).
* federation: a checkpoint proposed a random wait after it is duetv6 days1-9/+131
| | | | | | | | | | | | | | | Every node voting by itself proposed a checkpoint as soon as one was due, after a version say, at the heads it held then, and backed its own. Nodes whose heads differed at that moment made different proposals, each party's one true on its own: nothing ended that but nays by hand from more than a third. Chance did it in a busy store, and a party on purpose, sending each node another fresh write with the passing vote. Now a node acting by itself only notes a checkpoint to propose (Holding::proposes), and its worker has it proposed a random wait later (Holding::propose), a sixtieth to a sixth of the keepalive interval, as it waits before merging: by then it holds another node's proposal, and proposes none beside one it would back.
* federation: a node casts no true its own store refusestv6 days3-42/+133
| | | | | | | | | | | | | | | | A node recorded each vote, saved the record, offered the vote to its store, and didn't look at the answer. A party freed by nays cast after a checkpoint's heads were named, with its earlier true in their history, votes on that checkpoint on its proposal alone, as a checkpoint's vote leaves the nays out: there the earlier proposal isn't dead, and every store refuses the vote. Recorded all the same, it bound the party by a vote no node held; and deciding on it each round, the node proposed no checkpoint of its own. The fold's rule for a party's second true is State::may_back now, which a node asks at the history its vote would build on (vote::builds_on), as it decides, by itself or by hand, and as it signs: a vote refused at its own history counts nowhere, so none is cast, and none recorded.
* federation: a new proposal's grace by the party first proposing ittv6 days1-8/+34
| | | | | | | | | | | | A proposal held for less than a while holds back checkpoints unless its proposer has an older one on the version. Its proposers were every party that proposed its hash: a party with an older proposal proposed a newcomer's version again, byte for byte, and the newcomer's grace was gone, so the next checkpoint due, or a followed key's, lapsed it before anyone had read it. Now it goes by the party of the event proposing it that the node held first (Proposed::first; of several held as long, the lowest ID).
* federation.md: row 68 as built, with its testtv6 days2-3/+3
| | | | | | | | | | | The row, and Checkpoints, had a party's client back a checkpoint by the voters' rule, as a node does. A client voting on its own checks no heads, as the checkpoints guide says: it shows what moving there refuses before it asks. The rule is the node's, voting by itself or by hand through it, and covers what it held when it started. The row's test is the voters' rule's (federation_attack_68, in vote.rs): it waits no more.
* federation: what a node held when it started, it held before any proposaltv6 days2-8/+103
| | | | | | | | | | | | | | | | | | | | | A node keeps when it took each event in memory, by its own clock: after a start, everything its document held was stamped at once, a checkpoint's proposal with the writes it leaves out. The voters' rule asks what was held for a while before the proposal, which was nothing then, and once --store-back-after had passed the node backed it, whatever its heads left out. A followed key left such a proposal pending and gathered its followers' votes as they restarted, as all do to roll out a revision. Now what the store holds as the node first reads it counts as held before any proposal (Inner::from_start, Seen::from_start): the node backs no checkpoint leaving any of it out. One proposed just before a restart at heads that left out the writes then under way isn't backed by that node either; the next one is. a_node_votes_above_the_heads_of_the_checkpoint_it_votes_on read write, proposal and vote into a fresh node at once, which is this case: its node runs before they come now, and a second one, started on all of it, casts nothing.
* federation: no true on a checkpoint at heads no version may nametv6 days3-16/+96
| | | | | | | | | | | | | | | A version event is refused where the heads its version names for a checkpoint have one in another's history, or aren't after the current checkpoint (may_move). Neither the voters' rule nor what a node tells clients asked that: votes on such a proposal are taken, no version event on them ever is, so nothing lapses, and every party that voted true stays bound until others' nays end it. A followed key proposing one bound all its followers; with two thirds of the parties so, nothing passed on that version again. may_move's part about the heads is may_name now, which backs_checkpoint asks before a true, and GET /events/counts says as none, so that a party's client backs no such proposal either.
* store: what heads leave out is what a move to them refusestv6 days2-10/+52
| | | | | | | | | | | | | | | left_out, the voters' rule's and a fork's check, took an event for above the heads where it had them all in its history. A move asks more: each of its dependencies among the heads or above them (above, beside). So an event built on the heads and on something beside them passed the rule, and the move refused it, with all built on it. A followed key used that: it signs what will be its heads and a proposal beside them, clients build on both as on every head they hold, and a checkpoint proposed there later leaves out nothing by the rule, and refuses every write, key set and node list since. Now left_out asks what the move asks.
* federation: a checkpoint's version event on the votes above its headstv6 days1-1/+37
| | | | | | | | | | | | | version_event took each party's true of the lowest ID, of the first parties by name that pass a proposal. Of a version naming a checkpoint, a true built beside its heads counts, but a version event built on it is refused (may_move): with such a vote among those taken, every node wrote the same event, every node refused it, and the version was never written; its backers stayed bound. One party did that by casting its true on an event beside the heads, where its name came early enough. Now it takes only votes above the heads, so the event it names is one a store takes wherever two thirds voted above them.
* libp2p: dial a relayed peer directly even while another dial is under waytv9 days2-8/+4
| | | | | | | | | | | | | | | | upgrade dialled with PeerCondition::NotDialing: while hole punching's dial went, the direct one didn't, and came only once that dial failed, which where packets are dropped is when it times out. Hole punching dials the address the relay saw, which may not answer where the peer's listen addresses do (a host with several, a port mapped otherwise). a_relayed_connection_is_upgraded_where_one_side_can_be_dialled hit that now and then: identify told b where a listens 1 ms after dcutr's dial began, and b didn't dial a within the test's 5 s. Now it dials regardless. Where both dials connect, the slower is closed after DUPLICATE_GRACE, as of any two. The retry on a failed dial goes: nothing waits on another dial any more; the next try comes as before (identify, mDNS, a send to the peer), UPGRADE_RETRY after the last.
* hyparview: its timers from Timing, derived from the keepalivetv9 days3-36/+39
| | | | | | | | | | | | | ASK_FOR (20 s), REFUSED_FOR (60 s), ONE_SHORT_EVERY (300 s) and REAFFIRM_EVERY (60 s) were fixed: the simulations, on a 250 ms keepalive, sat them out in real time, and simtest::hyparview's two took a minute each, most of cargo sim's. Now Timing has them (ask_for, refused_for, one_short_every, reaffirm_every): twice the first sync reply timeout, one keepalive interval, five, and one. At the defaults (1m, 10 s) they are what they were; with another --keepalive they scale with it, as the keepalives they answer to do. The two simulations take 3 s.
* libp2p: room for inbound streams that come in at oncetv9 days2-1/+42
| | | | | | | | | | | | | | | libp2p-stream hands each inbound stream to the consumer through a channel with room for one (Control::accept, mpsc::channel(0), try_send): one arriving while another waits is dropped, unread, logged at debug under libp2p's target alone. Messages sent to a node at once were lost but one, and a proof is two since wire versions side by side (SPEAKS, then WHO): a joiner's WHO went unanswered until RESOLVE_TIMEOUT, 10 s, and nodes_over_libp2p failed now and then. The transport accepts with Control::accept_with_buffer, with room for as many streams as it reads at once (WAITING, READS + STRANGER_READS): beyond them, one is dropped still. messages_sent_at_once_all_come_in sends 30 at once from three peers; without this, 3 to 7 came in.
* roots: a joiner shakes hands again with a seed that says it's readytv9 days2-1/+19
| | | | | | | | | | | A seed that named no root, joining itself, names it once ready, but only from this build on: a 0.0.1 seed never shakes hands again, and its joiner waited for ever. scripts/wire-check hit that, d of this tree joining through c of 0.0.1, their handshake 6 ms before c was ready. So the joiner does its half too: where a seed it still waits for named none, a STATUS saying the seed became ready has it shake hands with the seed again (seed_ready), which then names its root.
* mycelium: the fake daemon's tests wait for its first poll, not one moretv9 days1-6/+7
| | | | | | | | They waited for one more request for the inbox than the daemon had had when they looked, after the transport had started: where its first request was in by then, they waited for a second, which an idle transport never makes (its first waits in the daemon), and failed after 2 s. Each test's daemon is new: its first request is the one meant.
* roots: a seed joining itself names the root once it has ittv9 days3-3/+39
| | | | | | | | | | | | A joiner takes no root before each of its seeds named one, and a seed names its root only in a handshake. A seed that shook hands while joining itself named none, and never again: its joiner waited for ever. scripts/wire-check hit that (b joining a, c through b, d through c): b's reply to c came 2 ms before b had its document. Now a node notes the peers its handshakes named no root to, and once ready, shakes hands with them again, naming it. Older joiners take it too: it's a handshake as before.
* config: keep-actor on by default, as its help saystv9 days1-1/+4
| | | | | | | The help gave keep-actor's default as true, but a node that didn't set it read it as false: an option left unset takes the setting's serde default, not the help's. So a node kept its writer across a clean stop only where keep-actor was set, and options_and_settings_agree failed.
* dashboard: check.nix, the browser checks' shelltv9 days1-0/+27
| | | | | | | docs/development.md, check.js and the browser test name it, but it never made it into the tree. Node.js, Playwright's library and its Chromium, all from nixpkgs (playwright-driver and its browsers, of one version), nothing from npm.
* features: most, for developmenttv10 days3-3/+3
| | | | | | | | Every feature but tokio-console, so that development names one set of features everywhere: the aliases, checks and single tests, so none rebuilds what another built. Not cargo's --all-features, which would take tokio-console too (it needs tokio_unstable), hence not "all". Not a default.