Rusty Russell
|
a37c165cb9
|
common: move some files out of lightningd/
Basically all files shared by different daemons.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
7 years ago |
Rusty Russell
|
8522a5ea64
|
struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count()
They're always tal objects, so we can simply ask tal for the length,
simplifying the API.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
809caa8588
|
bitcoin/pullpush.[ch]: expose bitcoin-style marshal/unmarshal.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
8 years ago |
Rusty Russell
|
9eabab78ab
|
utils: tal_hexstr() helper.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
6b956ea22a
|
varint: new file.
Move varint handling from tx.c and generalize it.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
ed70b13041
|
bitcoin: add first unit test.
Should grow from here.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |