Skip to content
Permalink
Browse files

Change Magi coinbase to Noblecoin

  • Loading branch information...
joelao95 committed Jan 18, 2015
1 parent 3e7b25c commit fc81e1adf03afbeae34536b0e0a441b78ab68efb
Showing with 622 additions and 26,220 deletions.
  1. +11 −12 .gitignore
  2. +1 −1 COPYING
  3. +5 −5 INSTALL
  4. +3 −9 README.md
  5. +2 −2 contrib/bitrpc/bitrpc.py
  6. +4 −4 contrib/debian/bin/mintcoin-qt
  7. +3 −3 contrib/debian/bin/mintcoind
  8. +1 −1 contrib/debian/changelog
  9. +10 −10 contrib/debian/control
  10. +8 −8 contrib/debian/examples/mintcoin.conf
  11. +14 −14 contrib/debian/manpages/mintcoin.conf.5
  12. +23 −23 contrib/debian/manpages/mintcoind.1
  13. +7 −7 contrib/debian/mintcoin-qt.desktop
  14. +3 −3 contrib/debian/mintcoin-qt.install
  15. +1 −1 contrib/debian/mintcoin-qt.lintian-overrides
  16. +2 −2 contrib/debian/mintcoin-qt.protocol
  17. +1 −1 contrib/debian/mintcoind.examples
  18. +2 −2 contrib/debian/mintcoind.install
  19. +1 −1 contrib/debian/mintcoind.lintian-overrides
  20. +2 −2 contrib/debian/mintcoind.manpages
  21. +11 −11 contrib/debian/rules
  22. +1 −1 contrib/debian/watch
  23. +1 −1 contrib/macdeploy/fancy.plist
  24. +3 −3 contrib/macdeploy/notes.txt
  25. +1 −1 contrib/seeds/makeseeds.py
  26. +12 −15 doc/README
  27. +13 −15 doc/README_windows.txt
  28. +1 −1 doc/coding.txt
  29. +5 −5 magi-qt.pro → noblecoin-qt.pro
  30. +0 −429 qt-builds/version-og/magi-qt.pro
  31. +0 −1 qt-builds/version-og/readme
  32. +24 −25 share/setup.nsi
  33. +8 −8 src/Makefile.Debug
  34. +2 −2 src/base58.h
  35. +8 −13 src/bitcoinrpc.cpp
  36. +0 −2 src/bitcoinrpc.h
  37. +0 −20 src/checkpoints.cpp
  38. +2 −2 src/clientversion.h
  39. +0 −131 src/hash_magi.h
  40. +20 −25 src/init.cpp
  41. +5 −5 src/irc.cpp
  42. +4 −97 src/kernel.cpp
  43. +1 −2 src/kernel.h
  44. +1 −1 src/magimath.cpp
  45. +1 −1 src/magimath.h
  46. +55 −605 src/main.cpp
  47. +9 −69 src/main.h
  48. +5 −5 src/makefile.bsd
  49. +5 −5 src/makefile.linux-mingw
  50. +6 −6 src/makefile.mingw
  51. +6 −6 src/makefile.osx
  52. +6 −6 src/makefile.unix
  53. +6 −8 src/net.cpp
  54. +1 −1 src/protocol.h
  55. +0 −31 src/qt-og/aboutdialog.cpp
  56. +0 −28 src/qt-og/aboutdialog.h
  57. +0 −379 src/qt-og/addressbookpage.cpp
  58. +0 −85 src/qt-og/addressbookpage.h
  59. +0 −406 src/qt-og/addresstablemodel.cpp
  60. +0 −91 src/qt-og/addresstablemodel.h
  61. +0 −257 src/qt-og/askpassphrasedialog.cpp
  62. +0 −46 src/qt-og/askpassphrasedialog.h
  63. +0 −272 src/qt-og/bitcoin.cpp
  64. +0 −56 src/qt-og/bitcoin.qrc
  65. +0 −77 src/qt-og/bitcoinaddressvalidator.cpp
  66. +0 −24 src/qt-og/bitcoinaddressvalidator.h
  67. +0 −168 src/qt-og/bitcoinamountfield.cpp
  68. +0 −60 src/qt-og/bitcoinamountfield.h
  69. +0 −1,013 src/qt-og/bitcoingui.cpp
  70. +0 −194 src/qt-og/bitcoingui.h
  71. +0 −177 src/qt-og/bitcoinstrings.cpp
  72. +0 −188 src/qt-og/bitcoinunits.cpp
  73. +0 −66 src/qt-og/bitcoinunits.h
  74. +0 −205 src/qt-og/clientmodel.cpp
  75. +0 −72 src/qt-og/clientmodel.h
  76. +0 −742 src/qt-og/coincontroldialog.cpp
  77. +0 −92 src/qt-og/coincontroldialog.h
  78. +0 −28 src/qt-og/coincontroltreewidget.cpp
  79. +0 −17 src/qt-og/coincontroltreewidget.h
  80. +0 −88 src/qt-og/csvmodelwriter.cpp
  81. +0 −46 src/qt-og/csvmodelwriter.h
  82. +0 −128 src/qt-og/editaddressdialog.cpp
  83. +0 −50 src/qt-og/editaddressdialog.h
  84. +0 −190 src/qt-og/forms/aboutdialog.ui
  85. +0 −175 src/qt-og/forms/addressbookpage.ui
  86. +0 −167 src/qt-og/forms/askpassphrasedialog.ui
  87. +0 −552 src/qt-og/forms/coincontroldialog.ui
  88. +0 −105 src/qt-og/forms/editaddressdialog.ui
  89. +0 −470 src/qt-og/forms/optionsdialog.ui
  90. +0 −347 src/qt-og/forms/overviewpage.ui
  91. +0 −212 src/qt-og/forms/qrcodedialog.ui
  92. +0 −456 src/qt-og/forms/rpcconsole.ui
  93. +0 −806 src/qt-og/forms/sendcoinsdialog.ui
  94. +0 −169 src/qt-og/forms/sendcoinsentry.ui
  95. +0 −386 src/qt-og/forms/signverifymessagedialog.ui
  96. +0 −74 src/qt-og/forms/transactiondescdialog.ui
  97. +0 −34 src/qt-og/guiconstants.h
  98. +0 −476 src/qt-og/guiutil.cpp
  99. +0 −120 src/qt-og/guiutil.h
  100. +0 −2,750 src/qt-og/locale/bitcoin_en.ts
  101. +0 −2,753 src/qt-og/locale/bitcoin_ru.ts
  102. +0 −48 src/qt-og/macdockiconhandler.h
  103. +0 −131 src/qt-og/macdockiconhandler.mm
  104. +0 −25 src/qt-og/macnotificationhandler.h
  105. +0 −65 src/qt-og/macnotificationhandler.mm
  106. +0 −36 src/qt-og/monitoreddatamapper.cpp
  107. +0 −31 src/qt-og/monitoreddatamapper.h
  108. +0 −317 src/qt-og/notificator.cpp
  109. +0 −71 src/qt-og/notificator.h
  110. +0 −257 src/qt-og/optionsdialog.cpp
  111. +0 −60 src/qt-og/optionsdialog.h
  112. +0 −309 src/qt-og/optionsmodel.cpp
  113. +0 −69 src/qt-og/optionsmodel.h
  114. +0 −211 src/qt-og/overviewpage.cpp
  115. +0 −52 src/qt-og/overviewpage.h
  116. +0 −171 src/qt-og/qrcodedialog.cpp
  117. +0 −41 src/qt-og/qrcodedialog.h
  118. +0 −162 src/qt-og/qtipcserver.cpp
  119. +0 −10 src/qt-og/qtipcserver.h
  120. +0 −45 src/qt-og/qvalidatedlineedit.cpp
  121. +0 −29 src/qt-og/qvalidatedlineedit.h
  122. +0 −27 src/qt-og/qvaluecombobox.cpp
  123. +0 −33 src/qt-og/qvaluecombobox.h
  124. +0 −37 src/qt-og/res/bitcoin-qt.rc
  125. BIN src/qt-og/res/icons/Ledger.png
  126. BIN src/qt-og/res/icons/add.png
  127. BIN src/qt-og/res/icons/address-book.png
  128. BIN src/qt-og/res/icons/clock1.png
  129. BIN src/qt-og/res/icons/clock2.png
  130. BIN src/qt-og/res/icons/clock3.png
  131. BIN src/qt-og/res/icons/clock4.png
  132. BIN src/qt-og/res/icons/clock5.png
  133. BIN src/qt-og/res/icons/configure.png
  134. BIN src/qt-og/res/icons/connect0_16.png
  135. BIN src/qt-og/res/icons/connect1_16.png
  136. BIN src/qt-og/res/icons/connect2_16.png
  137. BIN src/qt-og/res/icons/connect3_16.png
  138. BIN src/qt-og/res/icons/connect4_16.png
  139. BIN src/qt-og/res/icons/debugwindow.png
  140. BIN src/qt-og/res/icons/edit.png
  141. BIN src/qt-og/res/icons/editcopy.png
  142. BIN src/qt-og/res/icons/editpaste.png
  143. BIN src/qt-og/res/icons/export.png
  144. BIN src/qt-og/res/icons/filesave.png
  145. BIN src/qt-og/res/icons/history.png
  146. BIN src/qt-og/res/icons/key.png
  147. BIN src/qt-og/res/icons/lock_closed.png
  148. BIN src/qt-og/res/icons/lock_open.png
  149. BIN src/qt-og/res/icons/magi-128.png
  150. BIN src/qt-og/res/icons/magi-16.png
  151. BIN src/qt-og/res/icons/magi.icns
  152. BIN src/qt-og/res/icons/magi.ico
  153. BIN src/qt-og/res/icons/magi.png
  154. BIN src/qt-og/res/icons/magi_32.png
  155. BIN src/qt-og/res/icons/mining.png
  156. BIN src/qt-og/res/icons/mining_active.png
  157. BIN src/qt-og/res/icons/mining_inactive.png
  158. BIN src/qt-og/res/icons/notsynced.png
  159. BIN src/qt-og/res/icons/overview.png
  160. BIN src/qt-og/res/icons/photothumb.db
  161. BIN src/qt-og/res/icons/qrcode.png
  162. BIN src/qt-og/res/icons/quit.png
  163. BIN src/qt-og/res/icons/receive.png
  164. BIN src/qt-og/res/icons/remove.png
  165. BIN src/qt-og/res/icons/send.png
  166. BIN src/qt-og/res/icons/synced.png
  167. BIN src/qt-og/res/icons/toolbar_magi.png
  168. BIN src/qt-og/res/icons/toolbar_magi_testnet.png
  169. BIN src/qt-og/res/icons/transaction0.png
  170. BIN src/qt-og/res/icons/transaction2.png
  171. BIN src/qt-og/res/icons/tx_inout.png
  172. BIN src/qt-og/res/icons/tx_input.png
  173. BIN src/qt-og/res/icons/tx_mined.png
  174. BIN src/qt-og/res/icons/tx_output.png
  175. BIN src/qt-og/res/images/about.png
  176. BIN src/qt-og/res/images/splash.png
  177. BIN src/qt-og/res/movies/update_spinner.mng
  178. +0 −115 src/qt-og/res/src/bitcoin.svg
  179. +0 −261 src/qt-og/res/src/clock1.svg
  180. +0 −262 src/qt-og/res/src/clock2.svg
  181. +0 −261 src/qt-og/res/src/clock3.svg
  182. +0 −261 src/qt-og/res/src/clock4.svg
  183. +0 −262 src/qt-og/res/src/clock5.svg
  184. +0 −262 src/qt-og/res/src/clock_green.svg
  185. +0 −122 src/qt-og/res/src/inout.svg
  186. +0 −159 src/qt-og/res/src/questionmark.svg
  187. +0 −437 src/qt-og/rpcconsole.cpp
  188. +0 −66 src/qt-og/rpcconsole.h
  189. +0 −519 src/qt-og/sendcoinsdialog.cpp
  190. +0 −68 src/qt-og/sendcoinsdialog.h
  191. +0 −175 src/qt-og/sendcoinsentry.cpp
  192. +0 −56 src/qt-og/sendcoinsentry.h
  193. +0 −274 src/qt-og/signverifymessagedialog.cpp
  194. +0 −49 src/qt-og/signverifymessagedialog.h
  195. +0 −16 src/qt-og/test/test_main.cpp
  196. +0 −71 src/qt-og/test/uritests.cpp
  197. +0 −15 src/qt-og/test/uritests.h
  198. +0 −278 src/qt-og/transactiondesc.cpp
  199. +0 −24 src/qt-og/transactiondesc.h
  200. +0 −20 src/qt-og/transactiondescdialog.cpp
  201. +0 −26 src/qt-og/transactiondescdialog.h
  202. +0 −86 src/qt-og/transactionfilterproxy.cpp
  203. +0 −52 src/qt-og/transactionfilterproxy.h
  204. +0 −236 src/qt-og/transactionrecord.cpp
  205. +0 −130 src/qt-og/transactionrecord.h
  206. +0 −639 src/qt-og/transactiontablemodel.cpp
  207. +0 −85 src/qt-og/transactiontablemodel.h
  208. +0 −435 src/qt-og/transactionview.cpp
  209. +0 −82 src/qt-og/transactionview.h
  210. +0 −463 src/qt-og/walletmodel.cpp
  211. +0 −185 src/qt-og/walletmodel.h
  212. +1 −1 src/qt/askpassphrasedialog.cpp
  213. +7 −7 src/qt/bitcoin.cpp
  214. +4 −5 src/qt/bitcoin.qrc
  215. +1 −2 src/qt/bitcoinamountfield.h
  216. +47 −67 src/qt/bitcoingui.cpp
  217. +13 −13 src/qt/bitcoinstrings.cpp
  218. +6 −6 src/qt/bitcoinunits.cpp
  219. +1 −1 src/qt/editaddressdialog.cpp
  220. +3 −3 src/qt/forms/aboutdialog.ui
  221. +4 −7 src/qt/forms/addressbookpage.ui
  222. +8 −5 src/qt/forms/coincontroldialog.ui
  223. +6 −6 src/qt/forms/optionsdialog.ui
  224. +18 −53 src/qt/forms/overviewpage.ui
  225. +4 −4 src/qt/forms/rpcconsole.ui
  226. +27 −15 src/qt/forms/sendcoinsdialog.ui
  227. +52 −52 src/qt/forms/sendcoinsentry.ui
  228. +2 −2 src/qt/forms/signverifymessagedialog.ui
  229. +6 −6 src/qt/guiutil.cpp
  230. +0 −46 src/qt/httpsocket.cpp
  231. +0 −29 src/qt/httpsocket.h
  232. +2 −2 src/qt/locale/bitcoin_en.ts
  233. +2 −2 src/qt/locale/bitcoin_ru.ts
  234. +2 −2 src/qt/optionsdialog.cpp
  235. +2 −5 src/qt/overviewpage.cpp
  236. +7 −7 src/qt/res/bitcoin-qt.rc
  237. BIN src/qt/res/icons/add.png
  238. BIN src/qt/res/icons/address-book.png
  239. BIN src/qt/res/icons/debugwindow.png
  240. BIN src/qt/res/icons/magi-128.png
  241. BIN src/qt/res/icons/magi-16.png
  242. BIN src/qt/res/icons/magi.icns
  243. BIN src/qt/res/icons/magi.ico
  244. BIN src/qt/res/icons/magi.png
  245. BIN src/qt/res/icons/magi_32.png
  246. BIN src/qt/res/icons/noblecoin.icns
  247. BIN src/qt/res/icons/noblecoin.ico
  248. BIN src/qt/res/icons/noblecoin.png
  249. BIN src/qt/res/icons/overview.png
  250. BIN src/qt/res/icons/receive.png
  251. BIN src/qt/res/icons/remove.png
  252. BIN src/qt/res/icons/send.png
  253. BIN src/qt/res/icons/toolbar_magi.png
  254. BIN src/qt/res/icons/toolbar_magi_testnet.png
  255. BIN src/qt/res/icons/toolbar_noblecoin.png
  256. BIN src/qt/res/icons/toolbar_noblecoin_testnet.png
  257. BIN src/qt/res/icons/transaction0.png
  258. BIN src/qt/res/images/about.png
  259. BIN src/qt/res/images/shadow.png
  260. BIN src/qt/res/images/splash.png
  261. BIN src/qt/res/images/wallet.png
  262. +1 −1 src/qt/rpcconsole.cpp
  263. +1 −1 src/qt/sendcoinsdialog.cpp
  264. +1 −1 src/qt/sendcoinsentry.cpp
  265. +3 −3 src/qt/signverifymessagedialog.cpp
  266. +1 −1 src/qt/transactionview.cpp
  267. +0 −37 src/rpcblockchain.cpp
  268. +4 −4 src/rpcdump.cpp
  269. +6 −94 src/rpcmining.cpp
  270. +2 −2 src/rpcrawtransaction.cpp
  271. +24 −24 src/rpcwallet.cpp
  272. +12 −15 src/util.cpp
  273. +0 −3 src/util.h
  274. +2 −2 src/version.cpp
  275. +6 −6 src/version.h
  276. +6 −21 src/wallet.cpp
  277. +1 −1 src/wallet.h
