mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-10 01:24:30 +01:00
Otherwise valgrind tells you when you test a hash; you want to know if you hash uninitialized memory long before that. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
These are standard bitcoin manipulation routines which should be provided by any normal bitcoin library in whatever language you choose. The ones here are standalone ones taken from bitcoin core and soe I wrote, many taken from bitcoin-iterate and pasted in here.