mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-23 06:55:13 +01:00
The format for both the nSequence field and the stack arg for OP_CHECKSEQUENCEVERIFY is either: Time-relative: [Bit 22 = 1] 00000 <time-shifted-by-9> Block-relative: [Bit 22 = 0] 00000 <number of blocks> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
address.c | ||
address.h | ||
base58.c | ||
base58.h | ||
privkey.h | ||
pubkey.c | ||
pubkey.h | ||
README | ||
script.c | ||
script.h | ||
shadouble.c | ||
shadouble.h | ||
signature.c | ||
signature.h | ||
tx.c | ||
tx.h |
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.