shell - `read` command not working in a Makefile - Unix ...

DECENT MINING SETUP & RESSOURCES SHORTCUT

To all DECENTants,
I would like to encourage you to become a seeder or witness (actually not miner) on DECENT.

SHORT INTRODUCTION ABOUT ME

As a pioneer with Bitcoin I truly believed in the DCT project and it's proposal. The first day of the ICO release I sent all my BTC balance to the DECENT. Not knowing when and what they will deliver. To participate in this great adventure means a lot to me. Another project from my home country I strongly encourage you to get familiar with is Ethereum. I have been an early CPU miner: before Crypto Currency I used to compute for sience projects grid for Clean Water and Cancer Research. If I hadn't bought Rainforest with the Ripple they distributed to all contributors, I'd be a rich man today. :P

DECENT SUPPORT

https://decent.ladesk.com/

DECENT WIKI

https://wiki.decent.ch/doku.php?id=decent:howto#build_decent_from_source

DECENT GITHUB

https://github.com/DECENTfoundation/DECENT-Network

BLOCK EXPLORER

https://explorer.decent.ch/

DECENT DB

https://decent-db.com/

GRAPHENE CLI Wallet Cookbook

https://github.com/bitshares/bitshares-core/wiki/CLI-Wallet-Cookbook

RESSOURCES

https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-16-04
http://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/
https://digitizor.com/create-swap-file-ubuntu-linux/

I - SERVER SETUP

A dedicated server with Linux Ubuntu 16.04 LTS is most recommend for 24/7 operation. I suggest you close the root and create a new user with SSH Key, secure the system with a firewall.

1. Create a new user

adduser bob 

2. Elevate him

usermod -aG sudo bob 

3. Generate a new keyset

ssh-keygen 

4- Bind the new keys

ssh-copy-id [email protected]_server_ip 
Copy the keys to your local drive. You'll need them to connect.

5. Change the config file

sudo nano /etc/ssh/sshd_config 
Change Line PasswordAuthentication no

6. Finish with

sudo systemctl reload sshd 

7. Login with your ssh key, user and password

ssh [email protected]_server_ip 

II - PREREQUISITES

1. Grab your tools

sudo apt-get update sudo apt-get install build-essential autotools-dev automake autoconf libtool make cmake checkinstall realpath gcc g++ flex bison doxygen gettext git qt5-default libqt5svg5-dev libreadline-dev libcrypto++-dev libgmp-dev libdb-dev libdb++-dev libssl-dev libncurses5-dev libboost-all-dev libcurl4-openssl-dev python-dev libicu-dev libbz2-dev 

2. Download and build Boost 1.60.0

mkdir -p ~/dev/DECENTfoundation/DECENT-Network-third-party cd ~/dev/DECENTfoundation/DECENT-Network-third-party rm -rf boost_1_60_0* boost-1.60.0* wget https://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.gz tar xvf boost_1_60_0.tar.gz mkdir boost-1.60.0_prefix cd boost_1_60_0 export BOOST_ROOT=$(realpath ../boost-1.60.0_prefix) ./bootstrap.sh --prefix=$BOOST_ROOT ./b2 install cd .. rm -rf boost_1_60_0 boost_1_60_0.tar.gz 

III - INSTALLATION

1. Clone the repo

mkdir -p ~/dev/DECENTfoundation cd ~/dev/DECENTfoundation #via ssh $ git clone [email protected]:DECENTfoundation/DECENT-Network.git #via url $ git clone https://github.com/DECENTfoundation/DECENT-Network.git cd DECENT-Network git submodule update --init --recursive 

2. Build and install Decent

mkdir -p ~/dev/DECENTfoundation/DECENT-Network-build cd ~/dev/DECENTfoundation/DECENT-Network-build cmake -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ~/dev/DECENTfoundation/DECENT-Network cmake --build . --target all -- -j -l 3.0 cmake --build . --target install 

IV - USE DECENT

You don't want your server to shut down the process when you lose connection or quit.
I use tmux. Though nohup is sufficient for infrequent access. Use it when you fire up decentd after miner setup.
nohup ./decentd & disown 

1. RUN decentd - On first run decentd will create .decent in the home directory.

~/dev/DECENTfoundation/DECENT-Network-build/artifacts/prefix/bin/decentd 
Always close it via Ctrl+C to save the current state Ctrl+S Freeze Ctrl+Q Resume

2. Get HELP

