Add SQLite listing store with deterministic conflict rules
- Put verifies listings and keeps only the newest version per (author, id); equal seq resolves to the smaller hash so replicas converge - Tombstones are stored so old versions cannot be resurrected - Search by geohash prefix, kind, category, price, area, rooms - Expire removes listings and tombstones past their lifetime Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,17 @@
|
||||
module git.stinnesbeck.com/nils/allmende
|
||||
|
||||
go 1.27.3
|
||||
|
||||
require modernc.org/sqlite v1.62.0
|
||||
|
||||
require (
|
||||
github.com/dustin/go-humanize v1.1.0 // indirect
|
||||
github.com/google/uuid v1.6.0 // indirect
|
||||
github.com/mattn/go-isatty v0.0.24 // indirect
|
||||
github.com/ncruces/go-strftime v1.1.0 // indirect
|
||||
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
||||
golang.org/x/sys v0.49.0 // indirect
|
||||
modernc.org/libc v1.80.1 // indirect
|
||||
modernc.org/mathutil v1.7.1 // indirect
|
||||
modernc.org/memory v1.12.1 // indirect
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user