Added code of conduct.

Thanks to Paul Fenwick!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Don't die with SIGPIPE.

Works fine under gdb, not so good in real life.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Make it more difficult, but use optimization for generation.

This gives about 1 block every 10 seconds.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Import ccan/.

Make it much easier to build.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Add configure script to generate config.h using CCAN's configurator.

We might go for autoconf eventually, but let's defer the pain.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Improved readme with instructions for Xubuntu 13.04 and Wheezy variants.

Conflicts:
	README
	test/Makefile
Add Travis support for testing on github.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>