Duke
3 months ago
6 changed files with 74 additions and 48 deletions
@ -0,0 +1,6 @@ |
|||
#!/bin/bash |
|||
# Copyright (c) 2016-2024 The Hush developers |
|||
# Distributed under the GPLv3 software license, see the accompanying |
|||
# file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html |
|||
|
|||
P2PPORT=21768 RPCPORT=21769 ./hush_scanner |
@ -0,0 +1,35 @@ |
|||
# This is a list of nodes which hushd attempts to connect to automatically |
|||
# at start up time. You can check to see if they are up/down with: |
|||
# cd contrib; cat hush_seed_nodes.txt | ./hush_scanner |
|||
|
|||
# IP/tor/i2p seeds from src/chainparamsseeds.h |
|||
185.241.61.43 |
|||
87.251.76.166 |
|||
45.82.68.233 |
|||
87.251.76.33 |
|||
137.74.4.198 |
|||
149.28.102.219 |
|||
155.138.228.68 |
|||
107.174.70.251 |
|||
# hush_scanner uses nc which cannot deal with these |
|||
# 56wqzfj6mhxgsv3h3nh3pdocguogxfxud55libqjhjsdh5alfsko2iqd.onion |
|||
# hushv3h6mbxd2pptj42reko3jcexcgnz5zvp3mqcu6myto3jhhn4yzyd.onion |
|||
# hushv3xvheqh42ms3ld2nh555muscietkib7gycb7s4psbrjsysfywqd.onion |
|||
# iljqq7nnmw2ij2ezl334cerwwmgzmmbmoc3n4saditd2xhi3xohq.b32.i2p |
|||
# [2a0c:b641:6f1:34::2] |
|||
# [2a0c:b641:6f1:c::2] |
|||
|
|||
# Hostname Seeds from src/hush_utils.h |
|||
node1.hush.is |
|||
node2.hush.is |
|||
node3.hush.is |
|||
node4.hush.is |
|||
node5.hush.is |
|||
node6.hush.is |
|||
node7.hush.is |
|||
node8.hush.is |
|||
node1.hush.land |
|||
node2.hush.land |
|||
node3.hush.land |
|||
node4.hush.land |
|||
node5.hush.land |
@ -1,41 +0,0 @@ |
|||
SHELL = /bin/sh |
|||
CC = gcc |
|||
CC_DARWIN = g++-6 |
|||
CC_WIN = x86_64-w64-mingw32-gcc-posix |
|||
CFLAGS = -arch x86_64 |
|||
CXXFLAGS_DARWIN = -std=c++11 -arch x86_64 -I/usr/local/Cellar/gcc\@6/6.4.0_2/include/c++/6.4.0/ -I../../depends/$(shell echo `../..//depends/config.guess`/include) -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I -I../leveldb/include -I.. -I. -fPIC -c -Wl,-undefined -Wl,dynamic_lookup -dynamiclib |
|||
CXXFLAGS = -std=c++11 -I../../depends/$(shell echo `../..//depends/config.guess`/include) -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I../leveldb/include -I.. -I. -fPIC -shared -c |
|||
CXXFLAGS_WIN = -std=c++11 -I../../depends/$(shell echo `../..//depends/config.guess`/include) -I../univalue/include -I../cryptoconditions/include -I../cryptoconditions/src -I../cryptoconditions/src/asn -I../leveldb/include -I.. -I. -fPIC -shared -c |
|||
DEBUGFLAGS = -O0 -D _DEBUG |
|||
RELEASEFLAGS = -O2 -D NDEBUG -combine -fwhole-program |
|||
$(info $(OS)) |
|||
OS := $(shell uname -s) |
|||
$(info $(OS)) |
|||
TARGET = ../libcc.so |
|||
TARGET_DARWIN = ../libcc.dylib |
|||
TARGET_WIN = ../libcc.dll |
|||
SOURCES = cclib.cpp ../cJSON.c |
|||
OBJS = cclib.o ../cJSON.o |
|||
|
|||
all: $(TARGET) |
|||
|
|||
%.o: %.c |
|||
$(CC) -o $@ $< $(CFLAGS) $(DEBUGFLAGS) |
|||
|
|||
%.o: %.cpp |
|||
$(CC) -o $@ $< $(CXXFLAGS) $(DEBUGFLAGS) |
|||
|
|||
$(TARGET): $(OBJS) |
|||
$(info Building cclib to src/) |
|||
ifeq ($(OS),Darwin) |
|||
$(CC_DARWIN) $(CXXFLAGS_DARWIN) $(DEBUGFLAGS) -o $(TARGET_DARWIN) $(OBJS) |
|||
else ifeq ($(OS),Linux) |
|||
$(CC) $(CXXFLAGS) $(DEBUGFLAGS) -o $(TARGET) $(OBJS) |
|||
#else ifeq ($(WIN_HOST),True) - todo: pass ENV var from build.sh if WIN host
|
|||
else |
|||
$(info WINDOWS) |
|||
$(CC_WIN) $(CXXFLAGS_WIN) $(DEBUGFLAGS) -o $(TARGET_WIN) $(OBJS) |
|||
endif |
|||
|
|||
clean: |
|||
rm -rf $(TARGET) |
Loading…
Reference in new issue