@@ -1,9 +1,9 @@
*.tar.gz
*.ext
src/*.exe
src/magi
src/magid
src/test_magi
src/noblecoin
src/noblecoind
src/test_noblecoin
.*.swp
*.*~*
*.bak
@@ -12,22 +12,22 @@ src/test_magi
*.o
*.patch
*.mod
.magi
.noblecoin

# Compilation and Qt preprocessor part
*.qm
Makefile
magi-qt
magi-qt_*
Magi-Qt.app
noblecoin-qt
noblecoin-qt_*
Noblecoin-Qt.app
qt-builds/version-og/Makefile
qt-builds/version-og/magi-qt
qt-builds/version-og/magi-qt_*
qt-builds/version-og/Magi-Qt.app
qt-builds/version-og/noblecoin-qt
qt-builds/version-og/noblecoin-qt_*
qt-builds/version-og/Noblecoin-Qt.app

# Unit-tests
Makefile.test
magi-qt_test
noblecoin-qt_test

# Resources cpp
qrc_*.cpp
@@ -39,4 +39,3 @@ qt-builds/version-og/qrc_*.cpp
# Mac specific
.DS_Store
build
qt-builds/version-og/build
@@ -1,4 +1,4 @@
Copyright (c) 2014 Magi Developers
Copyright (c) 2014 Noblecoin Developers
Copyright (c) 2013-2014 NovaCoin Developers
Copyright (c) 2011-2012 PPCoin Developers
Copyright (c) 2009-2014 Bitcoin Developers
10 INSTALL
@@ -1,9 +1,9 @@
Building Magi
Building Noblecoin

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

See doc/build-*.txt for instructions on building magid,
See doc/build-*.txt for instructions on building noblecoind,
the intended-for-services, no-graphical-interface, reference
implementation of Magi.
implementation of Noblecoin.
@@ -1,7 +1,7 @@

Magi development tree
Noblecoin development tree

Magi is a hybrid PoW/PoS-based cryptocurrency. Magi is also a CPU coin.
Noblecoin is a hybrid PoW/PoS-based cryptocurrency. Noblecoin is also a CPU coin.

Development process
===========================
@@ -16,7 +16,7 @@ or are controversial.

The master branch is regularly built and tested, but is not guaranteed
to be completely stable. Tags are regularly created to indicate new
stable release versions of Magi.
stable release versions of Noblecoin.

Feature branches are created when there are major new features being
worked on by several people.
@@ -31,10 +31,4 @@ Issues with no commits will be given a similar warning, and closed after
15 days from their last activity. Issues closed in this manner will be
labeled 'stale'.

Magi names: Coin Magi, Coin of the Magi.
Symbol: XMG

Bitcointalk thread: https://bitcointalk.org/index.php?topic=735170.0
Website: http://www.cryptomagic.com/

Coins Source Verification
@@ -10,9 +10,9 @@


if rpcpass == "":
access = ServiceProxy("http://127.0.0.1:8232")
access = ServiceProxy("http://127.0.0.1:55881")
else:
access = ServiceProxy("http://"+rpcuser+":"+rpcpass+"@127.0.0.1:8232")
access = ServiceProxy("http://"+rpcuser+":"+rpcpass+"@127.0.0.1:55881")
cmd = sys.argv[1].lower()

if cmd == "backupwallet":
@@ -4,13 +4,13 @@ set -e

umask 077

basedir=~/.magi
basedir=~/.noblecoin
dbfile="$basedir/DB_CONFIG"
cfgfile="$basedir/magi.conf"
cfgfile="$basedir/noblecoin.conf"

[ -e "$basedir" ] || mkdir "$basedir"

# magi does not clean up DB log files by default
# noblecoin does not clean up DB log files by default
[ -e "$dbfile" ] || echo 'set_flags DB_LOG_AUTOREMOVE' > "$dbfile"

exec /usr/lib/magi/magi-qt "$@"
exec /usr/lib/noblecoin/noblecoin-qt "$@"
@@ -4,11 +4,11 @@ set -e

umask 077

basedir=~/.magi
cfgfile="$basedir/magi.conf"
basedir=~/.noblecoin
cfgfile="$basedir/noblecoin.conf"

[ -e "$basedir" ] || mkdir "$basedir"

[ -e "$cfgfile" ] || perl -le 'print"rpcpassword=",map{(a..z,A..Z,0..9)[rand 62]}0..9' > "$cfgfile"

exec /usr/lib/magi/magid "$@"
exec /usr/lib/noblecoin/noblecoind "$@"
@@ -1,4 +1,4 @@
magi (1.4.0-1) unstable; urgency=low
noblecoin (1.4.0-1) unstable; urgency=low

[ Balthazar ]
* Initial release.
@@ -1,4 +1,4 @@
Source: magi
Source: noblecoin
Section: utils
Priority: optional
Maintainer: Irving A. Bermúdez S. <bigchirv@gmail.com>
@@ -18,15 +18,15 @@ Build-Depends: debhelper,
libqt4-dev,
libqrencode-dev
Standards-Version: 3.9.2
Homepage: http://magi.cc/
Vcs-Git: git://github.com/magiproject/magi.git
Vcs-Browser: http://github.com/magiproject/magi
Homepage: http://noblecoin.cc/
Vcs-Git: git://github.com/noblecoinproject/noblecoin.git
Vcs-Browser: http://github.com/noblecoinproject/noblecoin

Package: magid
Package: noblecoind
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: peer-to-peer network based digital currency - daemon
magi is a free open source peer-to-peer electronic cash system that
noblecoin is a free open source peer-to-peer electronic cash system that
is completely decentralized, without the need for a central server or
trusted parties. Users hold the crypto keys to their own money and
transact directly with each other, with the help of a P2P network to
@@ -37,14 +37,14 @@ Description: peer-to-peer network based digital currency - daemon
Full transaction history is stored locally at each client. This
requires 2+ GB of space, slowly growing.
.
This package provides magid, a combined daemon and CLI tool to
This package provides noblecoind, a combined daemon and CLI tool to
interact with the daemon.

Package: magi-qt
Package: noblecoin-qt
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: peer-to-peer network based digital currency - Qt GUI
magi is a free open source peer-to-peer electronic cash system that
noblecoin is a free open source peer-to-peer electronic cash system that
is completely decentralized, without the need for a central server or
trusted parties. Users hold the crypto keys to their own money and
transact directly with each other, with the help of a P2P network to
@@ -55,4 +55,4 @@ Description: peer-to-peer network based digital currency - Qt GUI
Full transaction history is stored locally at each client. This
requires 2+ GB of space, slowly growing.
.
This package provides magi-Qt, a GUI for magi based on Qt.
This package provides noblecoin-Qt, a GUI for noblecoin based on Qt.
@@ -1,9 +1,9 @@
# magi.conf configuration file. Lines beginning with # are comments.
# noblecoin.conf configuration file. Lines beginning with # are comments.


# Network-related settings:

# Run on the test network instead of the real magi network.
# Run on the test network instead of the real noblecoin network.
#testnet=1

# Connect via a socks4 proxy
@@ -16,7 +16,7 @@
# to specific peers:
#connect=188.120.246.137:7777

# Do not use Internet Relay Chat (irc.lfnet.org #magi channel) to
# Do not use Internet Relay Chat (irc.lfnet.org #noblecoin channel) to
# find other peers.
#noirc=1

@@ -26,7 +26,7 @@

# JSON-RPC options (for controlling a running process)

# server=1 tells Magi to accept JSON-RPC commands.
# server=1 tells Noblecoin to accept JSON-RPC commands.
#server=1

# You must set rpcuser and rpcpassword to secure the JSON-RPC api
@@ -42,12 +42,12 @@
# Listen for RPC connections on this TCP port:
rpcport=8332

# You can use Magi or magid to send commands to Magi/magid
# You can use Noblecoin or noblecoind to send commands to Noblecoin/noblecoind
# running on another host using this option:
rpcconnect=127.0.0.1

# Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate
# with Magi -server or magid
# with Noblecoin -server or noblecoind
#rpcssl=1

# OpenSSL settings used when rpcssl=1
@@ -58,14 +58,14 @@ rpcsslprivatekeyfile=server.pem

# Miscellaneous options

# Set gen=1 to attempt to generate magis
# Set gen=1 to attempt to generate noblecoins
gen=0

# Pre-generate this many public/private key pairs, so wallet backups will be valid for
# both prior transactions and several dozen future transactions.
keypool=100

# Pay an optional transaction fee every time you send magis.
# Pay an optional transaction fee every time you send noblecoins.
paytxfee=0.01

# Allow direct connections for the 'pay via IP address' feature.
@@ -1,19 +1,19 @@
.TH WHITECOIN.CONF "8" "April 2013" "magi.conf 3.19"
.TH WHITECOIN.CONF "8" "April 2013" "noblecoin.conf 3.19"
.SH NAME
magi.conf \- magi configuration file
noblecoin.conf \- noblecoin configuration file
.SH SYNOPSIS
All command-line options (except for '-datadir' and '-conf') may be specified in a configuration file, and all configuration file options may also be specified on the command line. Command-line options override values set in the configuration file.
.TP
The configuration file is a list of 'setting=value' pairs, one per line, with optional comments starting with the '#' character.
.TP
The configuration file is not automatically created; you can create it using your favorite plain-text editor. By default, magid(1) will look for a file named magi.conf(5) in the magi data directory, but both the data directory and the configuration file path may be changed using the '-datadir' and '-conf' command-line arguments.
The configuration file is not automatically created; you can create it using your favorite plain-text editor. By default, noblecoind(1) will look for a file named noblecoin.conf(5) in the noblecoin data directory, but both the data directory and the configuration file path may be changed using the '-datadir' and '-conf' command-line arguments.
.SH LOCATION
magi.conf should be located in $HOME/.magi
noblecoin.conf should be located in $HOME/.noblecoin
.SH NETWORK-RELATED SETTINGS
.TP
.TP
\fBtestnet=\fR[\fI'1'\fR|\fI'0'\fR]
Enable or disable run on the test network instead of the real *magi* network.
Enable or disable run on the test network instead of the real *noblecoin* network.
.TP
\fBproxy=\fR\fI'127.0.0.1:9050'\fR
Connect via a socks4 proxy.
@@ -25,14 +25,14 @@ Use as many *addnode=* settings as you like to connect to specific peers.
Use as many *connect=* settings as you like to connect ONLY to specific peers.
.TP
\fBnoirc=\fR[\fI'1'\fR|\fI'0'\fR]
Use or Do not use Internet Relay Chat (irc.lfnet.org #magi channel) to find other peers.
Use or Do not use Internet Relay Chat (irc.lfnet.org #noblecoin channel) to find other peers.
.TP
\fRmaxconnections=\fR\fI'value'\fR
Maximum number of inbound+outbound connections.
.SH JSON-RPC OPTIONS
.TP
\fBserver=\fR[\fI'1'\fR|\fI'0'\fR]
Tells *magi* to accept or not accept JSON-RPC commands.
Tells *noblecoin* to accept or not accept JSON-RPC commands.
.TP
\fBrpcuser=\fR\fI'username'\fR
You must set *rpcuser* to secure the JSON-RPC api.
@@ -41,7 +41,7 @@ You must set *rpcuser* to secure the JSON-RPC api.
You must set *rpcpassword* to secure the JSON-RPC api.
.TP
\fBrpctimeout=\fR\fI'30'\fR
How many seconds *magi* will wait for a complete RPC HTTP request, after the HTTP connection is established.
How many seconds *noblecoin* will wait for a complete RPC HTTP request, after the HTTP connection is established.
.TP
\fBrpcallowip=\fR\fI'192.168.1.*'\fR
By default, only RPC connections from localhost are allowed. Specify as many *rpcallowip=* settings as you like to allow connections from other hosts (and you may use * as a wildcard character).
@@ -50,10 +50,10 @@ By default, only RPC connections from localhost are allowed. Specify as many *rp
Listen for RPC connections on this TCP port.
.TP
\fBrpcconnect=\fR\fI'127.0.0.1'\fR
You can use *magi* or *magid(1)* to send commands to *magi*/*magid(1)* running on another host using this option.
You can use *noblecoin* or *noblecoind(1)* to send commands to *noblecoin*/*noblecoind(1)* running on another host using this option.
.TP
\fBrpcssl=\fR\fI'1'\fR
Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate with *magi* '-server' or *magid(1)*. Example of OpenSSL settings used when *rpcssl*='1':
Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate with *noblecoin* '-server' or *noblecoind(1)*. Example of OpenSSL settings used when *rpcssl*='1':
.TP
\fBrpcsslciphers=\fR\fI'TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH'\fR
.TP
@@ -64,26 +64,26 @@ Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate with *magi*
.SH MISCELLANEOUS OPTIONS
.TP
\fBgen=\fR[\fI'0'\fR|\fI'1'\fR]
Enable or disable attempt to generate magis.
Enable or disable attempt to generate noblecoins.
.TP
\fBkeypool=\fR\fI'100'\fR
Pre-generate this many public/private key pairs, so wallet backups will be valid for both prior transactions and several dozen future transactions.
.TP
\fBpaytxfee=\fR\fI'0.00'\fR
Pay an optional transaction fee every time you send magis. Transactions with fees are more likely than free transactions to be included in generated blocks, so may be validated sooner.
Pay an optional transaction fee every time you send noblecoins. Transactions with fees are more likely than free transactions to be included in generated blocks, so may be validated sooner.
.TP
\fBallowreceivebyip=\fR\fI'1'\fR
Allow direct connections for the 'pay via IP address' feature.
.TP
.SH USER INTERFACE OPTIONS
.TP
\fBmin=\fR[\fI'0'\fR|\fI'1'\fR]
Enable or disable start magid minimized.
Enable or disable start noblecoind minimized.
.TP
\fBminimizetotray=\fR[\fI'0'\fR|\fI'1'\fR]
Enable or disable minimize to the system tray.
.SH "SEE ALSO"
magid(1)
noblecoind(1)
.SH AUTHOR
This manual page was written by Micah Anderson <micah@debian.org> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.

0 comments on commit fc81e1a

Please sign in to comment.
You can’t perform that action at this time.