Jump to content

Search the Community

Showing results for tags 'denarius'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • BlockForums Announcements
    • Denarius Announcements
  • Cryptocurrency Discussions
    • Cryptocurrencies
    • Altcoin Announcements
    • General Discussion
    • Tutorials & Help
  • Denarius Discussions
    • General Discussion
    • Tutorials & Help
    • Marketing & PR
    • Development
    • Mining & Staking
    • Trading & Exchanges
    • Marketplace
  • Programming & Design
    • Development QA
    • Design QA
  • Gaming
    • Bot Downloads & Discussion
    • Gaming Discussion
  • Classifieds
    • Buy Sell and Trade
  • Other Discussions
    • The Lounge

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


BTC Address

Found 74 results

  1. How to compile carsen's fork of BEAM to test atomic swaps. Using a Ubuntu 20.04 Focal VM. sudo apt install qml-module-qtquick-controls2 libqt5svg5-dev libboost-all-dev libssl-dev qtdeclarative5-dev sudo apt install build-essential curl wget unzip zlib1g-dev apt-transport-https libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev libevent-dev libcurl4-openssl-dev libssl-dev libtool libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools qt5-default qtbase5-dev-tools qml-module-qtquick-controls2 libqt5svg5-dev qtdeclarative5-dev golang go-dep sudo apt-get install qml-module-qt* sudo apt install qml-module-qtquick-controls sudo apt install qml-module-qtquick-dialogs sudo apt-get install qt511quick* qt511graphicaleffects sudo snap install cmake git clone https://github.com/carsenk/beam Compile wallet cd ~/beam cmake -DCMAKE_BUILD_TYPE=Release . && make -j2 After compile go to directory and run QT wallet cd /beam/ui ./BeamWalletMasternet Setup the BEAM wallet with password and copy generated seed down. Go to the GEAR icon, then SWAP tab to setup Denarius Click on Electrum to turn that on and leave Select server automatically checkmarked. Then click Apply -> Connect -> Show wallet addresses You can now send Denarius in. From this point its unclear how to send out. Also unknown if the BIP39 seed phrase is correct, as it would be great if we could throw this Denarius generated seed phrase into Coinomi. I couldn't get this idea to work yet. After sending in, go to the ATOM Icon and see your Denarius ready to swap.
  2. PR is in the works to make Denarius and Beam Atomic swaps possible in the Beam wallet. You can start building it to test the atomic swaps via electrum and or the native D wallet. You only will need the Beam wallet though if using electrum. Beam building guide coming soon that adds onto their documentation and new atomic swap guides. https://github.com/BeamMW/beam/pull/1303
  3. I think this is an easier way to setup an electrumx server. It's not that bad once you go through the steps. Trying to be thorough. Install docker My github for this. https://github.com/buzzkillb/docker-electrumx We will end up running denariusd in a container and electrumx in a container. First create a folder on your server or vps to store the denarius blockchain. This can be anywhere, but lets make this easy. cd ~ mkdir .denarius cd .denarius nano denarius.conf Sample denarius.conf, pay attention as we will need the rpcuser and rpcpassword. rpcuser=denariusrpc rpcpassword=MAKEUPSOMEPASSWORD maxconnections=125 rpcport=32369 port=33369 daemon=0 listen=1 server=1 discover=1 txindex=1 bind=127.0.0.1:33369 We either sync from block 0 or use chaindata. You decide. Now we can run the denariusd docker container. docker run \ --net=host \ --name=denariusd \ -t -d \ -p 33369:33369 \ -p 32369:32369 \ -v ~/.denarius:/data \ -P buzzkillb/denariusd:latest To check the sync docker logs denariusd -f ctrl+c to exit out of that whenever Now to run electrumx server (wait to be fully sync'd). docker run \ --name=electrumx \ --net=host \ --ulimit nofile=5120:5120 \ -t -d \ -v ~/electrumx:/data \ -e DAEMON_URL=http://denariusrpc:[email protected]:32369 \ -e COIN=Denarius \ -e DB_ENGINE=rocksdb \ -p 50001:50001 \ -p 50002:50002 \ buzzkillb/docker-electrumx:latest To watch these logs. docker logs electrumx -f Once running check it can be found. openssl s_client -connect electrumx1.denarius.pro:50002 Working on an easy way to do the compaction. If you stop the container and then run docker run \ --name=electrumx-compact \ --net=host \ --ulimit nofile=5120:5120 \ -t -d \ -v ~/electrumx:/data \ -e DAEMON_URL=http://denariusrpc:[email protected]:32369 \ -e COIN=Denarius \ -e DB_ENGINE=rocksdb \ -p 50001:50001 \ -p 50002:50002 \ buzzkillb/docker-electrumx:dcompact This will compact the database using Denarius environment variables. With both containers electrumx and electrumx-compact both up, we can now add a cronjob to stop server, start compact, and restart server. crontab -e Run daily, this is overkill. Best to run every 14 days or less. 0 0 * * * docker stop electrumx >/dev/null 2>&1 1 0 * * * docker start electrumx-compact >/dev/null 2>&1 6 0 * * * docker start electrumx >/dev/null 2>&1
  4. Buying 100m OSRS 2007 for $0.50 per mill. Payment in D or BTC
  5. What is the best mining OS you recommend? I personally like HiveOS - https://hiveos.farm
  6. How to Install Snap and Denarius (D) on any Chromebook (ChromeOS) Guide by Carsen Klock First you need to install/enable Linux (Beta) aka Crostini within your ChromeOS Settings. You will be running the following commands in the default Linux (Beta) terminal within ChromeOS to get a full working install of https://snapcraft.io (Snap/Snapd) on ChromeOS with Denarius installed via Snap. Update and Upgrade your Linux (Beta) aka. Debian 9 Stretch by default as of this guides writing: sudo apt update && sudo apt upgrade Now you need to install some dependencies and tools that we will be using: sudo apt install git wget curl build-essential automake libtool autoconf pkg-config udev fuse snap snapd --------------------------------------------------------------------------------------------- Now you will need to install libsquashfuse0 and squashfuse, you can manually compile these and link them, but for ease of use, you can just install their respective .deb packages for your ChromeOS Architecture, Snap will be installed at this point, but it will not successfully mount and install any Snaps until you have libsquashfuse0 and squashfuse packages installed and linked. ARM64 Arch Only: wget http://ftp.us.debian.org/debian/pool/main/s/squashfuse/libsquashfuse0_0.1.103-1_arm64.deb AMD64 Arch Only: wget http://ftp.us.debian.org/debian/pool/main/s/squashfuse/libsquashfuse0_0.1.103-1_amd64.deb Now after downloading the proper libsquashfuse0 from one of the commands above, you want to install it with dpkg, after the -i flag (install) enter in the name of the file with the correct architecture you downloaded for your device: (ARM64 is used in the example) sudo dpkg -i libsquashfuse0_0.1.103-1_arm64.deb --------------------------------------------------------------------------------------------- Now you will want to do the same thing with the squashfuse package as libsquashfuse0 ARM64 Arch Only: wget http://ftp.us.debian.org/debian/pool/main/s/squashfuse/squashfuse_0.1.103-1_arm64.deb AMD64 Arch Only: wget http://ftp.us.debian.org/debian/pool/main/s/squashfuse/squashfuse_0.1.103-1_amd64.deb Now after downloading, the step is the same as above, run dpkg -i to install the *.deb package (ARM64 is in the example below): sudo dpkg -i squashfuse_0.1.103-1_arm64.deb If successfully done correctly, you will now have a working Snap install on ChromeOS! --------------------------------------------------------------------------------------------- Now it is time to install and run your first Snap! sudo snap install denarius It should now install without fail if you followed the commands above and used the proper architectures for your Chromebook, Now to run Denarius on your Chromebook, simply run the command: denarius.daemon You can also install the GUI Snap Store with the snap command: sudo snap install snap-store GUI support and guide will be coming soon
  7. I've told folks about how I found this coin but here is a much much much more detailed post... It was the year 2011 on June 29th. I was watching a show called The Matrix by Kim Clement, when I first heard about "The Denarii". All of Kim Clement's prophecies were transcribed on his website in the prophecy vault at https://www.kimclement.com/prophecy/. I'll paste related prophecies below so you can understand how I made my discovery that The Denarii was Denarius (D). This was my first clue. I knew there was something called "The Denarii" that was likened to gold. It was something that I could invest in and was going to be stale for a while before having a sudden change. As for that ending there, it's about some of his other prophecies, like his oak tree medical prophecy. For historical tracking purposes, they changed the website text from Denarii to Dinar. I don't have a screenshot of it but I watched the video live broadcast and then watched the recording of it on his website many more times the following months and the actual words that came out of his mouth were "Denarii". If this video is still up by the time you read this, you can see it for yourself here - I know why they changed it to Dinar from his original speech of Denarii and that is because those around Kim wanted to believe that he was talking about the Iraqi Dinar and folks even wrote him letters about it. Btw, the plural form of Dinar is Dinars, not Denarii. So, this prophecy had nothing to do with Iraqi Dinar currency. The next clue, which I didn't understand when I watched it....or else I'd be rich right now...was Kim Clement prophesying that Bitcoin would reach 20,000. Take note, he makes no mention of the Dow but everyone again made assumptions about his prophecy and assumed that he was talking about the Dow. Ask yourself this question...why would the Dow reaching 20k be worthy of prophecy? The Dow reaching 20k is almost a given. That's how the fiat controlled world works. The Dow just keeps going up and up over the years because the USD has a monopoly on the global economic system. Nobody smart would have questioned whether the Dow would reach 20k. Kim does go one after that and mention "BBB". First off, he didn't say it like 3 B's. He was stuttering with the word and he said that God hid the word from him and wouldn't let him see the rest so he only could see the first letter of the word. That is how he described it after he gave that prophecy. You can watch the videos from his show to hear the full description. God wouldn't show him the word Bitcoin because it would have changed the future drastically if he had said that back then. He couldn't say the whole word Bitcoin so he just said you had to "search it out for yourself and find out, BBB". So, there you have it - Kim Clement prophesied that Bitcoin would hit 20,000. This next clue connects The Denarii to bitcoin/crypto. Once again, he never prophesied about the DINAR. He prophesied about The DINARII. And once again, he also never prophesied about the Dow. He said "BBB" and 20,000. Kim Clement could see that there was a connection between his prophecy of the 20,000 and his prophecy of The Denarii. That was what he was trying to convey in his email update but others influenced him into believing his prophecies were about other things. This is why prophets don't watch the news and shouldn't have others interpreting their prophecies for them. I will go into further evidence below as to why it is not the Dow and why it is not the Dinar. Here, he specifically calls it out that it is not Wall Street. Here, he gives you plenty of clues that the Iraqi Dinar has nothing to do with his prophecy. So now that I've determined that Kim Clement's prophecy about "The Denarii" is in fact a crypto because it will have a breakthrough and is related to Bitcoin reaching 20,000, I searched for crypto currency coins that were named like The Denarii. As it is described on the main website - https://denarius.io/#about - we see the following.... We see that the plural form of Denarius is Denarii. Also, Denarius fractionals are called Denarii. For the USD, you can have fractional pieces of a dollar, which are called cents ($0.01 is called 1 cent). For Bitcoin, you can have fractional pieces of a Bitcoin (BTC), which are called Satoshi's (0.00000001 BTC is called 1 Satoshi). For Denarius (D), you can have fractional pieces, which are called Denarii (0.00000001 D is called 1 Denarii). You can also see this in the code... https://github.com/carsenk/denarius/blob/555adee539c4fe99e86dd41f37cc275c45ef7b82/src/init.cpp#L489 https://github.com/carsenk/denarius/blob/555adee539c4fe99e86dd41f37cc275c45ef7b82/src/miner.cpp#L193 // Fee-per-kilobyte amount considered the same as "free" // Be careful setting this: if you set it to zero then // a transaction spammer can cheaply fill blocks using // 1-denarii-fee transactions. It should be set above the real // cost to you of processing a transaction. https://github.com/carsenk/denarius/blob/555adee539c4fe99e86dd41f37cc275c45ef7b82/src/version.cpp#L8 // Name of client reported in the 'version' message. Report the same name // for both bitcoind and bitcoin-qt, to make it harder for attackers to // target servers or GUI users specifically. const std::string CLIENT_NAME("Denarii"); Also, I'm sure how related this is but on the Discord server, a social community chat - https://discord.gg/BwfAmkE - Denarius is often referred to as "The D". This is all the evidence I have on how I came to the conclusion that D was what Kim Clement was prophesying about. A lot of folks, including myself, are wondering how to react to this prophecy about "The Denarii". When Kim receives a prophecy, it's something majorly important. Kim wouldn't prophesy about something so trivial so this has to be big. I mean, if every other coin can jump 1000x in value, why would he specifically call out this one unless it was majority huge and different from the rest. Maybe it's even meant for Denarius to be the coin that overtakes Bitcoin as the leader in the crypto currency sphere.
  8. Denarius v3.3.9.7 Changes and Features: New Denarius Jupiter Flags (-jupiterlocal=1 and -jupiterip=ipfsnodeip:port to specify a remote or locally hosted IPFS node) Default is jupiterlocal=0 and uses Infura.io APIs to connect to IPFS (sudo apt install libcurl4-openssl-dev is required as a dep now!) New proofofdata RPC Command Updated Jupiter IPFS UI in the Denarius QT New jupiterduo and jupiterduopod commands (Must have jupiterlocal flag enabled) Autocomplete in the Denarius QT Debug Window Fixes for upcoming PoW Block 3 Million. (Proof of Work rewards end) Bug Fixes Performance Updates Snap is updated as always snap refresh denarius or snap install denarius on any Linux distro and arch! Denarius-v3.3.9.7-Win64.zip SHA256 Hash: A022FEC6D9C5C4EA747A8F121E39578842803FB2CF3BA57C4798760A85906878 SHA1 Hash: 6AF62D2F684EAE99ECB27289182E6A1C9722668E CRC64 Hash: 9F8F0D998A62B44E Denarius.exe SHA256 Hash: 16F7D0D928C02878428BAB1F697128079EB08FAD3480184716EFA450B051B694 SHA1 Hash: 0BB82DA5C91327A3AF22A40213152E89EA7FA839 CRC64 Hash: 4849558F817C7921 Get the latest release from https://github.com/carsenk/denarius/releases You can also run snap update denarius or snap install denarius if on any Linux distribution
  9. First go to this script's github and read through the readme a few times. https://github.com/xavatar/yiimp_install_scrypt For a single coin pool, a $5 Vultr VPS Appears to work so far. This is 1 cpu, 1GB ram. Also grab a domain name from somewhere like namecheap with whois guard. You then want to create an A record that points the domain name to your VPS IP and let this propogate. This generally takes 1-2 hours. I use https://dnschecker.org/#A to check the DNS switched over. I setup the denarius daemon first to double check I can compile coins. Some cheaper VPS's will not allow swap drives to compile and even fake swap space doesn't work sometimes. A nice feature of Vultr is that you can upgrade and not lose your data. They still also allow free snapshots of your VPS. After you compile denariusd, start daemon. Note the RPC user and pass this randomly generates and copy and paste those somewhere. Edit the denarius.conf and add those and a couple other lines to start the daemon syncing. nano ~/.denarius/denarius.conf Add these lines. RPCUSERNAME=FROMABOVE RPCPASSWORD=FROMABOVE daemon=1 Restart denariusd and let that sync in the background and start the Yiimp script install. adduser pool adduser pool sudo su - pool sudo apt-get -y install git git clone https://github.com/xavatar/yiimp_install_scrypt.git cd yiimp_install_scrypt/ sudo bash install.sh Use this link for the timezone you will input into the beginning of the script http://php.net/manual/en/timezones.php Keep everything as default. Yes you want to use letsencrypt so the domain is automatically setup for https. Also you need to grab your home IP so only that IP can login to the Yiimp control panel. Also need an email for alerts. Also you admin panel can be named anything which you get the option here. Example https://example.com/site/ICOULDNAMEMYADMINPANELTHIS. Inputting through the steps, sit back and watch the script go to work. This will take anywhere from 30min to over an hour depending on the VPS. After the initial setup is done, go to your new domain name and see the website is setup, but no coin is there to mine. At your panel click Wallets at the top of the menu bar and scroll down to see CREATE COIN. Fill in this Data thats underlined in red on the General Tab. Here is a direct link for a D logo. Which Yiimp automatically adds. https://i.imgur.com/jv3U2nF.png On the Settings tab checkmark similar things, and wait to add D addresses for once we are done setting up these tabs. On the Deamon tab fill in the underlined red. Click Save. Go back to that config screen by clicking COIN PROPERTIES. Go back to the Deamon tab and under sample config you want to copy and paste that entire area and paste into your denarius.conf file at ~/.denarius/denarius.conf At the VPS command line nano ~/.denarius/denarius.conf Change the last line blocknotify to this. Full denarius.conf example below. rpcuser=USERNAME rpcpassword=PASSWORD rpcport=32369 rpcthreads=8 rpcallowip=127.0.0.1 maxconnections=12 daemon=1 gen=0 alertnotify=echo %s | mail -s "Denarius alert!" [email protected] blocknotify=/var/stratum/blocknotify 127.0.0.1:8533 1425 %s Open up your firewall for port 8533 for mining and also allow 33369 for denarius daemon port. sudo ufw allow 8533 33369 Now stop denariusd from syncing earlier and rerun. Some sample tutorials are running this with sudo. Not sure if this is required. denariusd Once that gets syncing again we need an address. I did it like this. denariusd getnewaddress denariusd getaccountaddress default And I used that default address in the Settings Tab -> Master Wallet and Daemon Tab -> Account Go back into the Yiimp control panel, click wallets again at the top right and then Select Server and choose 127.0.01 to get your list of coins you have added. Once the daemon is done syncing go back to admin panel to the Settings Tab and click Enable and Auto Ready. Change the stratum script before running which is in that yiimp folder you cloned in. nano screen-stratum.sh And change to #!/bin/bash STRATUM_DIR=/var/stratum screen -dmS tribus $STRATUM_DIR/run.sh tribus I would remove root login access and remove password login for VPS login accounts and only use SSH keys, as a starting point to start locking the VPS down. 2 Things I changed from the default install. Payout Frequency to every hour. /var/web/serverconfig.php define('YAAMP_PAYMENTS_FREQ', 1*60*60); And somewhere I saw this helped with payout issues. /var/web/yaamp/core/backend/payment.php line57 if($coin->symbol == 'BOD' || $coin->symbol == 'D' || $coin->symbol == 'DIME' || $coin->symbol == 'BTCRY' || !empty($coin->payout_max)) If you are looking to edit the website text, go to https://github.com/tpruvot/yiimp And search a small portion of the text you are looking to change, and this will show you the file to edit.
  10. FortunaStake Setup Guide ... This will take 500 confirms before being able to start, so do the send first, then read through the guide. Send exactly 5000 D to an address and give that address a label like FS01. Script for VPS Portion Located Here This will pull master branch and compile the latest wallet. And add a cronjob to restart wallet every hour to make sure things stay in sync. https://github.com/buzzkillb/d-fortunastake QT Wallet After sending 5000 D to a labelled address, we need the following; transaction hash and index of the 5000 send, fortunastake private key, and your VPS IP address. FS01 VPSIPADDRESS:9999 FORTUNASTAKEPRIVKEY TRANSACTIONHASH INDEXNUMBER Sample fortunastake.conf FS01 11.11.12.13:9999 6J8tAUsVhXBgfdeewqsdghySWEQEeb4XGSC251sM7bYQgEXh7 f08d926f92cc4c65321344828f6394f41121903502459ffde4ef7aef39e6392b 0 fortunastake private key fortunastake genkey fortunastake transaction hash and id fortunastake outputs VPS of your ip should be somewhat obvious. After creating your fortunastake.conf, save and restart the QT wallet. Sample QT denarius.conf fsconflock=1 staking=1 Now that address has locked the 5000 D collateral. VPS Get a VPS from somewhere like Vultr, make note of its IP address for the above fortunastake.conf creation for the QT wallet. On the VPS Update Linux sudo apt-get update && apt-get upgrade -y Install Dependencies sudo apt-get install -y git unzip build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev libgmp-dev libevent-dev autogen automake libtool Install Fail2Ban sudo apt install fail2ban Create Swap File sudo fallocate -l 2G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab Install Firewall sudo apt install ufw -y ufw default deny incoming ufw default allow outgoing ufw allow ssh/tcp ufw limit ssh/tcp ufw allow 33369/tcp ufw allow 9999/tcp ufw logging on ufw --force enable Compile and Install Wallet (most likely need to add swapfile below). If using 18.04 use this link instead of the instructions below https://denariustalk.org/index.php?/topic/268-steps-to-compile-wallet-ubuntu/&do=findComment&comment=2815 git clone https://github.com/carsenk/denarius cd denarius git checkout master cd src make -f makefile.unix strip denariusd sudo mv ~/denarius/src/denariusd /usr/local/bin/denariusd Install Chaindata apt-get -y install unzip mkdir ~/.denarius cd ~/.denarius rm -rf database txleveldb smsgDB wget https://denarii.cloud/chaindata.zip unzip chaindata.zip Create denarius.conf in the .denarius folder. Notice the . in the folder name. denarius.conf rpcuser=USEARANDOMNAME rpcpassword=USEARANDOMPASSWORD daemon=1 port=9999 fortunastakeprivkey=6J8tAUsVhXBgfdeewqsdghySWEQEeb4XGSC251sM7bYQgEXh7 run denariusd by typing denariusd Start Go back to your QT, go to debug console and type. fortunastake start-alias FS01 In the My Denarius Fortuna Stakes tab in your QT collateral wallet, the QT will show Registered once you start your FortunaStake and then Verified, then Online, then Active. Wait 1 complete round for rewards. 1 round is roughly how many ForTunaStakes are up, and that's how many blocks a round will last. Status Check masternode status still works for specific reasons, but fortunastake status gives info in English instead of numbers and gibberish. fortunastake status
  11. Spent some time with the DNS seeders and there is very little info so I was playing with cloudflare and wondered if I could automate the DNS seeds somehow. I assume this works on any coins that has a peer list with minor tweaks. The basic idea is getpeerinfo from the daemon into a json file and then send line by line of that into an A record on your seeder domain name. I am hopeful some others will see this and have a better idea how to automate this by making it easier to setup and run on generic coin. https://github.com/buzzkillb/duct-tape-dns-seeder Make a cloudflare account and point your domain denarius.pro at the cloudflare nameservers from your domain host control panel. Now we can edit records on cloudflare and the changes are almost immediate. Cloudflare API Key is here, top right Icon -> My Profile -> View Global API Key #Install Python Cloudflare sudo apt install python-pip git clone https://github.com/cloudflare/python-cloudflare cd python-cloudflare ./setup.py build sudo ./setup.py install #Create a config file for your cloudflare API, change email and token (API KEY) mkdir ~/.cloudflare nano ~/.cloudflare/cloudflare.cfg [CloudFlare] email = <[email protected]> token = <API KEY> certtoken = v1.0-... extras = #test this works. change the ipv4 and denarius.pro to your stuff. dnsseed.denarius.pro is what my example will show. cli4 --post name="dnsseed" type="A" content="73.218.220.108" /zones/:denarius.pro/dns_records now we want to store a couple text files somewhere. you choose this for now I will use /root/ #create seed.sh and edit denarius.pro to your domain name. still using dnsseed.denarius.pro for this example. #!/bin/sh grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' "${1:?}" | while read IP do echo "$IP" cli4 --post name="dnsseed" type="A" content="$IP" /zones/:denarius.pro/dns_records done make this file executable chmod +x seed.sh now how to grab and put the ipv4's into the domain A records. denariusd daemon send peerinfo into a json file. then jq parses the json for the addr array and then we remove some junk and put that into peers.txt. From there the bash file uses regex to make the ipv4's pretty. denariusd getpeerinfo > peer.json jq '.[] | .addr' -r peer.json | sed 's/[][]//g' > peers.txt ./seed.sh peers.txt This can be updated as much as the cloudflare API limits gives. But how to remove A records and try to keep this list fresh? Lets make a delete file from python cloudflare examples. https://github.com/cloudflare/python-cloudflare/blob/master/examples/example_delete_zone_entry.py #create delete.py and chmod+x this, and then put this inside. #!/usr/bin/env python """Cloudflare API code - example""" from __future__ import print_function import os import sys import re import json import requests sys.path.insert(0, os.path.abspath('..')) import CloudFlare def main(): """Cloudflare API code - example""" try: zone_name = sys.argv[1] dns_name = sys.argv[2] except IndexError: exit('usage: example_delete_zone_entry.py zone dns_record') cf = CloudFlare.CloudFlare() # grab the zone identifier try: params = {'name':zone_name} zones = cf.zones.get(params=params) except CloudFlare.exceptions.CloudFlareAPIError as e: exit('/zones %d %s - api call failed' % (e, e)) except Exception as e: exit('/zones.get - %s - api call failed' % (e)) if len(zones) == 0: exit('/zones.get - %s - zone not found' % (zone_name)) if len(zones) != 1: exit('/zones.get - %s - api call returned %d items' % (zone_name, len(zones))) zone = zones[0] zone_id = zone['id'] zone_name = zone['name'] print('ZONE:', zone_id, zone_name) try: params = {'name':dns_name + '.' + zone_name} dns_records = cf.zones.dns_records.get(zone_id, params=params) except CloudFlare.exceptions.CloudFlareAPIError as e: exit('/zones/dns_records %s - %d %s - api call failed' % (dns_name, e, e)) found = False for dns_record in dns_records: dns_record_id = dns_record['id'] dns_record_name = dns_record['name'] dns_record_type = dns_record['type'] dns_record_value = dns_record['content'] print('DNS RECORD:', dns_record_id, dns_record_name, dns_record_type, dns_record_value) try: dns_record = cf.zones.dns_records.delete(zone_id, dns_record_id) print('DELETED') except CloudFlare.exceptions.CloudFlareAPIError as e: exit('/zones.dns_records.delete %s - %d %s - api call failed' % (dns_name, e, e)) found = True if not found: print('RECORD NOT FOUND') exit(0) if __name__ == '__main__': main() to run the deleter, and it appears this only deletes 10-15 records at a time, so you might need to run this 5 times before sending a fresh list. This is only deleting records from dnsseed.denarius.pro. Nothing else on denarius.pro. Magical. ./delete.py denarius.pro dnsseed Right now I am trying to think how frequent to send new ip's and delete the list and start over. Once I get that down I will post a sample cronjob to use. Otherwise this should work with basically any bitcoin fork daemon, maybe minor tweaks. I also need a better regex to parse ipv6 so we can also make some on the fly AAAA records. Use the github as that shows the crontab for adding and deleting the A records
  12. How to compile Denarius (D) on macOS Mojave 10.14 By Carsen K First download Xcode from the App Store (v10.x) Install Xcode Command Line Tools via your Terminal: sudo xcode-select --install Accept Xcode License sudo xcodebuild -license Type agree after hitting space to get to the end -------------------------------------------------------- Download Qt 5.3.2 from: https://download.qt.io/archive/qt/5.3/5.3.2/qt-opensource-mac-x64-clang-5.3.2.dmg Install Qt and Qt Creator from this dmg (no need to install source files) Now in your default_pre.prf file inside your Qt 5.3.2 install change the following lines Example Location: Qt_install_folder/5.3.2/5.3/clang_64/mkspecs/features/mac/default_pre.prf REPLACE: isEmpty($$list($$system("/usr/bin/xcrun -find xcrun 2>/dev/null"))) WITH: isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))) Sometimes you just need to comment out line 16 the line below this (#error()) for Qt to recognize Xcode -------------------------------------------------------- Then download MacPorts from: https://www.macports.org/install.php Once installed run the following command in your Terminal to install all required Denarius dependancies. sudo port install boost db48 qrencode libevent miniupnpc openssl git Now you are almost ready to compile! -------------------------------------------------------- git clone https://github.com/carsenk/denarius cd denarius Now inside your denarius-qt.pro on line 14, replace the current QMAKE_CXXFLAGS with: QMAKE_CXXFLAGS += -fpermissive -Wno-literal-suffix -stdlib=libc++ Run this command in your terminal session with the denarius folder open, replace your username with your username or the entire path below with your correct QT location. export PATH=$PATH:/Users/<yourname>/Qt5.3.2/5.3/clang_64/bin Run qmake --version which should return Qt 5.3.2 You can now compile Denarius with the usual commands qmake "USE_UPNP=1" "USE_QRCODE=1" denarius-qt.pro make -j4 After compiling you can create a .dmg installer by running this command in the denarius root (you must have Python 2.7 installed, can be installed via MacPorts) sudo python contrib/macdeploy/macdeployqtplus Denarius.app -dmg You have successfully compiled Denarius on macOS!
  13. I have found it much faster to use the internal QT Wallet block explorer to find the FortunaStake outputs on the initial 5000 D collateral send. After sending, wait for 1 confirm. Go to the transaction tab, right click the transaction, then Copy Transaction ID. Then go to the Block Explorer tab. Paste the transaction ID from above into the Transaction ID and then click Decode Transaction. Under Outputs you will see the 5000 D output. The first line is output 0 and the second line is output 1. A sendmany you can have 0 through whatever number. The example below is using that transaction ID and output 0.
  14. Hi Everybody, First off all i'm new in the cryptocurrency world and in the miners world. (I have mined 165 DNR now) So, Sorry for my ignorance. I have to ask what will the future hold for the Denarius Coin? The value of the coin dropped the last past days to 0,35USD (why?) Will it rise? What plans are made to get more people at the Denarius side? In general what is the bigger plan voor DNR? So i hope someone can tell me more about it! Thanks!
  15. What is the future of this coin? and is there a road map? The community has become quiet after newyear
  16. So I made this https://github.com/buzzkillb/denariusQTdocker with a command line script of this #!/bin/bash XSOCK=/tmp/.X11-unix XAUTH=/tmp/.docker-xauth mkdir -p ${HOME}/.denarius xauth nlist ${DISPLAY} | sed -e 's/^..../ffff/' | xauth -f ${XAUTH} nmerge - docker run -ti --rm -e "XAUTHORITY=${XAUTH}" -e "DISPLAY=${DISPLAY}" -v ${HOME}/.denarius:/denarius -v ${XAUTH}:${XAUTH} -v ${XSOCK}:${XSOCK} --name="denarius-qt-d" --user="${UID}:${GID}" buzzkillb/denariusqt:latest Which the QT works on Ubuntu 19.04 Going to throw a bunch of random ideas on how to run this on other os's in here.
  17. Denarius Masternode and other Statistics can be viewed at https://denarius.host
  18. Its a good idea to make backups of your wallet, whether you are using the QT or the daemon to store your denarius coins. First of all, always use a very strong password on any crypto wallets you have. 64+ characters with no funky symbols. Backup wallet.dat The basic way to do this is going into the QT Wallet and selecting Settings -> Backup Wallet, go your your USB drive and put this wallet.dat in a folder like d:\backup\2019-07-29 D\wallet.dat This way you can have backups from different days. A few USB drives rotating like this is a great way to store your crypto wallets for just in case anything happens. You can also find your chaindata folder, and copy/paste the wallet.dat to your USB drive. Backup Private Keys Another way to backup your private keys is by going into debug console. I type help to get a reminder on commands. What you do with this one is dumpprivkey DADDRESS. Be very careful here as if your PC has a keylogger or remote access someone else can see the private key, Generally disconnect from wifi and/or ethernet completely before running this just in case. Maybe even run this command in a separate virtual machine. Just be very careful here. This will give you your private key in the output. Save this somewhere that can't be seen, maybe like writing it down or etching into titanium. Another method to dump your private key is dumping the entire wallet.dat. This will create a text file that has a list of your addresses and private keys next to them. I would not be connected to the internet doing this. This command you type like this dumpwallet makeupnamehere.txt The text file is stored where your chaindata is located, which would be where your wallet.dat is located. What I would do with this text file is zip with encryption using a strong 64+ character password. Be extremely careful if you print this out, as who knows if your printer is hacked or has something watching what is printing.
  19. Posting a rolling blog of PoS staking stats. Going to try to keep these up everyday as we get closer to POW ending. https://medium.com/@cryptoBuzzB/d-staking-stats-july-28-2019-d7798c1db22b
  20. My Crypto Cloud offers a shared masternode (fortunastake) service. Sign up here https://mycryptocloud.nl First thing to do after signing up is creating a D wallet address and sending in some D. After verifying your email and logging in, you will start at the dashboard. Select Asset from the left menu. Then select Deposit. In the Deposit screen, type denarius to find the wallet to add. Click Generate Address and you will get a Denarius address to send to to start depositing into the shared masternode. Send in whatever you feel comfortable since you won't be in control of your private keys. Go to Smart Pools on the left side menu while waiting for the D to fully confirm. Type Denarius into the search box or scroll down and select Denarius. Notice how our Denarius wallet shows 0 D? Lets change that be depositing from out cryptocloud wallet into the smart pool. Select Pool Deposit. Type in your amount up to your full balance and lets get to work! Lets also automatically setup to reinvest. Enable Reinvest and you are finished.
  21. First you need the QT Wallet started and some Denarius coins. Proof of Data costs 0.001 D as of the writing of this guide. Proof of Data can give a hash against a file like an MD5 checksum. Except this checksum is a hash stored on the blockchain with a time and date, proving your data hasn't been altered. Lets start with an easy to find image. Carsen's github with the Denarius image located here. https://github.com/carsenk/denarius I am going to right click the Denarius logo and save to my hard drive as the example. Now open the QT Wallet to the Proof of Data tab. We want to select file, choose the image we just saved which is a long string of numbers.png. After selecting the file type in up to 24 Characters. I am going to use Denarius Logo. And then click Create Timestamp. Now we get the success message and also a Generated Timestamp Denarius Address. A transaction hash is generated after clicking OK. Input the generated address into the block explorer to see what we just did. https://www.coinexplorer.net/D/address/D9hq7DB78uh8SGmoiA3iCaqGcW3RcvmawA Now what can we do next? Lets put the same image in and Create Timestamp again. We get the same address again. https://www.coinexplorer.net/D/address/D9hq7DB78uh8SGmoiA3iCaqGcW3RcvmawA Thats the basics, and this works for more than just image files. I personally use PDF's and link the Denarius block explorer with PDF in emails so no one is changing files on me.
  22. This may or may not be an easier way to control your fortunastake servers. Its for sure an easy way to run more than 1 on same PC as long as that PC / raspberry pi / tablet?? / whatever can run Docker. Can also run nativetor in each container, which is an interesting way to run onion FS's. If you do this guide once, you will see why I went through so much trouble to write this out. Github is located here with the dockerfiles https://github.com/buzzkillb/denariusDocker How to install docker on ubuntu 16.04. Might be different on newer releases, disco dingo has a snap package, just putting basic install here to show what the commands are. https://docs.docker.com/install/linux/docker-ce/ubuntu/ sudo apt-get update sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent \ software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io To test it installed correctly. sudo docker run hello-world modify your user account so you dont need to run sudo on the docker commands. sudo usermod -aG docker your-user Now to the good stuff. as of v3.3.9.1 denariusd creates a denarius.conf in the datadir, so we can handle this 2 ways. Either run the docker daemon and let it autocreate denarius.conf and then edit that, or just create denarius.conf before running the docker daemon. The main thing to know is that the docker daemon requires daemon=0. Setup typical denarius.conf to enable fortunastake server. typical chaindata directory is ~/.denarius but this can go anywhere. like ~/D/FS01 example denarius.conf rpcuser=USEARANDOMNAME rpcpassword=USEARANDOMPASSWORD daemon=0 port=9999 fortunastake=1 fortunastakeprivkey=6J8tAUsVchangethisofcoursehXBgfdeewqsdghySWEQEeb4XGSC251sM7bYQgEXh7 Lets run from ~/.denarius to get started. This will run the docker container of latest wallet daemon compiled from source using ubuntu 18.04 as the OS. I also created one that uses ubuntu 16.04, and one that works on armv7 devices like a raspberry pi3. For now lets use the first one I made. docker run --name=denariusd --rm -t -d -v ~/.denarius:/data -P buzzkillb/denariusd What this does is pulls and runs the docker daemon container and uses your ~/.denarius folder as the data storage. So if you shutdown the container your data isnt inside of that container and gets lost on any shutdowns. A hint: this folder is where your denarius.conf is located. change ~/.denarius to ~/D/FS01 and now you can make many if you want. Just stick a denarius.conf in FS01, FS02, FS03, etc. Some basic commands to use this. docker exec denariusd denariusd -datadir=/data getinfo docker exec denariusd denariusd -datadir=/data getbalance docker exec denariusd denariusd -datadir=/data fortunastake status To read the logs, (this is like tail -f debug.log) docker logs denariusd -f Now lets say you ran many of these containers for many fortunastakes. You would run it like this. docker run --name=FS01 --rm -t -d -v ~/D/FS01:/data -P buzzkillb/denariusd Even easier, install docker-compose https://docs.docker.com/compose/install/ and then create a directory to store a docker compose file in, like cd ~ mkdir bigd cd bigd nano docker-compose.yml Stick this in the yml file. FS01: image: buzzkillb/denariusd:latest volumes: - ~/D/FS01:/data FS02: image: buzzkillb/denariusd:latest volumes: - ~/D/FS02:/data FS03: image: buzzkillb/denariusd:latest volumes: - ~/D/FS03:/data then in that folder docker-compose up -d This will start 3 fortunastakes on the same PC. Just need about 700mb of ram per FS. I have some more examples of commands on the github link, but this should get someone started on making this a bit easier. I will build the latest daemon on these, so if you want to autoupdate whenever these happen, try out watchtower. https://github.com/containrrr/watchtower docker run -d \ --name watchtower \ -v /var/run/docker.sock:/var/run/docker.sock \ containrrr/watchtower This will stop the container, pull the latest, and restart from same command used to start. I am also using dozzle to watch the logs from a web browser. https://github.com/amir20/dozzle docker run --name dozzle -d --volume=/var/run/docker.sock:/var/run/docker.sock -p 8888:8080 amir20/dozzle:latest
  23. How to run a Fortunastake in Windows. At least 700mb of ram per FS and a fast hard drive if you plan to have a lot of these. I wouldnt suggest using Windows, and instead use Ubuntu 16.04 server. But crypto people have reasons. Download latest Windows QT Wallet or compile it yourself. Make a directory to put the wallet in. example: c:\denarius\denarius01.exe Create a .bat file to run the wallet. example c:\denarius\start01.bat Create a directory of your first FS. example c:\denarius\D01 start01.bat c:\denarius\denarius01.exe -datadir=c:\denarius\D01 Fill out the denarius.conf in the c:\denarius\D01 folder like usual. If you have conflicting port issues, easiest thing to do is add to denarius.conf listen=0 For IP address, use whatever you want. Also set externalip=THATADDRESS in this .conf file. They have to be proper IP's, but dont have to be connectable. Examples externalip=1.2.3.4 externalip=[2006:1] externalip=denarius.onion Wait for the wallet to sync and then start-alias from your hot wallet, hopefully on a separate PC. I hope you can see where this is headed by using a numbering scheme. Also using separate denarius.exe wallets makes this easier to track in task manager. But you can use a single denarius.exe and run a separate .bat calling that same denarius.exe over and over. Will add how to make these TOR onion nodes later.
  24. Best to download this MiniKey Generator, so you can generate and redeem keys offline. https://carsenk.github.io/ Download and unzip. After unzipping, disconnect from internet and double click index.html Lets generate 1 MiniKey, Input 1, then click Generate. The first part is your privminikey, and the second part is your D address. Lets convert this to your privkey to import into your QT wallet. Select this underlined area and copy (ctrl+c). Then click Convert D Minikey to WIF. Paste the minikey into the next page and click Convert. I changed my minikey through this so its different, but now you get your D address and typical privkey to import into the QT or daemon.
  25. How to setup a compiled from source Denarius daemon docker container in Ubuntu 16.04. I setup an Ubuntu 16.04 VM using Virtual Box to start this out. Work in progress as there are a few steps and links I need to add over time. Install Docker on your host machine. https://docs.docker.com/install/linux/docker-ce/ubuntu/ create a folder to work in mkdir denarius-ubuntu First we setup the update and install dependencies files. nano Dockerfile.dev FROM ubuntu:16.04 RUN apt-get update -y && \ apt-get dist-upgrade -y && \ apt-get install -y git \ unzip \ build-essential \ libssl-dev \ libdb++-dev \ libboost-all-dev \ libqrencode-dev \ libminiupnpc-dev \ libgmp-dev \ libevent-dev \ autogen \ automake \ libtool Then we build this docker build -f Dockerfile.dev -t ubuntu-dev . Next we setup getting the source code. nano Dockerfile.build FROM ubuntu-dev RUN git clone https://github.com/carsenk/denarius Then we build this docker build -f Dockerfile.build -t denarius-ubuntu-build . Setup the compile nano Dockerfile.compile FROM denarius-ubuntu-build RUN (cd denarius && \ git checkout master && \ git pull && \ cd src && \ make -f makefile.unix ) Then we build this docker build -f Dockerfile.compile -t denarius-ubuntu-compile . Setup the move binary nano Dockerfile.install #Dockerfile.install FROM denarius-ubuntu-compile COPY --from=denarius-ubuntu-compile /denarius/src/denariusd /usr/local/bin Then we build this docker build -f Dockerfile.install -t denarius-ubuntu-bin . Setup a denarius.conf. nano denarius.conf rpcuser=RandomUserNameSy5pess55rGu9EsGF0+ZXc/RZlON41+x rpcpassword=RandomPasswordREy9PYjgNdmFdDgWmpXnsotQ42cURu4cO22xknJEXsItXkydbSa0kxcxbvt2hE+g nativetor=1 server=1 listen=1 daemon=1 Setup to move the denarius.conf and expose ports. nano Dockerfile.run #Dockerfile.run FROM denarius-ubuntu-bin # # Copy the denarius.conf file from # the build context into the container # COPY denarius.conf /root/.denarius/denarius.conf # # Expose ports for the RPC interface # EXPOSE 33369 9999 Then we build this. docker build -f Dockerfile.run -t denarius-ubuntu-run . Now we have a bunch of images, which we can see by using the command docker images. I liked the idea of running the container and linking to a directory on the host machine itself. Sample directory being ~/blockchain on the host. docker run --rm -it -d -v ~/blockchain:/root/.denarius -P denarius-ubuntu-run bash Finally if you want to remove some of the bloat and push to your own docker hub create a Dockerfile. nano Dockerfile FROM denarius-ubuntu-bin as build RUN echo "In build stage" FROM ubuntu:16.04 COPY --from=build /usr/local/bin/denariusd /usr/local/bin #Get packages and Dependencies RUN apt-get update -y && \ apt-get dist-upgrade -y && \ apt-get install -y git \ unzip \ build-essential \ libssl-dev \ libdb++-dev \ libboost-all-dev \ libqrencode-dev \ libminiupnpc-dev \ libgmp-dev \ libevent-dev \ autogen \ automake \ libtool #Pull from Source #RUN git clone https://github.com/carsenk/denarius #Compile from Source #RUN (cd denarius && \ #git checkout master && \ #git pull && \ #cd src && \ #make -f makefile.unix ) # # Copy the denarius.conf file from # the build context into the container # COPY denarius.conf /root/.denarius/denarius.conf # # Expose ports for the RPC interface # EXPOSE 33369 9999 # # Start the bitcoin server # #ENTRYPOINT ["/usr/local/bin/denariusd"] Build and commit this. A good step by step on how to push your new docker image to docker hub. https://ropenscilabs.github.io/r-docker-tutorial/04-Dockerhub.html
×
×
  • Create New...