mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-09 15:18:09 +01:00
1271ac8899
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
15 lines
338 B
C
15 lines
338 B
C
#ifndef LIBWALLY_BASE58_H
|
|
#define LIBWALLY_BASE58_H
|
|
|
|
/**
|
|
* Calculate the base58 checksum of a block of binary data.
|
|
*
|
|
* @bytes_in: Binary data to calculate the checksum for.
|
|
* @len: The length of @bytes_in in bytes.
|
|
*/
|
|
uint32_t base58_get_checksum(
|
|
const unsigned char *bytes_in,
|
|
size_t len);
|
|
|
|
#endif /* LIBWALLY_BASE58_H */
|