Author

Topic: [ANN][DCR] Decred - Community Governance | Bitcoin Devs | Lightning Network - page 284. (Read 1201380 times)

hero member
Activity: 714
Merit: 529
New release is always a good reason to buy more DCR  Wink
legendary
Activity: 1274
Merit: 1000
Good job DCR team.  Thanks for the update, as always Cheesy
legendary
Activity: 1154
Merit: 1001
Awesome update guys!  Smiley
I haven't updated my local node to the very latest yet, will you always make clear notice if a release is a critical upgrade? (I tend to be conservative in upgrading anything that I am not having issues with)
full member
Activity: 156
Merit: 236
This development dispatch covers work completed since the Decred v0.1.5 release from June 7th, 2016. Since then, developers have merged 16 pull requests of code into 3 software repositories (for changes, see below). v0.1.6 includes a new tool, dcrinstall, to automate the install, upgrade, and setup process for the Decred software.

dcrinstall: https://github.com/decred/decred-release/releases/tag/v0.1.6
Binaries: https://github.com/decred/decred-binaries/releases/tag/v0.1.6

dcrd
  • Fixed an issue with memory alignment on 32-bit architectures (269-2bbfd5f)
  • Fixed an issue that interferes with the new dcrinstall package when checking if .dcrd exists (270-fa72e21)
  • Added a simnet option to the config file (272-e6beeb6)
  • Updated versioning (271-9279321)

dcrwallet
  • Moved prompting of passphrases and seed to a prompt package so other tools can call the same prompts (268-b3bd20e)
  • Modified the wallet package to import the database driver directly (269-f2a12cf)
  • Added a non-internal prompt package (273-dfb6bcd)
  • Fixed a build error for the test harness (274-697443a)
  • Updated documentation (275-7bdd976) and versioning (271-1ca9472)

dcrticketbuyer

Developer Notes
dcrinstall

dcrinstall is a tool to automate the install, upgrade, and setup process for the Decred software. In install mode dcrinstall downloads the latest released binaries of dcrd, dcrwallet, dcrctl, and dcrticketbuyer for your operating system and platform, installs them, sets up the config files, and creates a wallet for you. In upgrade mode, dcrinstall replaces your binaries with the latest copies but makes no changes to your configs.

Upgrading an existing installation

The following steps are required to upgrade a system with Decred that was not installed by dcrinstall. If you already have Decred installed you will need to follow these instructions the first time.

The dcrinstall tool expects the following directory layout. In order to upgrade you must copy your current configuration files into the correct location and ensure everything still works. You may also want to copy you executables to the directory dcrinstall expects as well.

If dcrinstall detects all configuration files it'll operate in upgrade mode. Upgrade mode only overwrites the binaries in %HOMEPATH%\decred (or ~/decred on a UNIX type OS). The dcrinstall tool records all actions in %HOMEPATH%\decred\dcrinstall.log (or ~/decred/dcrinstall.log on a UNIX type OS).

Windows configuration files:

Code:
%LOCALAPPDATA%\Dcrctl\dcrctl.conf
%LOCALAPPDATA%\Dcrd\dcrd.conf
%LOCALAPPDATA%\Dcrticketbuyer\ticketbuyer.conf
%LOCALAPPDATA%\Dcrwallet\dcrwallet.conf

Binaries directory:

Code:
%HOMEPATH%\decred\

OSX configuration files:

Code:
~/Library/Application Support/Dcrctl/dcrctl.conf
~/Library/Application Support/Dcrd/dcrd.conf
~/Library/Application Support/Dcrticketbuyer/ticketbuyer.conf
~/Library/Application Support/Dcrwallet/dcrwallet.conf

Binaries directory:

Code:
~/decred

UNIX configuration files:

Code:
~/.dcrctl/dcrctl.conf
~/.dcrd/dcrd.conf
~/.dcrticketbuyer/ticketbuyer.conf
~/.dcrwallet/dcrwallet.conf

Binaries directory:

Code:
~/decred

Run the software

Now that you have the files where dcrinstall can find them you can download and run dcrinstall. For Windows open a cmd.exe window then:

Code:
cd %HOMEPATH%\Download
dcrinstall.exe

For OSX and UNIX you will also need to make the file executable before runnning it:

Code:
cd Downloads/
chmod u+x dcrinstall
./dcrinstall

and your installation will be upgraded to the latest released version.

Clean install

If you are doing a clean install (no existing Decred configuration files) you can just run dcrinstall and it will setup and configure all the binaries. For Windows open a cmd.exe window and:

Code:
cd %HOMEPATH%\Download
dcrinstall.exe

For OSX and UNIX:

Code:
cd Downloads/
./dcrinstall

You will be asked to provide a passphrase for you wallet and given the opportunity to use and existing wallet seed if you have one.

