connor / loot

connor/loot

Changes touching this path

  • an /offer leaves out the addresses the trees of the held tips of the have name only for a client that says it holds every version its have names, ADR 0021: /offer gains a trailing holding byte (loot_net::encode_offer, decode_offer) the CLI sends only when Workspace::holds_every says so, the test fetch_declared already used, and only to a relay or forge whose /info says the new offer_holding, so an older host gets the plain body and an older client the whole offer; DagRepo::offered_objects is the whole answer again, DagRepo::offered_to_holder and serve::offered_objects under holding the narrowed one, since a shallow position declares dangling parents whose trees it never asks about, and a pull from a second source holding such a parent left out the addresses its tree shares with a sibling, which arrived short with a false withheld-by-the-server note until a second pull; the new pin, a position cut one deep fetching a sibling of its dangling parent from a second relay and from a second forge, went red on both before the fix (0 passed 1 failed each) and again with the client always saying holding and with either host narrowing whatever the client says (0 passed 1 failed each), and the /offer codec pin keeps the plain body byte-identical; over this history a complete position still takes a 100-change catch-up offer of 1,268 addresses and 40,578 bytes where the whole one is 11,036 and 353,154, and a one-change one of 6 and 194, while offer_addresses_delta1 stays at 1 and the gate reads no move; ADR 0021, the offered_objects docs, the negotiation() doc and the CONTEXT.md Delta frame stamp sentence, which missed chunked bundles at 16, say what the code does; cargo test 2592 passed and ci/local.sh green (lsqxxslu) 90df54cb · dbf3dbe6…

Renames are not followed. loot's tree maps a path to an address, so a rename is a delete and an add. This list is the history of the name, not of the bytes.