rgb-cln/gossipd
Rusty Russell 7b853d0fa5 gossip_store: don't make bogus assumption that writes are atomic wrt readers.
They're not defined to be, though we've not seen this on Linux (testing
showed that it is page-level atomic, which means it can still happen across
page boundaries though!).  This was pointed out by whitslack in
https://github.com/ElementsProject/lightning/issues/4288

In practice, this just means not complaining when it happens, and also
not trying to get tricky to use it on MacOS (we can safely seek & write,
since we're single-threaded).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Removed: Removed bogus UNUSUAL log about gossip_store 'short test'.
2021-03-31 12:26:21 +10:30
..
test gossipd: use modern 'sync_complete' field. 2021-02-25 13:23:16 +10:30
Makefile gossipd, channeld: handle onion messages in gossipd so we don't need a channel. 2021-01-09 14:34:35 +10:30
broadcast.h gossipd: remove broadcast map altogether. 2019-06-04 01:29:39 +00:00
gossip_generation.c gossipd: add an internal flag to force a channel update 2021-02-02 13:44:01 +01:00
gossip_generation.h gossipd: naming cleanups. 2019-09-20 06:55:00 +00:00
gossip_store.c gossip_store: don't make bogus assumption that writes are atomic wrt readers. 2021-03-31 12:26:21 +10:30
gossip_store.h gossipd: add tombstone when we remove a channel. 2020-08-28 10:56:50 +09:30
gossip_store_wire.csv gossip_store: make private channels more similar to channel_announcement 2020-10-21 08:58:34 +10:30
gossip_store_wiregen.c tools/generate-wire.py: include digits in #ifndef idempotent header. 2021-01-13 14:45:36 +01:00
gossip_store_wiregen.h tools/generate-wire.py: include digits in #ifndef idempotent header. 2021-01-13 14:45:36 +01:00
gossipd.c dual-funding: convert to runtime flag, --experimental-dual-fund 2021-03-25 20:05:11 +10:30
gossipd.h gossipd: use modern 'sync_complete' field. 2021-02-25 13:23:16 +10:30
gossipd_peerd_wire.csv gossip_store: make private channels more similar to channel_announcement 2020-10-21 08:58:34 +10:30
gossipd_peerd_wiregen.c tools/generate-wire.py: include digits in #ifndef idempotent header. 2021-01-13 14:45:36 +01:00
gossipd_peerd_wiregen.h tools/generate-wire.py: include digits in #ifndef idempotent header. 2021-01-13 14:45:36 +01:00
gossipd_wire.csv lightningd: no longer forward failures to gossipd, let caller do it. 2021-02-02 13:44:01 +01:00
gossipd_wiregen.c lightningd: no longer forward failures to gossipd, let caller do it. 2021-02-02 13:44:01 +01:00
gossipd_wiregen.h lightningd: no longer forward failures to gossipd, let caller do it. 2021-02-02 13:44:01 +01:00
queries.c gossipd: use modern 'sync_complete' field. 2021-02-25 13:23:16 +10:30
queries.h gossipd: use modern 'sync_complete' field. 2021-02-25 13:23:16 +10:30
routing.c common: disallow NULL channel_id to peer_failed_err. 2021-02-04 12:02:52 +10:30
routing.h gossipd: add an internal flag to force a channel update 2021-02-02 13:44:01 +01:00
seeker.c gossipd: use modern 'sync_complete' field. 2021-02-25 13:23:16 +10:30
seeker.h gossipd: restore dev-suppress-gossip functionality. 2019-10-10 21:48:52 -05:00