SpacetimeDB
SpacetimeDB copied to clipboard
Multiplayer at the speed of light
# Background Commands like `spacetime server set-default` print the "Saving config" text twice. This is because all commands save the config once right after loading it. (So this issue likely...
# Background We currently parse, update, and write out the entire config file whenever the CLI is mutating the file. This has the side effect of removing any comments. We...
Added None and Gzip options to the client protocol, and a new Compression type threaded back to the connect() function to configure it.
Provide a lighter version of `TransactionUpdate` if the flag is passed: ```rust pub enum ServerMessage { InitialSubscription(InitialSubscription), TransactionUpdate(TransactionUpdate), IdentityToken(IdentityToken), OneOffQueryResponse(OneOffQueryResponse), TransactionUpdateLight(TransactionUpdateLight), } pub struct TransactionUpdateLight { request_id: u32, /// The...
This provides access to the checksum, which may be of interest. Leaving the `History` trait as-is, as there is no immediate need for the checksum. Also fix rustdoc warnings.
So that we can disable this in `fn eval_updates`: ```rust if let Some((_, client)) = event .caller_address .zip(sender_client) .filter(|(addr, _)| !eval.contains_key(&(event.caller_identity, *addr))) { // Caller is not subscribed to any...
# Background `spacetime generate` will delete stale generated files in the output directory, but not in any subdirectories. However, we have the ability to _generate_ files in subdirectories, so this...
# Background As @jdetter noted in https://github.com/clockworklabs/SpacetimeDB/pull/1774/files#r1781948491, `spacetime generate` might happily overwrite files that were user-generated. # Definition of Done - [ ] `spacetime generate` should only (over)write a file...