cd ~/dev/DECENTfoundation/DECENT-Network-build/artifacts/prefix/bin/ ./decentd -h 

3. RUN cli_wallet

~/dev/DECENTfoundation/DECENT-Network-build/artifacts/prefix/bin/cli_wallet 
Close it with Ctrl+D

4. USE cli_wallet

set_password xy unlock xy 

5. IMPORT your account

import_key decentgo_username your_private_key 

6. CREATE 3 sets of keys for your new account

suggest_brain_key 
write them down, don't use the ones below. ;)

1. new owner key

{ "brain_priv_key1": "UNBUSH ROAR CHKALIK STRUE PLATTEN DEMOB COLETIT DECAYER SPERONE SPASMED ANATASE LAGGARD BESPETE AXOID SERAL CHEKI", "wif_priv_key1": "5J4brX9bydADigEtsXZhCZ1YLVXkq8frp4xcKAREQ3Gh3P2DE7e", "pub_key1": "DCT5VNJni7HypYi159qiwazZ1WZUt4p2v7NLQmFCJPDvjBpW2oG8a" } 

2. new active key

{ "brain_priv_key2": "FUSION BLART JAIL FESTAL LAXNESS ROSTEL TITI VANADYL PUG BATATA KAIK ROSETY STUCCO TETE BEMUDDY WUDGE", "wif_priv_key2": "5HvsjRsokHSeeUdRkM88JgLzYJ6vnc2e35CzyZNRnmh1fvm91Jz", "pub_key2": "DCT7G7KeUnMPVKXN2y8M7BnyosLRE3LtSnNp7kbxtYd9xHiBoX6wd" } 

3. new public signing key

{ "brain_priv_key3": "DECESS LABBA PLAN DEHUSK FISTY MOSSER SPURTER SCORIAE INDART UNDYE MASTER STEIGH SAFROLE FLURR THAPSIA JOB", "wif_priv_key3": "5JgMsecySgt2BQsmmEE9QnwAGuudC9fGeZJhreyPatcu2TVY9bs", "pub_key3": "DCT6D7TLeVJmPQWR73XHvEhTVHzTDoG6oTSUyvfGa58nuc5wL96UH" } 

7. CREATE your new account

register_account new_username pub_key1 pub_key2 decentgo_username true 

8. SEND some DCT to your new account

transfer decentgo_username target_username 3.00 DCT "memo" true 

9. IMPORT the new account

import_key new_username wif_priv_key2 

10. Close the Wallet and edit the config.ini inside /root/.decent/data/decentd/

private-key = ["pub_key2","wif_priv_key2"] 

11. Launch again and create your miner

create_miner username "proposal URL" true 

12. Change your signing key to 3rd keypair from suggest_brain_key

update_miner username "proposal URL" public_key3 true 

13. Edit the config.ini again inside /root/.decent/data/decentd/

enable-stale-production = true miner-id = "1.4.X" private-key = ["pub_key3","wif_priv_key3"] 

Your Server is now ready to run a DECENT witness.

Be aware that you should not close your daemon at any time.

V - USEFUL COMMANDS

get_brain_key_info dump_private_keys get_private_key public-key get_account texxi get_miner texxi list_my_accounts list_account_balances texxi set_desired_miner_count username 99 

Now get some support for your miner and join the community!

https://decent-project.slack.com/

You can vote for me and I will gladly return the favor. Please make sure your server runs stable and you're not missing any blocks. Good Luck!

vote_for_miner username texxi true true

All voters will receive early preview access to my first cryptocurrency trading tool to be released in 2018. But remember: Always trade for good and invest in green.

submitted by Texxer to Decentplatform [link] [comments]

Compile the Ultracoin Wallet on Linux

