From 781aa26f0b8f027c1ce0665bfc18910c166d0dc0 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 13 Apr 2014 19:50:41 +1000 Subject: [PATCH] Rename gbt files to bitcoin since they'll have multiple bitcoin functions not just gbt --- src/Makefile.am | 2 +- src/{gbt.c => bitcoin.c} | 0 src/{gbt.h => bitcoin.h} | 5 +++++ 3 files changed, 6 insertions(+), 1 deletion(-) rename src/{gbt.c => bitcoin.c} (100%) rename src/{gbt.h => bitcoin.h} (86%) 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 */