Rusty Russell
|
cfb320c972
|
wire: move remaining bitcoin functions out to bitcoin/ files.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
5 years ago |
Rusty Russell
|
8349c1a0c2
|
bigsize: insist in minimal representation in bigsize_get().
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
5 years ago |
Rusty Russell
|
3fa375881a
|
bigsize: make it a proper first-class type.
It doesn't belong in bitcoin, and should not be confused with varint_t.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
5 years ago |
Christian Decker
|
78c7edb889
|
sphinx: Switch to big-endian number encoding
See https://github.com/lightningnetwork/lightning-rfc/pull/619 and
https://github.com/lightningnetwork/lightning-rfc/pull/619 for discussion.
Signed-off-by: Christian Decker <decker.christian@gmail.com>
|
6 years ago |
Rusty Russell
|
78174a09e2
|
bitcoin/varint: fix varint reading for multibyte varints.
Embarrassing error.
Reported-by: throckmorton on #lightning-dev
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 |