Skip to content

Commit

Permalink
rebranding
Browse files Browse the repository at this point in the history
  • Loading branch information
tnjtnj committed Sep 19, 2018
1 parent 648b449 commit cca2263
Show file tree
Hide file tree
Showing 134 changed files with 4,413 additions and 4,408 deletions.
10 changes: 5 additions & 5 deletions .gitignore
@@ -1,7 +1,7 @@
src/*.exe
src/trocaninja
src/trocaninjad
src/test_trocaninja
src/tnj
src/tnjd
src/test_tnj
src/build.h
.*.swp
*.*~*
Expand All @@ -10,11 +10,11 @@ src/build.h
*.orig
*.o
*.patch
.trocaninja
.tnj
#compilation and Qt preprocessor part
*.qm
Makefile
trocaninja-qt
tnj-qt
#resources cpp
qrc_*.cpp
#qt creator
Expand Down
2 changes: 1 addition & 1 deletion COPYING
@@ -1,4 +1,4 @@
Copyright (c) 2018 TrocaNinja Developers
Copyright (c) 2018 TNJ Developers
Copyright (c) 2013-2014 NovaCoin Developers
Copyright (c) 2011-2012 PPCoin Developers
Copyright (c) 2009-2014 Bitcoin Developers
Expand Down
10 changes: 5 additions & 5 deletions INSTALL
@@ -1,9 +1,9 @@
Building TrocaNinja
Building TNJ

See doc/readme-qt.rst for instructions on building TrocaNinja QT,
See doc/readme-qt.rst for instructions on building TNJ QT,
the intended-for-end-users, nice-graphical-interface, reference
implementation of TrocaNinja.
implementation of TNJ.

See doc/build-*.txt for instructions on building trocaninjad,
See doc/build-*.txt for instructions on building tnjd,
the intended-for-services, no-graphical-interface, reference
implementation of TrocaNinja.
implementation of TNJ.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Troca.Ninja
Copyright (c) 2018 TNJ

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
104 changes: 52 additions & 52 deletions Makefile.Debug

Large diffs are not rendered by default.

104 changes: 52 additions & 52 deletions Makefile.Release

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions README.md
@@ -1,14 +1,14 @@

TrocaNinja - TNJ

Exchange and Coin: www.troca.ninja
TNJ (TNJ)
Exchange and Coin: www.tnjtnj.com



#Install Linux - Ubuntu

#sudo apt-get update
#sudo apt-get upgrad

#sudo apt-get upgrade


#sudo apt-get install build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev git libssl1.0.0-dbg
Expand All @@ -19,9 +19,9 @@ Exchange and Coin: www.troca.ninja

#cd source_code

#wget https://github.com/trocaninja/trocaninja/releases/download/v1.0.0.0/trocaninja-source.tar.gz
#wget https://github.com/tnj/tnj/releases/download/v1.0.0.0/tnj-source.tar.gz

#tar -xzvf trocaninja-source.tar.gz
#tar -xzvf tnj-source.tar.gz

#cd src

Expand Down
4 changes: 2 additions & 2 deletions TrocaNinja-qt.pro → TNJ-qt.pro
@@ -1,5 +1,5 @@
TEMPLATE = app
TARGET = trocaninja-qt
TARGET = tnj-qt
VERSION = 1.0.7
INCLUDEPATH += src src/json src/qt
DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE
Expand Down Expand Up @@ -404,7 +404,7 @@ macx:OBJECTIVE_SOURCES += src/qt/macdockiconhandler.mm
macx:LIBS += -framework Foundation -framework ApplicationServices -framework AppKit
macx:DEFINES += MAC_OSX MSG_NOSIGNAL=0
macx:ICON = src/qt/res/icons/bitcoin.icns
macx:TARGET = "TrocaNinja-Qt"
macx:TARGET = "TNJ-Qt"
macx:QMAKE_CFLAGS_THREAD += -pthread
macx:QMAKE_LFLAGS_THREAD += -pthread
macx:QMAKE_CXXFLAGS_THREAD += -pthread
Expand Down
4 changes: 2 additions & 2 deletions doc/README
@@ -1,4 +1,4 @@
TrocaNinja 0.4.4 BETA
TNJ 0.4.4 BETA

Copyright (c) 2013 NovaCoin Developers
Copyright (c) 2011-2012 PPCoin Developers
Expand All @@ -11,7 +11,7 @@ cryptographic software written by Eric Young (eay@cryptsoft.com).

Intro
-----
TrocaNinja is a free open source project derived from Bitcoin, with
TNJ is a free open source project derived from Bitcoin, with
the goal of providing a long-term energy-efficient scrypt-based crypto-currency.
Built on the foundation of Bitcoin, PPCoin and NovaCoin, innovations such as proof-of-stake
help further advance the field of crypto-currency.
Expand Down
4 changes: 2 additions & 2 deletions doc/README_windows.txt
@@ -1,4 +1,4 @@
TrocaNinja 0.4.4 BETA
TNJ 0.4.4 BETA

Copyright (c) 2013 NovaCoin Developers
Copyright (c) 2011-2013 PPCoin Developers
Expand All @@ -11,7 +11,7 @@ cryptographic software written by Eric Young (eay@cryptsoft.com).

Intro
-----
TrocaNinja is a free open source project derived from Bitcoin, with
TNJ is a free open source project derived from Bitcoin, with
the goal of providing a long-term energy-efficient scrypt-based crypto-currency.
Built on the foundation of Bitcoin, PPCoin and NovaCoin, innovations such as proof-of-stake and scrypt
help further advance the field of crypto-currency.
Expand Down
2 changes: 1 addition & 1 deletion doc/assets-attribution.txt
Expand Up @@ -54,6 +54,6 @@ Designer: Crobbo (forum)
Site: https://bitcointalk.org/index.php?topic=32273.0
License: Public domain

TrocaNinja Logo
TNJ Logo
Designer: Evan
License: Creative Commons Attribution 4.0 International License
8 changes: 4 additions & 4 deletions doc/build-msw.txt
Expand Up @@ -7,7 +7,7 @@ cryptographic software written by Eric Young (eay@cryptsoft.com) and UPnP
software written by Thomas Bernard.


See readme-qt.rst for instructions on building TrocaNinja QT, the
See readme-qt.rst for instructions on building TNJ QT, the
graphical user interface.

WINDOWS BUILD NOTES
Expand Down Expand Up @@ -76,9 +76,9 @@ make -f Makefile.mingw
mkdir miniupnpc
cp *.h miniupnpc/

TrocaNinja
TNJ
-------
DOS prompt:
cd \trocaninja\src
cd \tnj\src
mingw32-make -f makefile.mingw
strip trocaninjad.exe
strip tnjd.exe
16 changes: 8 additions & 8 deletions doc/build-osx.txt
Expand Up @@ -7,12 +7,12 @@ software written by Eric Young (eay@cryptsoft.com) and UPnP software written by
Thomas Bernard.


Mac OS X trocaninjad build instructions
Mac OS X tnjd build instructions
Laszlo Hanyecz <solar@heliacal.net>
Douglas Huff <dhuff@jrbobdobbs.org>


See readme-qt.rst for instructions on building TrocaNinja QT, the
See readme-qt.rst for instructions on building TNJ QT, the
graphical user interface.

Tested on 10.5 and 10.6 intel. PPC is not supported because it's big-endian.
Expand All @@ -27,7 +27,7 @@ but you can get the current version from http://developer.apple.com

1. Clone the github tree to get the source code:

git clone git@github.com:rat4/trocaninja.git trocaninja
git clone git@github.com:rat4/tnj.git tnj

2. Download and install MacPorts from http://www.macports.org/

Expand All @@ -41,14 +41,14 @@ sudo port install boost db48 openssl miniupnpc
Optionally install qrencode (and set USE_QRCODE=1):
sudo port install qrencode

4. Now you should be able to build trocaninjad:
4. Now you should be able to build tnjd:

cd trocaninja/src
cd tnj/src
make -f makefile.osx

Run:
./trocaninjad --help # for a list of command-line options.
./tnjd --help # for a list of command-line options.
Run
./trocaninjad -daemon # to start the trocaninja daemon.
./tnjd -daemon # to start the tnj daemon.
Run
./trocaninjad help # When the daemon is running, to get a list of RPC commands
./tnjd help # When the daemon is running, to get a list of RPC commands
20 changes: 10 additions & 10 deletions doc/build-unix.txt
Expand Up @@ -14,10 +14,10 @@ To Build
--------

cd src/
make -f makefile.unix # Headless trocaninja
make -f makefile.unix # Headless tnj

See readme-qt.rst for instructions on building TrocaNinja QT,
the graphical trocaninja.
See readme-qt.rst for instructions on building TNJ QT,
the graphical tnj.

Dependencies
------------
Expand Down Expand Up @@ -76,14 +76,14 @@ Dependency Build Instructions: Gentoo
emerge -av1 --noreplace boost openssl sys-libs/db

Take the following steps to build (no UPnP support):
cd ${TROCANINJA_DIR}/src
cd ${TNJ_DIR}/src
make -f makefile.unix USE_UPNP=
strip trocaninjad
strip tnjd


Notes
-----
The release is built with GCC and then "strip trocaninjad" to strip the debug
The release is built with GCC and then "strip tnjd" to strip the debug
symbols, which reduces the executable size by about 90%.


Expand Down Expand Up @@ -113,7 +113,7 @@ sudo su

Security
--------
To help make your trocaninja installation more secure by making certain attacks impossible to
To help make your tnj installation more secure by making certain attacks impossible to
exploit even if a vulnerability is found, you can take the following measures:

* Position Independent Executable
Expand All @@ -130,21 +130,21 @@ exploit even if a vulnerability is found, you can take the following measures:
make -f makefile.unix ... -e PIE=1

To test that you have built PIE executable, install scanelf, part of paxutils, and use:
scanelf -e ./trocaninja
scanelf -e ./tnj

The output should contain:
TYPE
ET_DYN

* Non-executable Stack
If the stack is executable then trivial stack based buffer overflow exploits are possible if
vulnerable buffers are found. By default, trocaninja should be built with a non-executable stack
vulnerable buffers are found. By default, tnj should be built with a non-executable stack
but if one of the libraries it uses asks for an executable stack or someone makes a mistake
and uses a compiler extension which requires an executable stack, it will silently build an
executable without the non-executable stack protection.

To verify that the stack is non-executable after compiling use:
scanelf -e ./trocaninja
scanelf -e ./tnj

the output should contain:
STK/REL/PTL
Expand Down
14 changes: 7 additions & 7 deletions doc/readme-qt.rst
@@ -1,4 +1,4 @@
TrocaNinja-qt: Qt5 GUI for TrocaNinja
TNJ-qt: Qt5 GUI for TNJ
===============================

Build instructions
Expand All @@ -24,9 +24,9 @@ then execute the following:
qmake
make

Alternatively, install Qt Creator and open the `trocaninja-qt.pro` file.
Alternatively, install Qt Creator and open the `tnj-qt.pro` file.

An executable named `trocaninja-qt` will be built.
An executable named `tnj-qt` will be built.


Windows
Expand Down Expand Up @@ -69,7 +69,7 @@ Build configuration options
UPNnP port forwarding
---------------------

To use UPnP for port forwarding behind a NAT router (recommended, as more connections overall allow for a faster and more stable trocaninja experience), pass the following argument to qmake:
To use UPnP for port forwarding behind a NAT router (recommended, as more connections overall allow for a faster and more stable tnj experience), pass the following argument to qmake:

::

Expand Down Expand Up @@ -117,9 +117,9 @@ flag to qmake to control this:
Berkely DB version warning
==========================

A warning for people using the *static binary* version of TrocaNinja on a Linux/UNIX-ish system (tl;dr: **Berkely DB databases are not forward compatible**).
A warning for people using the *static binary* version of TNJ on a Linux/UNIX-ish system (tl;dr: **Berkely DB databases are not forward compatible**).

The static binary version of TrocaNinja is linked against libdb 5.0 (see also `this Debian issue`_).
The static binary version of TNJ is linked against libdb 5.0 (see also `this Debian issue`_).

Now the nasty thing is that databases from 5.X are not compatible with 4.X.

Expand All @@ -134,7 +134,7 @@ Ubuntu 11.10 warning
====================

Ubuntu 11.10 has a package called 'qt-at-spi' installed by default. At the time of writing, having that package
installed causes trocaninja-qt to crash intermittently. The issue has been reported as `launchpad bug 857790`_, but
installed causes tnj-qt to crash intermittently. The issue has been reported as `launchpad bug 857790`_, but
isn't yet fixed.

Until the bug is fixed, you can remove the qt-at-spi package to work around the problem, though this will presumably
Expand Down
Expand Up @@ -79,7 +79,7 @@ INPUT(
./build/SerialNumberSignatureOfKnowledge.o
./build/SpendMetaData.o
./build/ZeroTest.o
./build/trocaninja-qt_plugin_import.o
./build/tnj-qt_plugin_import.o
./build/qrc_bitcoin.o
./build/moc_bitcoingui.o
./build/moc_transactiontablemodel.o
Expand Down
Expand Up @@ -79,7 +79,7 @@ INPUT(
./build/SerialNumberSignatureOfKnowledge.o
./build/SpendMetaData.o
./build/ZeroTest.o
./build/trocaninja-qt_plugin_import.o
./build/tnj-qt_plugin_import.o
./build/qrc_bitcoin.o
./build/moc_bitcoingui.o
./build/moc_transactiontablemodel.o
Expand Down

0 comments on commit cca2263

Please sign in to comment.