diff --git a/src/Makefile.am b/src/Makefile.am index 8ea8885d..66a2c6e2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,5 +5,5 @@ libckpool_la_SOURCES = libckpool.c libckpool.h libckpool_la_LIBADD = @PTHREAD_LIBS@ @MATH_LIBS@ @RT_LIBS@ @JANSSON_LIBS@ bin_PROGRAMS = ckpool -ckpool_SOURCES = ckpool.c ckpool.h gbt.c gbt.h +ckpool_SOURCES = ckpool.c ckpool.h bitcoin.c bitcoin.h ckpool_LDADD = libckpool.la diff --git a/src/gbt.c b/src/bitcoin.c similarity index 100% rename from src/gbt.c rename to src/bitcoin.c diff --git a/src/gbt.h b/src/bitcoin.h similarity index 86% rename from src/gbt.h rename to src/bitcoin.h index f4a73e67..ea1b743a 100644 --- a/src/gbt.h +++ b/src/bitcoin.h @@ -7,4 +7,9 @@ * any later version. See COPYING for more details. */ +#ifndef BITCOIN_H +#define BITCOIN_H + bool validate_address(connsock_t *cs, const char *address); + +#endif /* BITCOIN_H */