1
0
mirror of https://github.com/aziascreations/BakaShrot.git synced 2026-11-23 20:58:46 +01:00

Fixed two peers sending the same attachment at once, Noted the stream limits, Removed the PureBasic-era leftovers

- An attachment is received from one peer at a time: the others are
  refused NotReady and ask again at their next sync; one cut short lets
  the next one take it over
- A 'replicating' row with all its bytes but never checked is asked
  again from part 0, and a peer asking from the wrong part resets it
- Noted the stream limit (1,048,575 topic/node pairs, 2^43-1 message ids
  each) in the example config and known-issues.md
- Removed NoDefaultTopic (code 6, retired), Writer::vacuum, the v8
  detection and the old ini key tests
- Cleared the PureBasic-era notes from the docs, revamp.md keeping only
  the old open items still unfixed; noted the GUI explorer (egui)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 17:23:33 +01:00
parent 764bc3652a
commit a5a2f65442
38 changed files with 436 additions and 907 deletions
+2 -4
View File
@@ -19,8 +19,7 @@ store them in SQLite, and replicate them to other servers by topic and node name
* A CLI tool to push, read, query and list
* A Python module over the library, without dependencies, as a wheel with the library in it
See [revamp.md](revamp.md) for why it was rewritten in Rust, what was decided, and the plan.
The PureBasic version it replaced (protocol 6) is in the git history: `OldSource/`, up to commit `68966a8`.
See [revamp.md](revamp.md) for what was decided, and the plan.
## Building
@@ -63,7 +62,7 @@ crates/
bakashrot-tools/ the CLI tools: bakashrot (push, read, query, list), bakashrot-cert
bindings/
c/ bakashrot.h, generated from bakashrot-capi
purebasic/ the prototypes and error codes, as the PureBasic version's
purebasic/ the prototypes and error codes
python/ bakashrot.py over the DLL, check_bakashrot.py, make_wheel.py
.cargo/config.toml the C runtime linked statically on Windows
docker/ the server's image: Dockerfile, compose.yml, test.sh
@@ -111,7 +110,6 @@ Publishing:
* A crate's root docs say what it does; designs that span crates go in `docs/`, updated with the code.
* Use existing crates rather than reimplementing (MessagePack is `rmp-serde`).
* Protocol changes update `docs/protocol.md`; error codes are never renumbered, packet ids never reused.
* `OldSource/` paths in comments and docs: the PureBasic version, in git history up to commit `68966a8`.
## Cloning