GithubHelp home page GithubHelp logo

leto / blur Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blur-network/blur

0.0 1.0 0.0 15.8 MB

BLUR is an experimental private cryptocurrency that allows users to transact in a way that is secure and verifiable to only the parties they choose. Transaction amounts and participants are obfuscated to protect your privacy. BLUR features the new Cryptonight-Dynamic algorithm, which adjusts once every second. Join the Fight for Financial Freedom.

Home Page: https://blur.cash

License: Other

CMake 2.22% Dockerfile 0.14% Makefile 0.84% C 11.09% C++ 83.16% Shell 0.28% Batchfile 0.03% Objective-C 1.75% Python 0.24% q 0.12% Perl 6 0.10% Perl 0.03%

blur's Introduction

Blur Network

Copyright (c) 2018, Blur Network

See LICENSE.

Donate to help support Blur:

BTC: 19onVUREbP89qu4dYBfVqtGisWaoyWs3BX
LTC: LM2tBw25UMfdjAJbo52tzh5r3R47a1aMeM
XMR: 46MT7yy9mF3Bvk61XmRzirB4wdSkPqNRJ3pwUcRYxj3WWCGLMHD9sE5bNtChnYQiPYiCYDPyXyJGKFG3uT2CbeKWCwnvWLv
BLUR: bL4PdWFk3VVgEGYezGTXigHrsoJ3JGKgxKDi1gHXT7GKTLawFu3WMhu53Gc2KCmxxmCHbR4VEYMQ93PRv8vWgJ8j2mMHVEzLu

Contents:

Currency: Blur (Ticker: BLUR)
Website: https://blur.cash
Block Explorer: http://explorer.blur.cash/
Block Explorer API Example: http://explorer.blur.cash/api/transactions
Offline Wallet Generator: Offline HTML Page
Discord (Main Point of Contact for Blur): Blur Official Discord
Telegram: Telegram
BitcoinTalk Announcement: Official Thread on BitcoinTalk.org
Reddit: Official Blur Network Subreddit
CLI Binary Release(s): Download via Github
GUI Wallet Release(s): Download via Github
Algorithm: Cryptonight-Dynamic
Ports: P2P port = 13894
RPC port = 13895
Seed Nodes: Node 1 = 178.128.191.245:13894
Node 2 = 178.128.180.136:13894
Node 3 = 178.128.186.101:13894

About the Project

BLUR takes a decentralized-by-design approach to mining. The algorithm used to mine BLUR is incompatible with pooled mining (with current software) and is resistant to ASIC/GPU mining rigs. The BLUR network is comprised of individuals mining on individual computers. Visit our Bitcointalk.org thread or Blur.cash for more information. Links to both can be found in the table immediately above.

Compiling from Source on Linux

Blur uses the CMake build system and a top-level Makefile that invokes cmake commands as needed.

Step 1: Clone this repository recursively, to pull in needed submodules:

git clone https://github.com/blur-network/blur.git

Step 2: Install dependencies:

Ubuntu 18.04.1 One-Liner:

sudo apt-get install -y build-essential cmake pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libnorm-dev libpgm-dev libsodium-dev libminiupnpc-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev libgtest-dev doxygen graphviz

Debian 9/Ubuntu 16.04 One-Liner:

sudo apt-get install -y build-essential cmake pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libnorm-dev libpgm-dev libsodium-dev libminiupnpc-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev libgtest-dev doxygen graphviz

Arch Linux One-Liner:

sudo pacman -S base-devel cmake boost openssl zeromq libpgm unbound libsodium libunwind xz readline ldns expat gtest doxygen graphviz

Step 3: cd into the the directory where the source code was cloned, and issue a make command.

cd ~/blur && make release-all

*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.

There are multiple platforms and configurations for which you can compile. A non-exhaustive list can be found below:

For statically linked binaries (defaults to the platform configuration of the host compiler):

make release-static

For Windows portable binaries (Cross-Compiled on Linux using contrib/depends system from Bitcoin):