Since documentation and how to guides on ultracoin are almost non existent. I thought I could make one to share with you guys. I wanted to set up a Linux wallet (ultimately to make a node), since there are no guides on this specifically, I was lost. After some through googling, I finally got this ultracoind up and running. Here's a guide for ubuntu.
*Update ubuntu
sudo apt-get update
*install git to download the source code
sudo apt-get install git
*install the other necessary components
sudo apt-get install build-essential libboost1.48-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev
*navigate to the home directory
cd ~ *download the ultracoin source code
git clone git://github.com/ziggy909/ultracoin
*navigate to the downloaded files
cd ~ *navigate to the src file in the source code
cd ultracoin/src
*build ultracoind !This will take a while!
make -f makefile.unix USE_UPNP=-
*go back to the home directory
cd /root
*make the directory for the .conf file
mkdir .Ultracoin
*navigate to the new directory
cd .Ultracoin
*make and edit the .conf file
nano Ultracoin.conf
*paste this info in the .conf file
rpcuser="USERNAME" CHANGE THIS TO SOMETHING ELSE rpcpassword="PASSWORD" CHANGE THIS TO SOMETHING ELSE rpcport=44101 port=44100 daemon=1 addnode=37.187.98.146 addnode=85.23.43.220 addnode=72.44.79.45 addnode=31.3.65.40 addnode=184.72.188.245 addnode=192.241.203.159 addnode=123.168.85.188 addnode=107.170.47.232
*Exit out of nano press control X, press y, then press enter
*go back to the src directory
cd /root/ultracoin/src
*start the dameon
./Ultracoind -daemon
That's it!
To find out how to use the daemon, go here
If you run into this error when compiling it -
If this - g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [obj/main.o] Error 4
it is most likely caused by a lack of ram to libboost
to fix it do this -
cd sudo dd if=/dev/zero of=/swapfile bs=64M count=16 sudo mkswap /swapfile sudo swapon /swapfile
I set this node up on a $5 vps from https://www.digitalocean.com/ I cannot guarantee the uptime of any of the nodes listed. I obtained them from my -qt client. Feel free to comment and message me more permanent nodes as I couldn't find any listed for ultracoin.
I am no linux expert, but I believe this information to be correct. If I made any mistakes, please correct me.
submitted by howardrya to ultracoinmining [link] [comments]

Mining Bitcoin ! HASH FLARE ! FIRST DEPOSIT ! How to make money BITCOIN : La fin d'un cycle ? How Does Bitcoin Work? - YouTube 80 Trillion Dollar Bitcoin Exit Plan - YouTube What is Bitcoin? Bitcoin Explained Simply for Dummies ...

Build Bitcoin Unix . Mar 30, 2018 DTN Staff. twitter. pinterest. google plus. facebook. Bitcoin Core Version 0.16.0 Released 26 February 2018 ... Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up. Sign up to join this community . Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Bitcoin . Home ; Questions ; Tags ; Users ; Jobs; Unanswered ; g++ problem compiling litecoind on Ubuntu Server i386. Ask Question Asked 8 ... Bitcoin Core integration/staging tree. Contribute to bitcoin/bitcoin development by creating an account on GitHub. Contribute to bitcoin/bitcoin development by creating an account on GitHub. All client version information is moved to version.cpp, which optionally (-DHAVE_BUILD_INFO) includes build.h. build.h is automatically generated on supporting platforms via contrib/genbuild.sh, us... I would appreciate any help I can get on this issue. I've edited rcpcrawtransaction.cpp line 242 and removed "&" and "const" as shown in the tutorial. I then compiled the src folder "make -f makefile.unix" but I've been getting this erro... make -f makefile.unix # Headless bit coin: make -f makefile.unix # Headless lite coin: See readme-qt.rst for instructions on building Bit coin-Qt, the graphical user interface. See readme-qt.rst for instructions on building Lite coin-Qt, the graphical user interface. Dependencies-----..... @@ -79,21 +79,6 @@ Optional: sudo apt-get install libminiupnpc-dev (see USE_UPNP compile flag) Dependency ...

[index] [34836] [2039] [26201] [43091] [50402] [2373] [2329] [31581] [34135] [36813]

Mining Bitcoin ! HASH FLARE ! FIRST DEPOSIT ! How to make money

قبل لا نبداو التحضير على الحلقة لقينا بالي بزاااف ديال الناس تكلمو على الموضوع بطرق مختلفة, هادشي لي خلق ... Thanks to Away for sponsoring this video! Go to https://www.awaytravel.com/techquickie and use promo code techquickie to get $20 off your next order! Bitcoin... Bitcoin Futures einfach erklärt! Kostenloses Depot inkl. 20€ Prämie: https://www.finanzfluss.de/go/depot?utm_source=youtube&utm_medium=119&utm_campaign=co... Onecoin promised the world, but only proved to be a trail of destruction. --- About ColdFusion --- ColdFusion is an Australian based online media company ind... Start trading Bitcoin and cryptocurrency here: http://bit.ly/2Vptr2X Bitcoin is the first decentralized digital currency. All Bitcoin transactions are docume...

#