locktime: nice abstractions for absolute and relative locktimes.

I got confused navigating these, especially since Alpha and Bitcoin
have diverged (BIP68 was proposed after Elements Alpha).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-01-22 06:38:08 +10:30
parent 4c42930940
commit 4b02c6f558
13 changed files with 185 additions and 89 deletions

View File

@@ -39,6 +39,7 @@ TEST_PROGRAMS := \
BITCOIN_OBJS := \
bitcoin/address.o \
bitcoin/base58.o \
bitcoin/locktime.o \
bitcoin/pubkey.o \
bitcoin/script.o \
bitcoin/shadouble.o \