Follow the link above to setup build environment, then issue the command below

make release-static-win64

It is probably much easier to use the depends system for a cross-compile on Windows Susbsytem Linux than getting MSYS2 to actually work properly

For MacOS portable binaries:

make release-static-mac-x86_64

For Linux portable binaries:

make release-static-linux-x86_64

Note that we do not officially support builds for 32-bit architecture, arm architecture, or the freebsd linux distribution currently. However, there are options within the Makefile for these configurations. These configurations (and source files) will need modified (considerably), in order for the resulting binaries to work. Even if they build, it is unlikely that the network will not identify your node as malicious, upon running a daemon with incorrect code.

Mining on Linux

Compile from source, or download the latest binary release from the Releases page.

We also now offer a Snap package on the Ubuntu Snap Store: Get it from the Snap Store

Open a terminal in the directory within which the binaries were downloaded. Assuming that is your Downloads folder, enter the following command:

cd ~/Downloads && tar xvzf blur-v0.1.7.6-linux-x86_64.tar.xz

Navigate into the directory you just unzipped from the archive, and start the daemon.

cd blur-v0.1.7.6-linux_x86_64 && ./blurd

Wait for sync to complete, open a new tab or terminal window, and then start the wallet:

./blur-wallet-cli

Follow the prompts to setup a new wallet. When prompted for the password, the CLI will not show a password as you type. It is recording your keystrokes, however.

Record the information for your wallet.

Once the wallet is open, type into the wallet CLI: start_mining [# of threads] where [# of threads] is the amount of cpu threads you wish to dedicate to mining BLUR.

You should see the message: Mining started in daemon

Switch back to the terminal or tab in which your daemon is running, and type show_hr for real-time hashrate monitoring. For further commands in either the wallet or the daemon, type help into either CLI. Note that the commands for the daemon and wallet are different.

Whenever you find a block, your daemon will show a bold message with the block # found. There is a slight delay between that message and the balance reflecting in your wallet.

Mining on Windows

Download the latest release from our Releases page.

Open your Downloads Library in your File Explorer. Extract the executables from the compressed archive, and navigate to the folder that you just extracted.

Start the daemon by double-clicking the blurd.exe file.

You will see a pop-up from your firewall. Be sure to check the box next to "Private Networks" if you are on a private network, or your daemon will not be able to sync with the network. If you daemon stalls while syncing, close and restart the program. You will not lose any blocks you have already synced with. Once your daemon is synced with the network...

Start the wallet by double-clicking the blur-wallet-cli file.

Follow the prompts to setup a new wallet. When prompted for the password, the CLI will not show a password as you type. It is recording your keystrokes, however.

Once the wallet is open, type into the wallet CLI: start_mining [# of threads] where [# of threads] is the amount of cpu threads you wish to dedicate to mining BLUR. .

You should see the message: Mining started in daemon

Switch back to the terminal or tab in which your daemon is running, and type show_hr for real-time hashrate monitoring. For further commands in either the wallet or the daemon, type help into either CLI. Note that the commands for the daemon and wallet are different.

Whenever you find a block, your daemon will show a bold message with the block # found. There is a slight delay between that message and the balance reflecting in your wallet.

How to Fix Synchronizing Issues

If you cannot synchronize with the network, kill your daemon & restart with the following options:

Linux: cd to the directory you downloaded the files into, and type: ./blurd --add-priority-node 178.128.191.245:13894 --add-priority-node 178.128.186.101:13894 --seed-node 178.128.180.136:13894

Windows: Open cmd.exe, cd to the directory you downloaded the files into, and type: blurd.exe --add-priority-node 178.128.191.245:13894 --add-priority-node 178.128.186.101:13894 --seed-node 178.128.180.136:13894

This should fix the synchronizing issue if the daemon does not connect to the seed nodes automatically.

You can also see additional command-line options by running the daemon with the option --help. The program will return a list of startup flags and their descriptions.

blur's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.