From 363f15cb4bd041c8cc906e07266c72f507b5dd88 Mon Sep 17 00:00:00 2001 From: longtune <31818645+longtune@users.noreply.github.com> Date: Sun, 10 Jun 2018 10:50:00 +0800 Subject: [PATCH 1/2] Update Makefile --- stratum/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratum/Makefile b/stratum/Makefile index 3bf978bf3..e12853841 100755 --- a/stratum/Makefile +++ b/stratum/Makefile @@ -11,7 +11,7 @@ CFLAGS += -DNO_EXCHANGE #CFLAGS=-c -O2 -I /usr/include/mysql LDFLAGS=-O2 `mysql_config --libs` -LDLIBS=iniparser/libiniparser.a algos/libalgos.a sha3/libhash.a -lpthread -lgmp -lm -lstdc++ +LDLIBS=iniparser/libiniparser.a algos/libalgos.a sha3/libhash.a -lpthread -lgmp -lm -lstdc++ -lssl -lcrypto LDLIBS+=-lmysqlclient SOURCES=stratum.cpp db.cpp coind.cpp coind_aux.cpp coind_template.cpp coind_submit.cpp util.cpp list.cpp \ From becfd8ae857d3e4edcb4a7529b378a16f6fcf3c0 Mon Sep 17 00:00:00 2001 From: longtune <31818645+longtune@users.noreply.github.com> Date: Sun, 10 Jun 2018 22:55:15 +0800 Subject: [PATCH 2/2] Create balloon.conf --- stratum/config.sample/balloon.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 stratum/config.sample/balloon.conf diff --git a/stratum/config.sample/balloon.conf b/stratum/config.sample/balloon.conf new file mode 100644 index 000000000..3387a43bc --- /dev/null +++ b/stratum/config.sample/balloon.conf @@ -0,0 +1,16 @@ + +[TCP] +server = yaamp.com +port = 4234 +password = tu8tu5 + +[SQL] +host = yaampdb +database = yaamp +username = root +password = patofpaq + +[STRATUM] +algo = balloon +difficulty = 0.000005 +max_ttf = 40000000