Rusty Russell
96f05549b2
common/utils.h: add tal_arr_expand helper.
We do this a lot, and had boutique helpers in various places. So add
a more generic one; for convenience it returns a pointer to the new
end element.
I prefer the name tal_arr_expand to tal_arr_append, since it's up to
the caller to populate the new array entry.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
6 years ago
practicalswift
abf510740d
Force the use of the POSIX C locale for all commands and their subprocesses
7 years ago
practicalswift
9f47c0431a
Fix typos
7 years ago
Rusty Russell
26ffa8fdec
check-bolt: move to tools/
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
46bdd4badb
check-bolt: allow references to BOLT #0 .
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
7 years ago
Rusty Russell
6dc7056625
check-bolt: use new BOLTs.
The structure is slightly different, so this requires some fixes.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
8 years ago
Rusty Russell
f5c00deec7
Remove trailing whitespace from source.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
8 years ago
Rusty Russell
8a98ca8264
check-bolt: make it compile cleanly with -Wextra.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
8 years ago
Rusty Russell
3f374d8d8b
check-bolt: handle references to early-drafts too.
Particularly for the onchain.md draft.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
9 years ago
Rusty Russell
03a538ca02
check-bolt: check that comments in code match the specs.
And fix the mistakes!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
9 years ago