mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-07 16:14:26 +01:00
Since the difference between non-elements and elements block headers is just the middle 2 fields, I split the old parsing code so I could add the middle part. Signed-off-by: Christian Decker <decker.christian@gmail.com>
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 some I wrote, many taken from bitcoin-iterate and pasted in here.