Compare commits

...

120 commits

Author SHA1 Message Date
Kumi 37080f8ea3 Update GPG keys 2018-01-29 21:01:56 +01:00
Kumi 7da26a1e52 Fix Android build scripts 2018-01-29 20:59:03 +01:00
Klaus-Uwe Mitterer 582bbd09cc Kick out checkpoints 2018-01-29 19:32:05 +01:00
Klaus-Uwe Mitterer 743d41f303 Link to downloads 2018-01-29 18:48:38 +01:00
Kumi 69a569b737 Add dependency to README 2018-01-29 17:57:59 +01:00
Kumi b1a66ad8ae Add dependency to README 2018-01-29 17:54:25 +01:00
Klaus-Uwe Mitterer cd4fc4ecd9 Fix strings 2018-01-29 17:07:24 +01:00
Kumi f2f9e1b1df Merge branch 'master' of kumig.it:kumitterer/danicoin 2018-01-26 10:54:12 +01:00
Kumi 3879840eca Update Node 1 IP 2018-01-26 10:53:41 +01:00
Klaus-Uwe Mitterer 76a39d127b Move i18n readme 2018-01-24 16:58:06 +01:00
Kumi 22fdbc666b Fix README.md 2018-01-24 16:55:58 +01:00
Kumi 3f0759e970 Merge branch 'master' into v2 2018-01-24 16:52:50 +01:00
Kumi c54f5de51f update URLs 2018-01-24 16:48:33 +01:00
Kumi 01a22b48b6 Update strings 2018-01-13 18:12:32 +01:00
Kumi f288fe467c Update util files 2018-01-13 18:12:23 +01:00
Kumi be01253f21 Update snap 2018-01-03 14:13:57 +01:00
Kumi fbe27f457d Fix version 2018-01-03 13:01:20 +01:00
Kumi 79d9cdb2e2 Add missing semicolon 2018-01-03 13:01:06 +01:00
Kumi d24a94dc7f Fix copyright blocks 2018-01-03 12:17:50 +01:00
Kumi 212e89a76e Set variables 2018-01-03 09:41:04 +01:00
Kumi ca36d16efc Set project name 2018-01-03 09:25:07 +01:00
Kumi 06a3365ce5 Add systemd service file for danicoind 2017-12-31 10:21:43 +01:00
Kumi 482a44246a Add install option to Makefile 2017-12-31 10:18:53 +01:00
Kumi d498204b7f Add install option to Makefile 2017-12-31 10:18:42 +01:00
Kumi b01769a03f Fix output file names 2017-12-31 09:27:55 +01:00
Klaus-Uwe Mitterer 788644860b Update README.md 2017-12-31 00:00:03 +01:00
Kumi a6bb9525fe Fix config file 2017-12-30 20:58:27 +01:00
Kumi f2ed269f68 Add default danicoin.conf file 2017-12-30 20:39:54 +01:00
Kumi b32eb95bb8 Merge branch 'master' of kumig.it:kumitterer/danicoin 2017-12-30 19:49:58 +01:00
Kumi 51eda4f1b6 Add second seed node 2017-12-30 19:48:59 +01:00
Klaus-Uwe Mitterer daeeaf68bb Delete ReleaseNotes.txt 2017-12-28 22:03:24 +01:00
Klaus-Uwe Mitterer 012534f519 Update README.md 2017-12-28 22:02:26 +01:00
Kumi d72276be73 Add genesis 2017-12-28 21:49:16 +01:00
Kumi f02f2efdcd Fix undefined reference in ConnectivityTool 2017-12-28 21:14:37 +01:00
Kumi 6d3f9114f0 Fix wallet name 2017-12-28 20:52:13 +01:00
Kumi 5f7dce39ed Add missing import 2017-12-28 20:51:19 +01:00
Kumi 084594c3d8 Use pointer for rs_comm_size 2017-12-28 20:46:17 +01:00
Kumi 4a2da94cd0 Do not treat warnings as errors when compiling 2017-12-28 20:41:39 +01:00
Kumi e4e4a49b38 Set variables 2017-12-28 20:37:11 +01:00
Riccardo Spagni c328163ffa
Merge pull request #2724
cb23be8f Wallet API: always use approximate calc of blockchain height (Jaquee)
2017-10-25 15:26:58 +02:00
Jaquee cb23be8f4d Wallet API: always use approximate calc of blockchain height 2017-10-24 19:07:10 +02:00
cryptonotefoundation 8edd998304 Merge remote-tracking branch 'bytecoin/master' 2016-01-18 15:33:29 +00:00
Antonio Juarez 64feea7374 Issue #57. Add missing 'override' keyword 2015-12-14 18:40:07 +01:00
Antonio Juarez 6d4e1d1ea3 Bytecoin v.1.0.9 release 2015-12-09 14:19:03 +01:00
cryptonotefoundation 531dacc47d [Issue #13] Correct 'Daemon' target in src/CMakeLists.txt 2015-11-19 10:28:31 +00:00
Antonio Juarez 00915e6d34 Change donation 2015-10-01 16:27:18 +01:00
cryptonotefoundation cde1b8ecde Merge remote-tracking branch 'bytecoin/master' 2015-09-18 11:55:31 +00:00
Antonio Juarez 6c35e24634 IWallet implementation improvements 2015-09-04 17:14:17 +01:00
Antonio Juarez a6588cfc58 Bytecoin v.1.0.8 release 2015-08-27 19:55:14 +01:00
Antonio Juarez a4b74eaa11 Daemon synchronization and SimpleWallet improvements 2015-08-19 18:06:24 +01:00
Antonio Juarez deda499fc9 Bytecoin v.1.0.7 release 2015-08-11 15:33:19 +01:00
Antonio Juarez 49572fc425 IWallet implementation improvements 2015-08-05 14:09:05 +01:00
Antonio Juarez 50cdbfa424 Bytecoin v.1.0.6 release 2015-07-30 16:22:07 +01:00
Antonio Juarez b3a91f67d7 P2P network stability improvement 2015-07-20 17:52:27 +01:00
Antonio Juarez f697d93978 Bytecoin v.1.0.5 release 2015-07-15 13:23:00 +01:00
Antonio Juarez 6d45be9ec0 Simplewallet improvements 2015-07-09 15:52:47 +01:00
Antonio Juarez ad291f5285 Bytecoin RPC Wallet 2015-05-27 13:28:09 +01:00
cryptonotefoundation fbd72656b2 Merge remote-tracking branch 'bytecoin/master' 2015-04-23 20:07:22 +04:00
Antonio Juarez 89271f54f3 Simplewallet improvements 2015-04-14 19:00:44 +01:00
Antonio Juarez e15c01585f Balance format improvement 2015-04-08 16:08:54 +01:00
Antonio Juarez 1743402759 Multisignature API, Low level and High level APIs 2015-04-06 17:13:07 +01:00
cryptonotefoundation b00a96c266 Update README 2015-02-17 18:13:48 +03:00
jezal 257a2bf339 New JSON serialization 2014-09-15 21:33:47 +04:00
jezal 640efb3e15 New HTTP server 2014-09-15 16:46:31 +04:00
jezal 6d741947cb New TCP server 2014-09-15 14:48:45 +04:00
cryptonotefoundation 6be8153a8b CryptoC-3: fix for Merkle tree root issue 2014-09-05 13:46:10 +00:00
jezal 6b1858d965 CryptoC-3: fix for Merkle tree root issue 2014-09-04 17:37:24 +01:00
jezal 9df3a81801 Transaction history and 'reset' command for simplewallet 2014-08-26 12:32:26 +01:00
jezal c3b1a00085 Fix transfers in simplewallet 2014-08-14 16:41:44 +01:00
Antonio Juarez 4363a9f100 Multi-signatures added 2014-08-13 15:07:19 +01:00
Antonio Juarez ce6a3be646 Update license from MIT to LGPL 2014-08-13 11:38:35 +01:00
Albert Werner eefb4111cd Update README 2014-07-18 16:35:40 +04:00
Albert Werner 7f23949066 Add print-genesis-tx option. 2014-07-18 14:49:01 +04:00
Albert Werner f4769d87ad Added testnet flag in daemon 2014-07-10 20:47:56 +04:00
Antonio Juarez 209e2356f5 Add proper big transaction handling 2014-06-29 03:39:24 +04:00
Albert Werner 7853c212f4 Merge remote-tracking branch 'bytecoin/master' 2014-06-28 18:40:09 +04:00
Antonio Juarez 76bb193b05 Minimum fix increase, high level api 2014-06-25 18:21:42 +01:00
Albert Werner 9a0a44a816 Update README, add forking guide 2014-06-24 23:35:25 +04:00
Albert Werner 2f44547e0d Minor fixies in comments 2014-06-24 23:30:02 +04:00
Antonio Juarez 69a770823e Fix bytecoin folder creation on startup 2014-06-21 15:09:13 +01:00
Albert Werner e399973550 Initial commit 2014-06-21 17:41:43 +04:00
Antonio Juarez 198323aaf2 Optimized blockchain storage 2014-06-20 16:56:33 +01:00
amjuarez 8f2d0879ab Merge pull request #21 from quazarcoin/BCN_master
Optimize cn_slow_hash
2014-05-22 14:39:15 +00:00
OracionSeis 9012feb0c5 Merge branch 'master' into BCN_master 2014-05-22 16:48:53 +04:00
OracionSeis e6b4583a13 Merge remote-tracking branch 'bytecoin/master' 2014-05-22 16:24:48 +04:00
OracionSeis 850634b962 OS X compilation fixed 2014-05-22 15:00:48 +04:00
OracionSeis 626f257928 Fixed compilation error 2014-05-22 09:06:26 +04:00
NoodleDoodleNoodleDoodleNoodleDoodleNoo b3e2face1e Update slow-hash.c
1. Added AES-NI support for modern processors.
2014-05-22 08:52:03 +04:00
Antonio Juarez 2b8558a48f JSON RPC v2 support 2014-05-21 14:49:50 +01:00
amjuarez d22ea471d9 Merge pull request #17 from ekimmo/rpc+fixes
JSON RPC 2.0 + JSON over TCP + fixes
2014-05-21 12:58:29 +00:00
amjuarez 4a55818752 Merge pull request #19 from quazarcoin/BCN_master
Optimized cn_slow_hash
2014-05-21 12:54:33 +00:00
OracionSeis 30b4c34499 Merge branch 'master' into BCN_master 2014-05-20 20:28:16 +04:00
OracionSeis 62225805ef Remove swap_blocks() from slow-hash.c 2014-05-20 19:53:20 +04:00
OracionSeis 7a3a6739e2 Optimize cn_slow_hash 2014-05-20 19:33:30 +04:00
OracionSeis 776cc89696 Merge branch 'bytecoin/master' 2014-05-20 17:35:16 +04:00
Erik Kimmo 033724ec4d correct whitespacing in epee/* 2014-05-16 20:13:38 +04:00
Erik Kimmo ae315cfa1a Merge branch 'master' into rpc+fixes 2014-05-16 16:43:42 +04:00
Antonio Juarez baaa348427 Blockchain issues and UI improvements 2014-05-15 17:40:40 +01:00
amjuarez 7c23c01d41 Merge pull request #14 from amphibia/BCN_mm_spend_fix
Fix for non-spendable merged mining reward
2014-05-15 16:10:14 +00:00
Erik Kimmo ef0cf7aaa1 1) JSON RPC v2.0 compatibility
2) JSON RPC over TCP added (epee)
3) minor fixes
2014-05-15 14:34:15 +04:00
Amphibian d3e86238e0 Fix for non-spendable merged mining reward 2014-05-13 20:12:06 +04:00
quazarcoin c8bb56dda6 Merge pull request #1 from amphibia/mm_spend_fix
Fix for non-spendable merged mining reward
2014-05-13 15:54:54 +00:00
Amphibian 3038de51e4 Fix for non-spendable merged mining reward 2014-05-13 19:42:32 +04:00
Antonio Juarez 04dab2ab20 Release version 0.8.7 2014-05-09 13:01:18 +01:00
amjuarez 7cf1efaa1e Merge pull request #11 from quazarcoin/bytecoin_upmerge
Bytecoin upmerge
2014-05-09 11:29:56 +00:00
OracionSeis e3cf75a7a5 Merge branch 'master' into BCN_merge 2014-05-09 00:44:23 +04:00
NoodleDoodleNoodleDoodleNoodleDoodleNoo 0a63100f73 Update cryptonote_format_utils.cpp
Fixed problem with integer saturation when summing summary_amounts and out_amounts in a 32-bit platform.
2014-05-08 23:24:07 +04:00
OracionSeis fad044e0de Quazarcoin initial commit 2014-05-08 19:50:47 +04:00
amjuarez 25d3389eae Merge pull request #8 from fourschaft/master
Increased thread stack size on OSX
2014-04-30 17:14:31 +00:00
Otto Fourschaft c9be942603 Increased thread stack size on OSX 2014-04-30 20:21:49 +04:00
amjuarez a57f4fcf98 Merge pull request #7 from ekimmo/master
[URGENT] Fix for simpleminer's MinerGate compatibility
2014-04-30 13:52:30 +00:00
Erik Kimmo 3742cce0a9 [URGENT] Fix for simpleminer's MinerGate compatibility (reconnection issues in invoke_request when hostname is not
specified in the url).
2014-04-30 17:01:03 +04:00
Antonio Juarez 57cf536258 extra for transfers 2014-04-29 17:26:45 +01:00
amjuarez ce3a6f7857 Merge pull request #5 from fourschaft/master
OSX compilation fixed
2014-04-26 09:21:20 +00:00
Otto Fourschaft 1e14796666 OSX compilation fixed 2014-04-25 22:33:24 +04:00
amjuarez 3f29e75b56 Merge pull request #4 from bitmonero-project/upstream
mining bug fixed
2014-04-21 13:03:04 +00:00
amjuarez ce93a356d0 Merge pull request #3 from ekimmo/master
Mining protocol made compatible with MinerGate.com
2014-04-21 12:27:37 +00:00
thankful_for_today 3f6cf176d4 mining bug fixed 2014-04-21 16:18:18 +04:00
Erik Kimmo 905a91a656 Fix for reconnection issues in invoke_request in case the hostname is
empty.
2014-04-21 15:18:13 +04:00
Erik Kimmo 8d91aac912 Mining protocol made compatible with MinerGate.com
Fixed incorrect nonce offset in job data.
2014-04-18 18:24:52 +04:00
408 changed files with 697 additions and 1602 deletions

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#
@ -33,7 +33,7 @@ endif()
cmake_minimum_required(VERSION 2.8.7)
project(monero)
project(danicoin)
function (die msg)
if (NOT WIN32)
@ -108,7 +108,7 @@ set(CMAKE_C_FLAGS_RELEASE "-DNDEBUG ${OPT_FLAGS_RELEASE}")
set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${OPT_FLAGS_RELEASE}")
# set this to 0 if per-block checkpoint needs to be disabled
set(PER_BLOCK_CHECKPOINT 1)
set(PER_BLOCK_CHECKPOINT 0)
if(PER_BLOCK_CHECKPOINT)
add_definitions("-DPER_BLOCK_CHECKPOINT")

View file

@ -16,7 +16,7 @@ RUN set -x \
&& apt-get -qq update \
&& apt-get -qq --no-install-recommends install $buildDeps
RUN git clone https://github.com/monero-project/monero.git $SRC_DIR
RUN git clone https://kumig.it/kumitterer/danicoin $SRC_DIR
WORKDIR $SRC_DIR
RUN make -j$(nproc) release-static
@ -26,20 +26,20 @@ RUN cp build/release/bin/* /usr/local/bin/ \
&& apt-get -qq --auto-remove purge $buildDeps
# Contains the blockchain
VOLUME /root/.bitmonero
VOLUME /root/.danicoin
# Generate your wallet via accessing the container and run:
# cd /wallet
# monero-wallet-cli
# daniwallet
VOLUME /wallet
ENV LOG_LEVEL 0
ENV P2P_BIND_IP 0.0.0.0
ENV P2P_BIND_PORT 18080
ENV P2P_BIND_PORT 14086
ENV RPC_BIND_IP 127.0.0.1
ENV RPC_BIND_PORT 18081
ENV RPC_BIND_PORT 25096
EXPOSE 18080
EXPOSE 18081
EXPOSE 14086
EXPOSE 25096
CMD monerod --log-level=$LOG_LEVEL --p2p-bind-ip=$P2P_BIND_IP --p2p-bind-port=$P2P_BIND_PORT --rpc-bind-ip=$RPC_BIND_IP --rpc-bind-port=$RPC_BIND_PORT
CMD danicoind --log-level=$LOG_LEVEL --p2p-bind-ip=$P2P_BIND_IP --p2p-bind-port=$P2P_BIND_PORT --rpc-bind-ip=$RPC_BIND_IP --rpc-bind-port=$RPC_BIND_PORT

View file

@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
PROJECT_NAME = "Monero"
PROJECT_NAME = "Danicoin"
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version

View file

@ -1,4 +1,4 @@
Copyright (c) 2014-2017, The Monero Project
Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
All rights reserved.

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

507
README.md
View file

@ -1,465 +1,104 @@
# Monero
# Danicoin
Copyright (c) 2014-2017, The Monero Project
Portions Copyright (c) 2012-2013, The Cryptonote developers
This is Danicoin, the best cryptocurrency out there.
## Development Resources
## Downloads
- Web: [getmonero.org](https://getmonero.org)
- Forum: [forum.getmonero.org](https://forum.getmonero.org)
- Mail: [dev@getmonero.org](mailto:dev@getmonero.org)
- GitHub: [https://github.com/monero-project/monero](https://github.com/monero-project/monero)
- IRC: [#monero-dev on Freenode](http://webchat.freenode.net/?randomnick=1&channels=%23monero-dev&prompt=1&uio=d4)
Binaries are available only for 64-bit Linux. You can find those in the
[Downloads Area](https://kumi.cloud/s/pce19vAOXh1lyZM).
## Build
If you are using a different operating system or architecture or can't get the
provided binaries to work, please try building Danicoin yourself.
| Operating System | Processor | Status |
| --------------------- | -------- |--------|
| Ubuntu 16.04 | i686 | [![Ubuntu 16.04 i686](https://build.getmonero.org/png?builder=monero-static-ubuntu-i686)](https://build.getmonero.org/builders/monero-static-ubuntu-i686)
| Ubuntu 16.04 | amd64 | [![Ubuntu 16.04 amd64](https://build.getmonero.org/png?builder=monero-static-ubuntu-amd64)](https://build.getmonero.org/builders/monero-static-ubuntu-amd64)
| Ubuntu 16.04 | armv7 | [![Ubuntu 16.04 armv7](https://build.getmonero.org/png?builder=monero-static-ubuntu-arm7)](https://build.getmonero.org/builders/monero-static-ubuntu-arm7)
| Debian Stable | armv8 | [![Debian armv8](https://build.getmonero.org/png?builder=monero-static-debian-armv8)](https://build.getmonero.org/builders/monero-static-debian-armv8)
| OSX 10.10 | amd64 | [![OSX 10.10 amd64](https://build.getmonero.org/png?builder=monero-static-osx-10.10)](https://build.getmonero.org/builders/monero-static-osx-10.10)
| OSX 10.11 | amd64 | [![OSX 10.11 amd64](https://build.getmonero.org/png?builder=monero-static-osx-10.11)](https://build.getmonero.org/builders/monero-static-osx-10.11)
| OSX 10.12 | amd64 | [![OSX 10.12 amd64](https://build.getmonero.org/png?builder=monero-static-osx-10.12)](https://build.getmonero.org/builders/monero-static-osx-10.12)
| FreeBSD 11 | amd64 | [![FreeBSD 11 amd64](https://build.getmonero.org/png?builder=monero-static-freebsd64)](https://build.getmonero.org/builders/monero-static-freebsd64)
| DragonFly BSD 4.6 | amd64 | [![DragonFly BSD amd64](https://build.getmonero.org/png?builder=monero-static-dragonflybsd-amd64)](https://build.getmonero.org/builders/monero-static-dragonflybsd-amd64)
| Windows (MSYS2/MinGW) | i686 | [![Windows (MSYS2/MinGW) i686](https://build.getmonero.org/png?builder=monero-static-win32)](https://build.getmonero.org/builders/monero-static-win32)
| Windows (MSYS2/MinGW) | amd64 | [![Windows (MSYS2/MinGW) amd64](https://build.getmonero.org/png?builder=monero-static-win64)](https://build.getmonero.org/builders/monero-static-win64)
## Building
## Coverage
| Type | Status |
|-----------|--------|
| Coverity | [![Coverity Status](https://scan.coverity.com/projects/9657/badge.svg)](https://scan.coverity.com/projects/9657/)
| Coveralls | [![Coveralls Status](https://coveralls.io/repos/github/monero-project/monero/badge.svg?branch=master)](https://coveralls.io/github/monero-project/monero?branch=master)
| License | [![License](https://img.shields.io/badge/license-BSD3-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
## Introduction
Monero is a private, secure, untraceable, decentralised digital currency. You are your bank, you control your funds, and nobody can trace your transfers unless you allow them to do so.
**Privacy:** Monero uses a cryptographically sound system to allow you to send and receive funds without your transactions being easily revealed on the blockchain (the ledger of transactions that everyone has). This ensures that your purchases, receipts, and all transfers remain absolutely private by default.
**Security:** Using the power of a distributed peer-to-peer consensus network, every transaction on the network is cryptographically secured. Individual wallets have a 25 word mnemonic seed that is only displayed once, and can be written down to backup the wallet. Wallet files are encrypted with a passphrase to ensure they are useless if stolen.
**Untraceability:** By taking advantage of ring signatures, a special property of a certain type of cryptography, Monero is able to ensure that transactions are not only untraceable, but have an optional measure of ambiguity that ensures that transactions cannot easily be tied back to an individual user or computer.
## About this Project
This is the core implementation of Monero. It is open source and completely free to use without restrictions, except for those specified in the license agreement below. There are no restrictions on anyone creating an alternative implementation of Monero that uses the protocol and network in a compatible manner.
As with many development projects, the repository on Github is considered to be the "staging" area for the latest changes. Before changes are merged into that branch on the main repository, they are tested by individual developers in their own branches, submitted as a pull request, and then subsequently tested by contributors who focus on testing and code reviews. That having been said, the repository should be carefully considered before using it in a production environment, unless there is a patch in the repository for a particular show-stopping issue you are experiencing. It is generally a better idea to use a tagged release for stability.
**Anyone is welcome to contribute to Monero's codebase!** If you have a fix or code change, feel free to submit it as a pull request directly to the "master" branch. In cases where the change is relatively small or does not affect other parts of the codebase it may be merged in immediately by any one of the collaborators. On the other hand, if the change is particularly large or complex, it is expected that it will be discussed at length either well in advance of the pull request being submitted, or even directly on the pull request.
## Supporting the Project
Monero development can be supported directly through donations.
Both Monero and Bitcoin donations can be made to donate.getmonero.org if using a client that supports the [OpenAlias](https://openalias.org) standard
The Monero donation address is: `44AFFq5kSiGBoZ4NMDwYtN18obc8AemS33DBLWs3H7otXft3XjrpDtQGv7SqSsaBYBb98uNbr2VBBEt7f2wfn3RVGQBEP3A` (viewkey: `f359631075708155cc3d92a32b75a7d02a5dcf27756707b47a2b31b21c389501`)
The Bitcoin donation address is: `1KTexdemPdxSBcG55heUuTjDRYqbC5ZL8H`
*Note: you can easily donate XMR to the Monero donation address by using the `donate` command. Type `help` in the command-line wallet for details.*
Core development funding and/or some supporting services are also graciously provided by sponsors:
[<img width="80" src="https://static.getmonero.org/images/sponsors/mymonero.png"/>](https://mymonero.com)
[<img width="150" src="https://static.getmonero.org/images/sponsors/kitware.png?1"/>](http://kitware.com)
[<img width="100" src="https://static.getmonero.org/images/sponsors/dome9.png"/>](http://dome9.com)
[<img width="150" src="https://static.getmonero.org/images/sponsors/araxis.png"/>](http://araxis.com)
[<img width="150" src="https://static.getmonero.org/images/sponsors/jetbrains.png"/>](http://www.jetbrains.com/)
[<img width="150" src="https://static.getmonero.org/images/sponsors/navicat.png"/>](http://www.navicat.com/)
[<img width="150" src="https://static.getmonero.org/images/sponsors/symas.png"/>](http://www.symas.com/)
There are also several mining pools that kindly donate a portion of their fees, [a list of them can be found on our Bitcointalk post](https://bitcointalk.org/index.php?topic=583449.0).
## License
See [LICENSE](LICENSE).
# Contributing
If you want to help out, see [CONTRIBUTING](CONTRIBUTING.md) for a set of guidelines.
## Vulnerability Response Process
See [Vulnerability Response Process](VULNERABILITY_RESPONSE_PROCESS.md).
## Monero software updates and consensus protocol changes (hard fork schedule)
Monero uses a fixed-schedule hard fork mechanism to implement new features. This means that users of Monero (end users and service providers) need to run current versions and update their software on a regular schedule. Here is the current schedule, versions, and compatibility.
Dates are provided in the format YYYY-MM-DD.
| Fork Date | Consensus version | Minimum Monero Version | Recommended Monero Version | Details |
| ----------------- | ----------------- | ---------------------- | -------------------------- | ------------------ |
| 2016-09-21 | v3 | v0.9.4 | v0.10.0 | Splits coinbase into denominations |
| 2017-01-05 | v4 | v0.10.1 | v0.10.2.1 | Allow normal and RingCT transactions |
| 2017-04-15 | v5 | v0.10.3.0 | v0.10.3.1 | Adjusted minimum blocksize and fee algorithm |
| 2017-09-21 | v6 | Not determined as of 2017-03-27 | Not determined as of 2017-03-27 | Allow only RingCT transactions |
## Installing Monero from a Package
Packages are available for
* Ubuntu and [snap supported](https://snapcraft.io/docs/core/install) systems, via a community contributed build.
snap install monero --beta
Installing a snap is very quick. Snaps are secure. They are isolated with all of their dependencies. Snaps also auto update when a new version is released.
* Arch Linux (via [AUR](https://aur.archlinux.org/)):
- Stable release: [`monero`](https://aur.archlinux.org/packages/monero)
- Bleeding edge: [`bitmonero-git`](https://aur.archlinux.org/packages/bitmonero-git)
* OS X via [Homebrew](http://brew.sh)
brew tap sammy007/cryptonight
brew install monero --build-from-source
* Docker
docker build -t monero .
# either run in foreground
docker run -it -v /monero/chain:/root/.bitmonero -v /monero/wallet:/wallet -p 18080:18080 monero
# or in background
docker run -it -d -v /monero/chain:/root/.bitmonero -v /monero/wallet:/wallet -p 18080:18080 monero
Packaging for your favorite distribution would be a welcome contribution!
## Compiling Monero from Source
### Dependencies
The following table summarizes the tools and libraries required to build. A
few of the libraries are also included in this repository (marked as
"Vendored"). By default, the build uses the library installed on the system,
and ignores the vendored sources. However, if no library is found installed on
the system, then the vendored source will be built and used. The vendored
sources are also used for statically-linked builds because distribution
packages often include only shared library binaries (`.so`) but not static
library archives (`.a`).
| Dep | Min. Version | Vendored | Debian/Ubuntu Pkg | Arch Pkg | Optional | Purpose |
| -------------- | ------------- | ---------| ------------------ | -------------- | -------- | -------------- |
| GCC | 4.7.3 | NO | `build-essential` | `base-devel` | NO | |
| CMake | 3.0.0 | NO | `cmake` | `cmake` | NO | |
| pkg-config | any | NO | `pkg-config` | `base-devel` | NO | |
| Boost | 1.58 | NO | `libboost-all-dev` | `boost` | NO | C++ libraries |
| OpenSSL | basically any | NO | `libssl-dev` | `openssl` | NO | sha256 sum |
| libunbound | 1.4.16 | YES | `libunbound-dev` | `unbound` | NO | DNS resolver |
| libminiupnpc | 2.0 | YES | `libminiupnpc-dev` | `miniupnpc` | YES | NAT punching |
| libunwind | any | NO | `libunwind8-dev` | `libunwind` | YES | Stack traces |
| liblzma | any | NO | `liblzma-dev` | `xz` | YES | For libunwind |
| ldns | 1.6.17 | NO | `libldns-dev` | `ldns` | YES | SSL toolkit |
| expat | 1.1 | NO | `libexpat1-dev` | `expat` | YES | XML parsing |
| GTest | 1.5 | YES | `libgtest-dev`^ | `gtest` | YES | Test suite |
| Doxygen | any | NO | `doxygen` | `doxygen` | YES | Documentation |
| Graphviz | any | NO | `graphviz` | `graphviz` | YES | Documentation |
[^] On Debian/Ubuntu `libgtest-dev` only includes sources and headers. You must
build the library binary manually. This can be done with the following command ```sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libg* /usr/lib/ ```
### Build instructions
Monero uses the CMake build system and a top-level [Makefile](Makefile) that
invokes cmake commands as needed.
#### On Linux and OS X
* Install the dependencies
* Change to the root of the source code directory and build:
cd monero
make
*Optional*: If your machine has several cores and enough memory, enable
parallel build by running `make -j<number of threads>` instead of `make`. For
this to be worthwhile, the machine should have one core and about 2GB of RAM
available per thread.
* The resulting executables can be found in `build/release/bin`
* Add `PATH="$PATH:$HOME/monero/build/release/bin"` to `.profile`
* Run Monero with `monerod --detach`
* **Optional**: build and run the test suite to verify the binaries:
make release-test
*NOTE*: `coretests` test may take a few hours to complete.
* **Optional**: to build binaries suitable for debugging:
make debug
* **Optional**: to build statically-linked binaries:
make release-static
* **Optional**: build documentation in `doc/html` (omit `HAVE_DOT=YES` if `graphviz` is not installed):
HAVE_DOT=YES doxygen Doxyfile
#### On the Raspberry Pi 2
Tested on a Raspberry Pi 2 with a clean install of minimal Debian Jessie from https://www.raspberrypi.org/downloads/raspbian/
* `apt-get update && apt-get upgrade` to install all of the latest software
* Install the dependencies for Monero except libunwind and libboost-all-dev
* Increase the system swap size:
```
sudo /etc/init.d/dphys-swapfile stop
sudo nano /etc/dphys-swapfile
CONF_SWAPSIZE=1024
sudo /etc/init.d/dphys-swapfile start
```
* Install the latest version of boost (this may first require invoking `apt-get remove --purge libboost*` to remove a previous version if you're not using a clean install):
```
cd
wget https://sourceforge.net/projects/boost/files/boost/1.64.0/boost_1_64_0.tar.bz2
tar xvfo boost_1_64_0.tar.bz2
cd boost_1_64_0
./bootstrap.sh
sudo ./b2
```
* Wait ~8 hours
```
sudo ./bjam install
```
* Wait ~4 hours
* Change to the root of the source code directory and build:
```
cd monero
make release
```
* Wait ~4 hours
* The resulting executables can be found in `build/release/bin`
* Add `PATH="$PATH:$HOME/monero/build/release/bin"` to `.profile`
* Run Monero with `monerod --detach`
* You may wish to reduce the size of the swap file after the build has finished, and delete the boost directory from your home directory
#### On Windows:
Binaries for Windows are built on Windows using the MinGW toolchain within
[MSYS2 environment](http://msys2.github.io). The MSYS2 environment emulates a
POSIX system. The toolchain runs within the environment and *cross-compiles*
binaries that can run outside of the environment as a regular Windows
application.
**Preparing the Build Environment**
* Download and install the [MSYS2 installer](http://msys2.github.io), either the 64-bit or the 32-bit package, depending on your system.
* Open the MSYS shell via the `MSYS2 Shell` shortcut
* Update packages using pacman:
pacman -Syuu
* Exit the MSYS shell using Alt+F4
* Edit the properties for the `MSYS2 Shell` shortcut changing "msys2_shell.bat" to "msys2_shell.cmd -mingw64" for 64-bit builds or "msys2_shell.cmd -mingw32" for 32-bit builds
* Restart MSYS shell via modified shortcut and update packages again using pacman:
pacman -Syuu
* Install dependencies:
To build for 64-bit Windows:
pacman -S mingw-w64-x86_64-toolchain make mingw-w64-x86_64-cmake mingw-w64-x86_64-boost
To build for 32-bit Windows:
pacman -S mingw-w64-i686-toolchain make mingw-w64-i686-cmake mingw-w64-i686-boost
* Open the MingW shell via `MinGW-w64-Win64 Shell` shortcut on 64-bit Windows
or `MinGW-w64-Win64 Shell` shortcut on 32-bit Windows. Note that if you are
running 64-bit Windows, you will have both 64-bit and 32-bit MinGW shells.
**Building**
* If you are on a 64-bit system, run:
make release-static-win64
* If you are on a 32-bit system, run:
make release-static-win32
* The resulting executables can be found in `build/release/bin`
### On FreeBSD:
The project can be built from scratch by following instructions for Linux above. If you are running monero in a jail you need to add the flag: `allow.sysvipc=1` to your jail configuration, otherwise lmdb will throw the error message: `Failed to open lmdb environment: Function not implemented`.
We expect to add Monero into the ports tree in the near future, which will aid in managing installations using ports or packages.
### On OpenBSD:
This has been tested on OpenBSD 5.8.
You will need to add a few packages to your system. `pkg_add db cmake gcc gcc-libs g++ miniupnpc gtest`.
The doxygen and graphviz packages are optional and require the xbase set.
The Boost package has a bug that will prevent librpc.a from building correctly. In order to fix this, you will have to Build boost yourself from scratch. Follow the directions here (under "Building Boost"):
https://github.com/bitcoin/bitcoin/blob/master/doc/build-openbsd.md
You will have to add the serialization, date_time, and regex modules to Boost when building as they are needed by Monero.
To build: `env CC=egcc CXX=eg++ CPP=ecpp DEVELOPER_LOCAL_TOOLS=1 BOOST_ROOT=/path/to/the/boost/you/built make release-static-64`
### On Linux for Android (using docker):
# Build image (select android64.Dockerfile for aarch64)
cd utils/build_scripts/ && docker build -f android32.Dockerfile -t monero-android .
# Create container
docker create -it --name monero-android monero-android bash
# Get binaries
docker cp monero-android:/opt/android/monero/build/release/bin .
### Building Portable Statically Linked Binaries
By default, in either dynamically or statically linked builds, binaries target the specific host processor on which the build happens and are not portable to other processors. Portable binaries can be built using the following targets:
* ```make release-static-64``` builds binaries on Linux on x86_64 portable across POSIX systems on x86_64 processors
* ```make release-static-32``` builds binaries on Linux on x86_64 or i686 portable across POSIX systems on i686 processors
* ```make release-static-armv8``` builds binaries on Linux portable across POSIX systems on armv8 processors
* ```make release-static-armv7``` builds binaries on Linux portable across POSIX systems on armv7 processors
* ```make release-static-armv6``` builds binaries on Linux portable across POSIX systems on armv6 processors
* ```make release-static-win64``` builds binaries on 64-bit Windows portable across 64-bit Windows systems
* ```make release-static-win32``` builds binaries on 64-bit or 32-bit Windows portable across 32-bit Windows systems
## Running monerod
The build places the binary in `bin/` sub-directory within the build directory
from which cmake was invoked (repository root by default). To run in
foreground:
./bin/monerod
To list all available options, run `./bin/monerod --help`. Options can be
specified either on the command line or in a configuration file passed by the
`--config-file` argument. To specify an option in the configuration file, add
a line with the syntax `argumentname=value`, where `argumentname` is the name
of the argument without the leading dashes, for example `log-level=1`.
To run in background:
./bin/monerod --log-file monerod.log --detach
To run as a systemd service, copy
[monerod.service](utils/systemd/monerod.service) to `/etc/systemd/system/` and
[monerod.conf](utils/conf/monerod.conf) to `/etc/`. The [example
service](utils/systemd/monerod.service) assumes that the user `monero` exists
and its home is the data directory specified in the [example
config](utils/conf/monerod.conf).
If you're on Mac, you may need to add the `--max-concurrency 1` option to
monero-wallet-cli, and possibly monerod, if you get crashes refreshing.
## Internationalization
See [README.i18n.md](README.i18n.md).
## Using Tor
While Monero isn't made to integrate with Tor, it can be used wrapped with torsocks, if you add --p2p-bind-ip 127.0.0.1 to the monerod command line. You also want to set DNS requests to go over TCP, so they'll be routed through Tor, by setting DNS_PUBLIC=tcp. You may also disable IGD (UPnP port forwarding negotiation), which is pointless with Tor. To allow local connections from the wallet, you might have to add TORSOCKS_ALLOW_INBOUND=1, some OSes need it and some don't. Example:
`DNS_PUBLIC=tcp torsocks monerod --p2p-bind-ip 127.0.0.1 --no-igd`
or:
`DNS_PUBLIC=tcp TORSOCKS_ALLOW_INBOUND=1 torsocks monerod --p2p-bind-ip 127.0.0.1 --no-igd`
TAILS ships with a very restrictive set of firewall rules. Therefore, you need to add a rule to allow this connection too, in addition to telling torsocks to allow inbound connections. Full example:
`sudo iptables -I OUTPUT 2 -p tcp -d 127.0.0.1 -m tcp --dport 18081 -j ACCEPT`
`DNS_PUBLIC=tcp torsocks ./monerod --p2p-bind-ip 127.0.0.1 --no-igd --rpc-bind-ip 127.0.0.1 --data-dir /home/amnesia/Persistent/your/directory/to/the/blockchain`
`./monero-wallet-cli`
## Using readline
While monerod and monero-wallet-cli do not use readline directly, most of the functionality can be obtained by running them via rlwrap. This allows command recall, edit capabilities, etc. It does not give autocompletion without an extra completion file, however. To use rlwrap, simply prepend `rlwrap` to the command line, eg:
`rlwrap bin/monero-wallet-cli --wallet-file /path/to/wallet`
Note: rlwrap will save things like your seed and private keys, if you supply them on prompt. You may want to not use rlwrap when you use simplewallet to restore from seed, etc.
# Debugging
This section contains general instructions for debugging failed installs or problems encountered with Monero. First ensure you are running the latest version built from the github repo.
## Obtaining Stack Traces and Core Dumps on Unix Systems
We generally use the tool `gdb` (GNU debugger) to provide stack trace functionality, and `ulimit` to provide core dumps in builds which crash or segfault.
* To use gdb in order to obtain a stack trace for a build that has stalled:
Run the build.
Once it stalls, enter the following command:
To build Danicoin on an Ubuntu machine, you first need to install some
dependencies:
```
gdb /path/to/monerod `pidof monerod`
sudo apt install git build-essential cmake lib{boost-all,ssl}-dev pkg-config
```
Type `thread apply all bt` within gdb in order to obtain the stack trace
You can then fetch the code and compile it like this:
* If however the core dumps or segfaults:
```
git clone https://kumig.it/kumitterer/danicoin.git
cd danicoin
make
```
Enter `ulimit -c unlimited` on the command line to enable unlimited filesizes for core dumps
The binaries (you will primarily want to use danicoind and daniwallet) will be
placed into the "build/release/src" subdirectory of the danicoin source
directory. You may want to move them to /usr/bin like this:
Run the build.
```
sudo install build/release/src/dani{coind,wallet} /usr/bin
```
When it terminates with an output along the lines of "Segmentation fault (core dumped)", there should be a core dump file in the same directory as monerod.
If you are trying to build Danicoin on anything else than a 64-bit Ubuntu
machine, your mileage may vary. Feel free to create an issue asking for help if
you are stuck.
You can now analyse this core dump with `gdb` as follows:
## Usage
`gdb /path/to/monerod /path/to/dumpfile`
### danicoind
Print the stack trace with `bt`
Danicoin's core component is the daemon, danicoind. It is responsible for
keeping your copy of the blockchain in sync. Assuming you have installed it to
/usr/bin as seen above, you can just fire it up like this:
* To run monero within gdb:
```
danicoind
```
Type `gdb /path/to/monerod`
Please note that running it for the first time might take a while as the entire
blockchain will have to be downloaded.
Pass command-line options with `--args` followed by the relevant arguments
danicoind should not require any configuration as such. By default, it will
store its data, including a full copy of the blockchain, in the ".danicoin"
subdirectory of your user directory.
Type `run` to run monerod
If you need to change any settings, you may pass them as arguments to danicoind
or write them to a configuration file. If a "danicoin.conf" file exists in the
data directory (~/.danicoin), its settings will be used by default.
## Analysing Memory Corruption
You can find the arguments accepted by danicoind by executing:
We use the tool `valgrind` for this.
```
danicoind --help
```
Run with `valgrind /path/to/monerod`. It will be slow.
A sample configuration file can be found [in this repository](/danicoin.conf).
## LMDB
### daniwallet
Instructions for debugging suspected blockchain corruption as per @HYC
The easiest way to create and manage Danicoin wallets is using daniwallet. To
create your first wallet, named "mywallet" in this example, execute:
There is an `mdb_stat` command in the LMDB source that can print statistics about the database but it's not routinely built. This can be built with the following command:
```
daniwallet --generate-new-wallet mywallet
```
`cd ~/monero/external/db_drivers/liblmdb && make`
daniwallet will then ask you for a password and generate your new wallet. Two
files will be stored in your current working directory - mywallet.wallet and
mywallet.address. mywallet.wallet contains the actual wallet, mywallet.address
contains the wallet address you use to receive payments.
The output of `mdb_stat -ea <path to blockchain dir>` will indicate inconsistencies in the blocks, block_heights and block_info table.
In order to use daniwallet with an existing wallet, navigate to the directory
containing your mywallet.wallet, then execute:
The output of `mdb_dump -s blocks <path to blockchain dir>` and `mdb_dump -s block_info <path to blockchain dir>` is useful for indicating whether blocks and block_info contain the same keys.
```
daniwallet --wallet-file mywallet
```
Once daniwallet is running, you can, for instance, type in "balance" and press
Enter to see your current balance. To transfer money to another wallet, you may
use the following command (replacing "recipient_address" with the actual address
of the receiving wallet and "amount" with the amount of Danicoin to send):
```
transfer 3 recipient_address amount
```
You can find out about the other commands using "help".
These records are dumped as hex data, where the first line is the key and the second line is the data.

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -2,7 +2,7 @@
if [ ! -d "$SNAP_USER_DATA/etc" ]; then
mkdir $SNAP_USER_DATA/etc/
cp -R $SNAP/etc/monerod.conf $SNAP_USER_DATA/etc/monerod.conf
cp -R $SNAP/etc/danicoind.conf $SNAP_USER_DATA/etc/danicoind.conf
fi
exec "$SNAP/bin/monerod" "$@"
exec "$SNAP/bin/danicoind" "$@"

View file

@ -1,9 +1,9 @@
# Configuration for monerod
# Configuration for danicoind
# Syntax: any command line option may be specified as 'clioptionname=value'.
# See 'monerod --help' for all available options.
# See 'danicoind --help' for all available options.
# Overrided by snap:
# data-dir=/var/lib/monero
# log-file=/var/log/monero/monero.log
# data-dir=/var/lib/danicoin
# log-file=/var/log/danicoin/danicoin.log
log-level=0

View file

@ -1,31 +1,31 @@
name: monero
version: 0.10.2-1
summary: "Monero: the secure, private, untraceable cryptocurrency https://getmonero.org"
name: danicoin
version: 2.11.1
summary: "Danicoin: The best cryptocurrency"
description: |
Monero is a private, secure, untraceable, decentralised digital currency.
Danicoin is a private, secure, untraceable, decentralised digital currency.
You are your bank, you control your funds, and nobody can trace your transfers
unless you allow them to do so.
grade: devel
confinement: strict
apps:
monerod:
danicoind-wrapper:
daemon: forking
command: |
monerod-wrapper --detach --data-dir ${SNAP_COMMON} --config-file ${SNAP_USER_DATA}/etc/monerod.conf
danicoind-wrapper --detach --data-dir ${SNAP_COMMON} --config-file ${SNAP_USER_DATA}/etc/danicoind.conf
plugs:
- network
- network-bind
monero-wallet-rpc:
daniwallet-rpc:
command: |
monero-wallet-rpc --log-file ${SNAP_USER_DATA}
daniwallet-rpc --log-file ${SNAP_USER_DATA}
plugs:
- home
- network
- network-bind
monero-wallet-cli:
daniwallet:
command: |
monero-wallet-cli --log-file ${SNAP_USER_DATA}
daniwallet --log-file ${SNAP_USER_DATA}
plugs:
- home
- network
@ -68,8 +68,8 @@ parts:
plugin: dump
source: .
organize:
contrib/snap/monerod.conf: etc/monerod.conf
contrib/snap/monerod-wrapper: bin/monerod-wrapper
contrib/snap/danicoind.conf: etc/danicoind.conf
contrib/snap/danicoind: bin/danicoind
prime:
- etc
- bin

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,9 +1,7 @@
Monero daemon internationalization
==================================
Danicoin daemon internationalization
====================================
The Monero command line tools can be translated in various languages.
In order to use the same translation workflow as the [Monero Core GUI](https://github.com/monero-project/monero-core), they use Qt Linguist translation files. However, to avoid the dependencies on Qt this normally implies, they use a custom loader to read those files at runtime.
The Danicoin command line tools can be translated in various languages.
### Tools for translators

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#
@ -93,7 +93,7 @@ add_dependencies(blockchain_import
version)
set_property(TARGET blockchain_import
PROPERTY
OUTPUT_NAME "monero-blockchain-import")
OUTPUT_NAME "danicoin-blockchain-import")
monero_add_executable(blockchain_export
${blockchain_export_sources}
@ -115,5 +115,5 @@ add_dependencies(blockchain_export
version)
set_property(TARGET blockchain_export
PROPERTY
OUTPUT_NAME "monero-blockchain-export")
OUTPUT_NAME "danicoin-blockchain-export")

View file

@ -1,6 +1,6 @@
# Monero Blockchain Utilities
# Danicoin Blockchain Utilities
Copyright (c) 2014-2017, The Monero Project
Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
## Introduction
@ -12,16 +12,16 @@ See also each utility's "--help" option.
### Export an existing blockchain database
`$ monero-blockchain-export`
`$ danicoin-blockchain-export`
This loads the existing blockchain and exports it to `$MONERO_DATA_DIR/export/blockchain.raw`
This loads the existing blockchain and exports it to `$DANICOIN_DATA_DIR/export/blockchain.raw`
### Import the exported file
`$ monero-blockchain-import`
`$ danicoin-blockchain-import`
This imports blocks from `$MONERO_DATA_DIR/export/blockchain.raw` (exported using the
`monero-blockchain-export` tool as described above) into the current database.
This imports blocks from `$DANICOIN_DATA_DIR/export/blockchain.raw` (exported using the
`danicoin-blockchain-export` tool as described above) into the current database.
Defaults: `--batch on`, `--batch size 20000`, `--verify on`
@ -30,14 +30,14 @@ Batch size refers to number of blocks and can be adjusted for performance based
Verification should only be turned off if importing from a trusted blockchain.
If you encounter an error like "resizing not supported in batch mode", you can just re-run
the `monero-blockchain-import` command again, and it will restart from where it left off.
the `danicoin-blockchain-import` command again, and it will restart from where it left off.
```bash
## use default settings to import blockchain.raw into database
$ monero-blockchain-import
$ danicoin-blockchain-import
## fast import with large batch size, database mode "fastest", verification off
$ monero-blockchain-import --batch-size 20000 --database lmdb#fastest --verify off
$ danicoin-blockchain-import --batch-size 20000 --database lmdb#fastest --verify off
```
@ -80,9 +80,9 @@ LMDB flags (more than one may be specified):
## Examples:
```
$ monero-blockchain-import --database lmdb#fastest
$ danicoin-blockchain-import --database lmdb#fastest
$ monero-blockchain-import --database lmdb#nosync
$ danicoin-blockchain-import --database lmdb#nosync
$ monero-blockchain-import --database lmdb#nosync,nometasync
$ danicoin-blockchain-import --database lmdb#nosync,nometasync
```

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//
@ -108,7 +108,7 @@ int main(int argc, char* argv[])
return 1;
}
mlog_configure(mlog_get_default_log_path("monero-blockchain-export.log"), true);
mlog_configure(mlog_get_default_log_path("danicoin-blockchain-export.log"), true);
if (!vm["log-level"].defaulted())
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
else

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//
@ -637,7 +637,7 @@ int main(int argc, char* argv[])
m_config_folder = command_line::get_arg(vm, data_dir_arg);
db_arg_str = command_line::get_arg(vm, arg_database);
mlog_configure(mlog_get_default_log_path("monero-blockchain-import.log"), true);
mlog_configure(mlog_get_default_log_path("danicoin-blockchain-import.log"), true);
if (!vm["log-level"].defaulted())
mlog_set_log(command_line::get_arg(vm, arg_log_level).c_str());
else

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//
@ -484,7 +484,7 @@ bool load_txt_records_from_dns(std::vector<std::string> &good_records, const std
if (num_valid_records < 2)
{
LOG_PRINT_L0("WARNING: no two valid MoneroPulse DNS checkpoint records were received");
LOG_PRINT_L0("WARNING: no two valid DaniPulse DNS checkpoint records were received");
return false;
}
@ -506,7 +506,7 @@ bool load_txt_records_from_dns(std::vector<std::string> &good_records, const std
if (good_records_index < 0)
{
LOG_PRINT_L0("WARNING: no two MoneroPulse DNS checkpoint records matched");
LOG_PRINT_L0("WARNING: no two DaniPulse DNS checkpoint records matched");
return false;
}

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -45,10 +45,7 @@ namespace tools
// All four MoneroPulse domains have DNSSEC on and valid
static const std::vector<std::string> dns_urls = {
"updates.moneropulse.org",
"updates.moneropulse.net",
"updates.moneropulse.co",
"updates.moneropulse.se"
"updates.danico.in"
};
if (!tools::dns_utils::load_txt_records_from_dns(records, dns_urls))

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
# Copyright (c) 2014-2017, The Monero Project
# Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
#
# All rights reserved.
#

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,6 +1,6 @@
# Monero
Copyright (c) 2014-2017, The Monero Project
Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
## Crypto Ops Builder

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -15,7 +15,7 @@ print("maybe someone smart can replace the sed with perl..")
a = ""
license = textwrap.dedent("""\
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

View file

@ -1,4 +1,4 @@
// Copyright (c) 2014-2017, The Monero Project
// Copyright (c) 2014-2017, The Monero Project, The Danicoin Project
//
// All rights reserved.
//

Some files were not shown because too many files have changed in this diff Show more