Log file

dcrinstall saves a log file with information on everything it did which you may examine if you need more information. On Windows the file is located at:

Code:
%HOMEPATH%\decred\dcrinstaller.log

On OSX and UNIX the file is located at:

Code:
~/decred/dcrinstaller.log

Running Decred programs

On Windows open cmd.exe

Code:
%HOMEPATH%\decred\dcrd.exe

One OSX and UNIX like systems:

Code:
cd decred/
./dcrd

Alternatively you can add the directory to your path. For Windows see http://www.computerhope.com/issues/ch000549.htm For OSX and UNIX refer to the documentation for your shell.

Public keys

The file cmd/dcrinstall/pubkey.go contains the decred public key which is used to check the signed manifest in the release. You can compare the contents of this file to what you get from a keyserver to confirm that dcrinstaller is using the proper key.

Important

dcrinstall can only install Decred releases v0.1.6 or later (although as described above it can be used to upgrade from an older version). dcrinstall has been tested on Windows 10, Windows 7, OSX 10.11, Bitrig current, OpenBSD, Fedora, Ubuntu, and Raspbian. Due to an issue with the go cross-compiler, binaries are not available for linux-arm64. Users running Linux on arm64 should either build from source or contact the Decred developers for a binary for that platform.
member
Activity: 74
Merit: 10
Cheap tickets approaching?  Smiley Smiley
Getting ready for the fee war!  Cool

I still don't get the pos side, any guide to this?

There's plenty of information on the Decred forums, and the staking pools also provide (minimal) instructions on how to get your tickets assigned for pool voting. Maybe get started by browsing the documentation here: https://docs.decred.org/mining/proof-of-stake/

Yes, well I read that but I don't get the ticket/voting part. Why do I need to vote and can I lose coins if it fails for example. I couldn't find it in the documentation but maybe I read over it. I'll check it again.

If you want to understand better PoS in Decred (theoretical part) read this thread:
https://forum.decred.org/threads/understanding-of-proof-of-stake.180/

Few important things to note:
- this thread was started in January, even before Decred release, so there are a lot of wrong assumptions;
- to save your time read only responses of davecgh

In order to be eligible for the lottery, you first have to purchase stake tickets by submitting a special type of signed transaction (called a stake submission transaction, or sstx for short) to the network which locks the coins for a certain period of time. As an aside, this is why cold staking is possible because once you have signed and submitted the sstx, you no longer need the private keys for the original coins available in a hot wallet. Instead there are new private key(s) for the sstx.

When a block is mined, a lottery system is used to randomly choose 5 stake tickets which are then called to vote. This is why the stake wallet (or whatever happens to be listening) needs to be online to answer the call. Ultimately the idea is to have stake pools which allow users to pool their funds for voting towards things using multisig. The vote is actually cast by submitting another special type of transaction (called a stake submission generation transaction, or ssgen for short) which is signed by the key(s) associated with the first output of the original sstx. Note these keys are NOT the same as private keys for the original coins, which is what makes the cold staking possible and means they can't be stolen because the original coins aren't actually sent anywhere until they are released. They were simply "locked" to prevent spending. The ssgen transaction effectively casts the vote and causes the original coins and the stake reward to be delivered to the address(es) originally specified in the sstx.

I should also note that the PoS difficulty (stake difficulty) dynamically adjusts over time just like the PoW difficulty does. In practice, this means it will get more expensive to purchase stake tickets over time. This effectively keeps the ticket pool size stable and essentially creates a ticket market on the chain.


Thanks for this Smiley
hero member
Activity: 714
Merit: 529
Cheap tickets approaching?  Smiley Smiley
Getting ready for the fee war!  Cool

I still don't get the pos side, any guide to this?

There's plenty of information on the Decred forums, and the staking pools also provide (minimal) instructions on how to get your tickets assigned for pool voting. Maybe get started by browsing the documentation here: https://docs.decred.org/mining/proof-of-stake/

Yes, well I read that but I don't get the ticket/voting part. Why do I need to vote and can I lose coins if it fails for example. I couldn't find it in the documentation but maybe I read over it. I'll check it again.

If you want to understand better PoS in Decred (theoretical part) read this thread:
https://forum.decred.org/threads/understanding-of-proof-of-stake.180/

Few important things to note:
- this thread was started in January, even before Decred release, so there are a lot of wrong assumptions;
- to save your time read only responses of davecgh

In order to be eligible for the lottery, you first have to purchase stake tickets by submitting a special type of signed transaction (called a stake submission transaction, or sstx for short) to the network which locks the coins for a certain period of time. As an aside, this is why cold staking is possible because once you have signed and submitted the sstx, you no longer need the private keys for the original coins available in a hot wallet. Instead there are new private key(s) for the sstx.

