mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
If no witnesses are present on any inputs, then extended serialisation should not be used. [ Amended to make adding new flags clearer in future -- RR ] Signed-off-by: Jon Griffiths <jon_p_griffiths@yahoo.com> 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 some I wrote, many taken from bitcoin-iterate and pasted in here.