Decred 백서

Decred

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 12쪽 중 5쪽

ecred Holdings Group LLC (“DHG”), a Nevis LLC that is responsible for funding work related to the development of the project, such as software development, infrastructure, and awareness. DHG shall comply with all relevant bodies of law in the jurisdictions where applicable, such as embargoes and other trade sanctions. The project aims to transition to a Decentralized Autonomous Organization (DAO) which controls the disbursement of Treasury funds. For as long as DHG has responsibility for managing the Treasury (i.e. until control is fully decentralized), it holds a veto that can be exercised if it is felt that following through with a decision would put the project, the DHG corporate entity or DHG’s managers in jeopardy. Politeia proposals are the mechanism through which stakeholders make policy decisions and approve programs of work. Politeia proposals must be approved by at least 60% of the tickets that vote, and at least 20% of the eligible tickets must participate in the vote. The default voting period is 2,016 blocks (~1 week). Decred contractors are individuals and corporations who work on the project, under an agreement that they are compensated for their work. Decred contractors are autonomous, they cannot be managed directly by stakeholders. Through Politeia, stakeholders can approve or reject programs of work as performed by specific contractors, but they cannot mandate that workers take certain actions. The Decred contractor collective is a self-regulating entity, wherein cells working on specific aspects resolve disputes and add new members independently. As described in the approved Decred Contractor Clearance proposal , disputes that cannot be satisfactorily resolved within a team can be escalated to an all contractor vote - once the contractor management system which will facilitate this is operational. If necessary, unresolved matters could be further escalated to a stakeholder vote as the ultimate decision-making authority. The will of the stakeholders, as expressed through their on-chain and Politeia ticket voting, is the ultimate decision-making force for the project. This constitution will be ratified by a Politeia vote before it takes effect, and can be further amended by approval of subsequent Politeia proposals. ## /wallets/decrediton/using-decrediton Using Decrediton Last updated for Decrediton v1.6.3. This guide assumes you have already set up a Decrediton wallet using the Decrediton Setup guide . Main menu The main menu of Decrediton is displayed on the left side of the window, and it is used to switch between the different features Decrediton offers. It can be minimized by clicking the arrow icon at the top. At the bottom of the menu is a button to rescan the blockchain. This button will force a rescan of all of your owned addresses to check for new transactions, which can sometimes fix issues where Decrediton is displaying an incorrect balance. This process will take some time, however it will not cause Decrediton to redownload the whole blockchain. Overview The overview tab gives a quick summary of your total DCR (available and locked in tickets) and a list of recent transactions. Graphs of your balance, ticket activity and transaction history over the last two weeks can be viewed here. On-chain Transactions The on-chain transactions tab is split into four sections: Send This where you can send Decred from your wallet to another address. First you need to select which account in your wallet to send the funds from, and then enter the recipient address into the text box. Finally enter the amount of Decred you wish to send. There are additional buttons here which can be used to create more advanced transactions if required. The + button will allow you to send Decred to multiple addresses in a single transaction. The Send All button will construct a transaction that will completely drain the selected account. There is also a button which will allow you to send funds from one account in your wallet to another account in your wallet. Once you have entered the details of your transaction, the estimated fee and transaction size are detailed below the input panels. After reviewing these numbers, you can press the Send button and your transaction will be broadcast. Receive This is where you can generate wallet addresses to give to other people so they can send you DCR. The address is displayed in the blue text box - it’s the line that starts with Ds, or Ts on testnet. Simply choose the account you want funds to go to and select the Generate New Address button. Decred addresses can be used as many times as you want, but for privacy reasons it’s best to generate a new one for each transaction. There’s around 1.4E48 (that’s 14 followed by 47 zeroes) addresses available so you don’t need to worry about running out. History This tab shows a list of all transactions that have occurred involving this wallet. A dropdown menu allows filtering the list by transaction type: regular, ticket and vote transactions. The transaction hash can be used with the block explorer to see more information about the transaction. Export This tab shows allows you to export your transaction history in a .csv format. You can choose the data you wish to export, select a location to output the generated file, and then press the Export button. Governance The governance tab enables users holding tickets to have their say on Decred’s governance. Here you can browse and vote upon Politeia proposals , and you can set your voting preferences for on chain consensus rule votes . Your privacy settings must allow Decrediton to contact Politeia to download proposal information. Politeia proposals can be filtered by “Under Discussion”, “Under Vote”, “Finished Voting” and “Abandoned”. The “Create Proposal” button will open https://proposals.decred.org in your browser. You are able to vote on proposals if the following two criteria are met: There are currently proposals available open for voting You owned live proof-of-stake tickets when the proposal was opened for voting The Consensus Changes page shows all of the agendas which are currently up for vote on the Decred blockchain. You can read the details of each agenda and choose which way you would like to vote on each issue. This setting is only used at the moment each individual ticket votes, which means that you can change your voting preferences if you change your mind about an agenda. Staking The staking tab is split into four sections: Purchase Tickets The total number of tickets you currently own is at the top of the page: Mempool Tickets - Tickets waiting to be mined by PoW miners (only 20 new tickets are mined into each block) Immature Tickets - Mined tickets which cannot vote until a 256 block maturing period has passed (around 20 hours) Live Tickets - Mature tickets eligible to be called to vote Purchasing tickets In order to purchase tickets you just need to select which account to purchase tickets from, how many tickets you want to buy, select a VSP to use, and then press the Purchase button. The “Automatic Ticket Buyer” panel allows you to enable the automated ticket buyer - Decrediton will continually buy tickets for you for as long as you keep it running. You can configure how the ticket buyer works using the options: VSP - Which VSP to purchase tickets with From - Funds to purchase tickets will come from this account Balance to maintain - If your balance is lower than this number, you will not buy tickets. The default of 0 will use all the funds in your account to buy tickets Tickets Status This tab shows a summary of all of your immature and live tickets. Filters and sorting options are available to make browsing the list easier. Historic Tickets This tab shows a summary of all of your tickets which voted, expired or were missed. Filters and sorting options are available to make browsing the list easier. Statistics This page displays various statistics about all of the available VSPs. The dropdown can be used to change the currently displayed VSP. Privacy and Security The Security Center tab offers two key features - the ability to sign and verify messages using your private key, and the ability to validate addresses. Sign and Verify messages Signing a message with an address’ private key allows you to prove that you are the owner of a given address to a possible counterparty. For instance, let’s say you sent 100 DCR to a merchant and you have yet to receive your merchandise. You contact the merchant and explain the situation, but need a way to prove you are, in fact, the owner of the address that the funds were sent from. To do this you can generate a signature based on a message only known to you and your counterparty and the private key associated with the address. Upon receipt, the counterparty may use the Verify Message form to ensure the signature is valid. Validate Addresses A Decred address can be entered into the Validate Address text box, and Decrediton will put that address into one of three categories: Invalid address Valid address owned by the current wallet Valid address not owned by the current wallet Accounts The accounts tab shows you the accounts in your wallet and allows you to add new ones. Accounts in Decred work just like bank accounts. They allow you to keep separate records of your DCR. This feature is most useful for those who run businesses and wish to keep separate accounts for tax records for example. Transferring DCR across accounts will create a transaction on the blockchain. Settings The settings tab allows you to customize the units DCR amounts are displayed in and also allows you to switch Decrediton onto the testnet blockchain. The settings tab is also where you come to change your private passphrase. ## /wallets/decrediton/upgrading-decrediton Upgrading Decrediton To upgrade Decrediton, simply download the new version and install it. You do not need to delete your existing version or perform any additional steps. When you open the upgraded version, your existing wallets and accounts will appear. Upgrading steps Download the latest version from https://decred.org/wallets/ or by clicking on the Update Available button in the upper right-hand corner of Decrediton. Click on the link for your OS and download the installer. Security Tip We recommend you also verify that your download hash matches the hash in the Decred releases manifest. For detailed instructions, read about Verifying Binaries . You will need to visit the Release Binaries page to download the manifest and manifest signature: decrediton-v1.6.3-manifest.txt decrediton-v1.6.3-manifest.txt.asc Close your current version of Decrediton (if open) and click on the downloaded installer. Follow the installation instructions as you would for any other program. Open Decrediton. Note that when upgrading, Decrediton may need to perform a one-time reindexing operation. This can take several minutes to an hour depending on your hardware. Click on the Governance tab to check for new Politeia proposals and consensus rule changes. Upgraded versions of Decrediton may contain latent consensus rule changes that will be automatically enabled if stakeholders vote to accept them. For more on voting, see the governance section of the Using Decrediton page. ## /wallets/decrediton/migrations Decrediton Migrations This page lists migrations performed by recent versions of Decrediton, what exactly they entail and possible impacts on custom setups. Migrations are listed by the version they first appeared, so users upgrading across multiple versions will be affected by multiple migrations. Version 1.6.3 Requires unlocking the wallet The upgrade for version 1.6.3 requires unlocking the wallet with the private passphrase. This is a one-time request and you should NOT be asked for the passphrase after reopening the wallet. Per-account locking Version 1.6.3 introduces early support for Decred’s DEX on Decrediton. The DEX requires an always-unlocked account in order to perform its operations. Thus, to increase security, dcrwallet has introduced a per-account locking mode: instead of completely unlocking the wallet, only specific accounts may be selected for unlocking, preventing funds from other accounts from being drained in case of certain attack scenarios. This is also helpful for ticket-buying and privacy-enabled wallets: only those accounts remain unlocked during their respective operations. To enable this behavior, during the first startup in v1.6.3, Decrediton will ask for the wallet’s current private passphrase and will use the same passphrase for every account. Usage in this new mode is transparent to the user: accounts will be individually unlocked as needed. ## /wallets/decrediton/trezor Using a Trezor device with Decrediton Last updated for Decrediton v1.6.3. Lack of Staking Support Trezor wallets used within Decrediton do not currently support staking operations (purchasing, voting and revoking tickets). To track progress in regards to staking with Trezor devices, please see issue #1491 and provide feedback on the current implementation of Trezor support in Decrediton so we can gauge interest for adding this feature. Setting up the Trezor Device Before creating a Trezor-backed wallet, first make sure your Trezor device works correctly, can be recognized by the computer and has the latest firmware. This can be done from the regular Trezor.io Web Wallet or directly from within Decrediton by accessing the “Restore Wallet” → “Setup Device” screen. Handling the Seed Critical Information Make sure to keep your seed words secure before sending any funds to the wallet. See our FAQ about seeds . When creating your Trezor-backed Decrediton wallet, you may use an already setup Trezor device (that is, a device already initialized with a seed) or wipe and input a new seed into the device. Note that a Trezor-backed wallet can be used with multiple cryptocurrencies without conflict: different cryptocurrencies generate different addresses so they don’t have a chance of “overlapping”. In other words, if you already use your device with other coins, you can keep using it and use the same seed for your Decrediton wallet. Trezor & dcrwallet Seed Compatibility Trezor seeds are not naturally compatible with Decrediton/dcrwallet seeds. Trezor uses BIP0039 while standard Decred software uses a custom protocol for seed encoding. This means that you cannot directly import an existing Trezor seed in a software wallet (or conversely: import an existing 33-word Decred seed to the hardware device). This is only relevant for disaster recovery scenarios though: you can still use the Trezor device to receive and send transactions normally from within Decrediton. Trezor Seed Length Note that Decrediton only supports restoring the seed for Trezor devices if that seed is 24 words long. Smaller seeds can be restored by the standard Trezor Web Wallet. Passphrase Protected Trezor Wallets Trezor Passphrases are Brain Wallets Note that passphrases for Trezor wallets are different than regular Decrediton/dcrwallet passphrases and amount to a brain wallet. In other words, losing your passphrase means losing access to all funds . Please read and understand how passphrases work in Trezor before attempting to use passphrase-protected wallets. Note that due to how passphrase-protected Trezor wallets work, each passphrase corresponds to an entirely new wallet. Therefore it’s impossible to enable passphrase protection after creating the wallet: you’ll need to create an new wallet, with different keys and transfer the funds to this new wallet. Creating the Wallet After setting up the Trezor device with a seed (and optionally enabling passphrase protection for the device) you may proceed to creating the Decrediton wallet backed by that Trezor device. To do so, connect your Trezor device to the computer, access the “Restore Existing Wallet”, enable the “Trezor” switch and click on “Continue”. Decrediton will fetch the master public key for the first account of the Trezor device and initialize an internal “Watching Only” dcrwallet instance. After the standard setup procedure, the wallet will be usable as a regular Decrediton wallet, albeit without any private keys stored outside the hardware device. How Watching-Only Wallets Work From the point of view of Decrediton/dcrwallet, the on-disk wallet is a “watching only wallet”: that is, a wallet created exclusively with public keys for monitoring the blockchain for transactions, without the corresponding private keys necessary to spend the wallet’s funds. Whenever you attempt to send funds from the wallet, Decrediton will send the constructed transaction to the hardware device for signing. You’ll then be prompted (in the device) to confirm the signing and will be asked for any PINs or passphrases if required. The watching-only terminology shown in certain places of a Trezor-backed wallet just mean that the underlying dcrwallet instance does not have the capacity to directly sign transactions: it needs the device to do so. ## /wallets/decrediton/decrediton-troubleshooting Troubleshooting Common Decrediton Problems Last updated for Decrediton v1.6.3. Critical Information Before starting any attempt at fixing a broken wallet, ensure you have your correct 33 word seed written down (preferably physically, on a piece of paper) and accessible. If you have lost your seed, you are in serious danger of losing access to your funds permanently. See the “I have lost my seed” section of the seed FAQ for instructions in that situation. Location of data and log files The main directory for Decrediton data files is OS-dependent: OS Decrediton data directory Windows %LOCALAPPDATA%\Decrediton\ macOS ~/Library/Application Support/decrediton/ Linux ~/.config/decrediton/ There are different log files which may be reviewed when troubleshooting a problem: Log Location Main app log decrediton.log Wallet log wallets/mainnet/[name of wallet]/wallet.log And finally, the blockchain (dcrd) log is located in: OS Decrediton data directory Windows %LOCALAPPDATA%\dcrd\ macOS ~/Library/Application Support/dcrd/ Linux ~/.dcrd/logs Running in debug mode To ease debugging of problems, you can run in debug mode in a terminal (command line console window). You need to open a terminal ( cmd.exe in Windows), navigate to the directory where Decrediton is installed and then execute it: # Linux/macOS: $ ./decrediton --debug # Windows: c:\[...]> decrediton.exe --debug Cannot see all my coins after restoring from seed Check if the blockchain is synchronized to the latest block. Look at the block height at the lower left corner of the screen and the latest block from dcrdata.decred.org Import all voting service provider (“stakepool”) API keys that you previously used with this wallet. If you do not perform this step for all pools, your balance will be incorrect. Rebroadcast any pending transactions (access the transaction and click the “Rebroadcast” button) and verify in the block explorer if it has been published and mined. Perform a full rescan of the transactions (click on the small refresh button besides the “Latest Block” label). Decrediton will not start (dcrd closed due to an error) dcrd closed due to an error. Check dcrd logs and contact support if the issue persists. There are generally three situations in which this error occurs: There’s already an instance of dcrd running in your computer The dcrd process or the blockchain data is corrupt Something (like an antivirus or protection software) is preventing the dcrd process from running correctly Check the following: Look at your OS task manager if there is any process named dcrd , and terminate it. Look at the dcrd logs for any ERR typ
프로젝트로 돌아가기