When a block is mined, a lottery system is used to randomly choose 5 stake tickets which are then called to vote. This is why the stake wallet (or whatever happens to be listening) needs to be online to answer the call. Ultimately the idea is to have stake pools which allow users to pool their funds for voting towards things using multisig. The vote is actually cast by submitting another special type of transaction (called a stake submission generation transaction, or ssgen for short) which is signed by the key(s) associated with the first output of the original sstx. Note these keys are NOT the same as private keys for the original coins, which is what makes the cold staking possible and means they can't be stolen because the original coins aren't actually sent anywhere until they are released. They were simply "locked" to prevent spending. The ssgen transaction effectively casts the vote and causes the original coins and the stake reward to be delivered to the address(es) originally specified in the sstx.

I should also note that the PoS difficulty (stake difficulty) dynamically adjusts over time just like the PoW difficulty does. In practice, this means it will get more expensive to purchase stake tickets over time. This effectively keeps the ticket pool size stable and essentially creates a ticket market on the chain.
member
Activity: 74
Merit: 10
Cheap tickets approaching?  Smiley Smiley
Getting ready for the fee war!  Cool

I still dont get the pos side, any guide to this?

There's plenty of information on the decred forums, and the staking pools also provide (minimal) instructions on how to get your tickets assigned for pool voting. Maybe get started by browsing the documentation here: https://docs.decred.org/mining/proof-of-stake/

Yes, well i read that but i dont get the ticket/voting part. Why do i need to vote and can i lose coins if it fails for example. I couldn't find it in the documentation but maybe i read over it. Ill check it again.
legendary
Activity: 1154
Merit: 1001
Cheap tickets approaching?  Smiley Smiley
Getting ready for the fee war!  Cool

I still dont get the pos side, any guide to this?

There's plenty of information on the decred forums, and the staking pools also provide (minimal) instructions on how to get your tickets assigned for pool voting. Maybe get started by browsing the documentation here: https://docs.decred.org/mining/proof-of-stake/
sr. member
Activity: 279
Merit: 250
Decred will fly so so high!!! Cool

Decred is a stable and the team is very active. I think this coin double in price before new year.
before new year this coin will triple or  fourple in price  Cheesy
member
Activity: 74
Merit: 10
Cheap tickets approaching?  Smiley Smiley
Getting ready for the fee war!  Cool

I still dont get the pos side, any guide to this?
legendary
Activity: 1154
Merit: 1001
Cheap tickets approaching?  Smiley Smiley
Getting ready for the fee warCool
hero member
Activity: 594
Merit: 500
Blockchain entrepreneur✔
Decred will fly so so high!!! Cool

Decred is a stable and the team is very active. I think this coin double in price before new year.
legendary
Activity: 3248
Merit: 1070
now that etehruem is down it's possible for decred to take its place?

only one thing is sure, money will just move to something else, so prepare for a pump somewhere else

i see good candidate among decred, spreadcoin, and something else that i can not recognize, because i'm not nostradamus
member
Activity: 74
Merit: 10
pre-mine 2.6 mil coins
and .... eth pre mine 100%
decred the best

50% distributed free to the first 3000 members of the community in a program that anyone could participate.
Each person received 282 DCR

Not even close to 2.6mil

Taken from front page of bitcointalk:

The premine consists of 8% of the total supply of 21 million coins, meaning the premine consists of 1.68 million coins. Rather than allocating the entire premine to the bring-up costs, we decided to split the premine equally between compensation for bring-up and an "airdrop", where we freely give an equal amount of coins to a number of airdrop participants. This means Company 0 and its developers will have put roughly USD 415,000 into the bring-up since April, 2014 and receive 4% of the total supply, 840,000 coins (at USD 0.49 per coin). The remaining 4% will be spread evenly across a list of airdrop participants as part of an effort to build the Decred network and decentralize its distribution.  Coins held by Company 0 will be used to fund its ongoing work on open-source projects, such as Decred and btcsuite.
newbie
Activity: 58
Merit: 0
pre-mine 2.6 mil coins
and .... eth pre mine 100%
decred the best

50% distributed free to the first 3000 members of the community in a program that anyone could participate.
Each person received 282 DCR
sr. member
Activity: 428
Merit: 250
pre-mine 2.6 mil coins
and .... eth pre mine 100%
decred the best
hero member
Activity: 952
Merit: 1000
www.pumpmycoin.com
sr. member
Activity: 364
Merit: 250
Watched the market for the last 2 days, a bot tries to keep the price down. Only a few btc would double the price.
i see decred 4 $ soon ,gui wallet come soon
member
Activity: 74
Merit: 10
Watched the market for the last 2 days, a bot tries to keep the price down. Only a few btc would double the price.
full member
Activity: 210
Merit: 100
kcin obazs
Decred will fly so so high!!! Cool
Jump to: