ccan: update to faster and correct crc32c implementation.

I decided to try a faster implementation, only to find our crc32c was
not correct!  Ouch.

I removed the crc32c functions from ccan/crc, and added a new crc32c
module which has the Mark Adler x86-64-optimized variants.

We bump gossip_store version again, since csums have changed.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-06-11 15:00:54 +09:30
parent 7ce4fcd983
commit 0d2a4830ed
22 changed files with 808 additions and 697 deletions

View File

@@ -1,5 +1,5 @@
#include <bitcoin/short_channel_id.h>
#include <ccan/crc/crc.h>
#include <ccan/crc32c/crc32c.h>
#include <ccan/err/err.h>
#include <ccan/opt/opt.h>
#include <ccan/read_write_all/read_write_all.h>