Dd-14 V0.2.0 (07/25/2016)

Discussion in 'Development Dispatches' started by moo1337, Jul 25, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. moo1337

    moo1337 Moderator

    Jul 25, 2016
    80
    121
    Male
    Texas
    [​IMG]

    This development dispatch covers work completed since the Decred v0.1.6 release on June 22, 2016. Since then, developers have merged 73 pull requests into 6 repositories (see below for more detailed changes).

    Installer: https://github.com/decred/decred-release/releases/tag/v0.2.0
    Binaries: https://github.com/decred/decred-binaries/releases/tag/v0.2.0

    This release introduces Paymetheus, the Decred GUI wallet for Windows.

    All of the go code now uses glide to manage build dependencies.

    dcrd
    • Quit when the specified configuration is file not found (273-478edd5)
    • Add BlockHeight field to getstakeinfo (274-6fed87c)
    • dcrctl: Remove help fall through so help will get passed to RPC (275-ffe0220)
    • dcrctl: Clear terminal history (276-373f62e)
    • docs: Add/update doc.go in a few spots (277-3285b88)
    • Add automatic RPC configuration (287-ac33c2f)
    • Switch to using glide (288-4ea1c0f)
    • Attempt to fix the broken paths in config autogen (290-89b768a)
    • Version bump (292-7716a50)
    Credits: @ay-p, @ceejep, @davecgh, @dhill, @moo1337

    dcrwallet
    • Replace chainec.Sign with secp256k1.SignCompact in SignMessge RPC (258-6a8626c)
    • Skip zero value outputs when making transactions (278-590145d)
    • Add back in strErrType for other possible chainClient.Notification types (257-d14e86e)
    • Check that nextToUseIdx is > 0, otherwise throw err since account is unused (283-5a8e970)
    • Remove unused const for ticket purchasing (281-e24985b)
    • Change n in RangeTransactions to more closely track count param (280-b612852)
    • Prevent a hang in wallet.Loader.OpenExistingWallet (289-3475e55)
    • Add Tree to WalletService.FundTransaction RPC (290-da6a063)
    • Fix an unlikely panic if the bitset returned is empty (291-b5cb411)
    • watch-only: Delete created wallet.db if the WoW wasn't created (286-eb5b6a6)
    • Refer to correct version of the gRPC Go plugin (294-4cf1975)
    • Fix balance bug in AccountBalances (296-3c9ea06)
    • Add new stake-related RPCs to the gRPC interface (293-6087ab2)
    • glide: Update glide.lock to use current dcrd master version (297-20009a2)
    • Fix gRPC account address index responses (298-19f1471)
    • Add account notifications to the address pool (300-2e410a4)
    • Version bump (301-a6f2e09)
    Credits: @ay-p, @ceejep, @jcv, @jrick

    dcrticketbuyer

    dcrinstall
    • Point dcrinstall to v0.2.0 (49-aff2d4f)
      Credits: @jcv

    Developer Notes
    Paymetheus (and the windows installer)
    Since this is the initial release of Paymetheus a list of changes is not useful. Instead you should see the Paymetheus README.

    Paymetheus is distributed as an MSI installer for Windows 7 or greater (with 32-bit and 64-bit versions available). All of the necessary dcrd tools (dcrd and dcrwallet) are installed by the installer and setup with preconfigured values for ease of use.

    Paymetheus does not currently include stake features but handles all other common wallet functions. Staking info and ticket purchase will be available in a future version.

    Credits: @jrick, @moo1337, @ceejep

    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

    The Decred installer will only work on Windows 7 and above.
     
    David, MarSas, Reynold and 5 others like this.
  2. Yaremi

    Yaremi New Member

    Jan 3, 2016
    6
    0
    Male
    Its GUI wallet? If not. when? thanks
     
  3. jcv

    jcv Full Member
    Developer

    @Yaremi this release include Paymetheus (as the above post states) which is the Windows GUI wallet.
     
  4. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    chappjc and Alexoz like this.
  5. Nimrod

    Nimrod New Member

    Mar 4, 2016
    102
    18
    Male
    I tried simply to replace the binaries.

    I now get an error about a missing config file. Everything works but with an error message.

    Example: running getbalance --> return correct balance + error: "Error creating a default config file: open C:\Users\admin\AppData\Local\Dcrd\dcr
    d.conf: The system cannot find the file specified."

    I guess running the installer creates this file in the right place so no biggie.
     
  6. Nimrod

    Nimrod New Member

    Mar 4, 2016
    102
    18
    Male
    Bug? All other info OK.

    getstakeinfo returns blockheight: 0
     
  7. Reynold

    Reynold Member

    Jan 28, 2016
    196
    70
    Male
    Programmer
    Thanks for the update. :)

    Overwrote binaries, so far so good. Will try the GUI wallet later.
     
  8. moo1337

    moo1337 Moderator

    Jul 25, 2016
    80
    121
    Male
    Texas
    Instead of overwriting binaries, you should consider dcrinstall:
    https://github.com/decred/decred-release

    A binary release for your OS can be found on the regular release page on github:
    https://github.com/decred/decred-release/releases

    It does all the updating for you and checks sigs etc. May take some work to get working the initial time but going forward everything should be automatic.
     
    Reynold likes this.
  9. moo1337

    moo1337 Moderator

    Jul 25, 2016
    80
    121
    Male
    Texas
    Please write up a detailed issue on github and we'll look at it. Reporting issues on the forum without necessary information is only going to result in no (useful) answers. Also, read up on dcrinstall (see my previous post in this thread) on how to get going on automating this forever more.
     
  10. Nimrod

    Nimrod New Member

    Mar 4, 2016
    102
    18
    Male
    Sorry, github is not happening for me. Too old and tired... really. I stopped programming in the late 90's.
    This site needs a dedicated bug reporting system for less technical people.
     
    Johnshpon3 likes this.
  11. moo1337

    moo1337 Moderator

    Jul 25, 2016
    80
    121
    Male
    Texas
    As an old UNIX guy who has used every single bug tracking tool I can assure you that GitHub is by far the best one I dealt with. Now, you can ask around, I don't dole out love for GitHub a lot but they got bug tracking figured out.

    That said, your report is too vague to be actionable.
     
  12. Ayush

    Ayush Full Member
    Advocate (Facebook)

    Jan 9, 2016
    512
    100
    Male
    .
    .
    Can u guide through the installation process?
     
  13. moo1337

    moo1337 Moderator

    Jul 25, 2016
    80
    121
    Male
    Texas
  14. moo1337

    moo1337 Moderator

    Jul 25, 2016
    80
    121
    Male
    Texas
  15. Szfinx

    Szfinx New Member

    Jul 17, 2016
    22
    0
    Male
    United Kingdom
    I would prefer to use the new Paymetheus to dcrwallet but I can't import my existing wallet to it, only create a new one. How can I recreate my wallet from seeds in Paymetheus?
     
  16. root

    root Member

    Feb 3, 2016
    381
    76
  17. moo1337

    moo1337 Moderator

    Jul 25, 2016
    80
    121
    Male
    Texas
    Please don't cross post.
     
  18. girino

    girino New Member

    Mar 31, 2016
    12
    18
    Male
    Anyone succeded in running Paymetheus on wine? Tried woth mono, but it says there is no entry point. Can't install dotnet 4 on wine (winetricks bug?).

    If not, will Paymetheus will eventually be ported to other OSes? Its a shame to only have GUI on windows.
     
    Emilio Mann likes this.
  19. root

    root Member

    Feb 3, 2016
    381
    76
    I tried Wine, no luck with x64 Linux. But Fsig's one can send / receive / stake (PoS), tested on Linux and Windows : https://forum.decred.org/threads/decred-wallet-gui.1119/page-4#post-21444

    I am sorry for cross posting - that was thought to be just reference/link.

    For me - win 10 x64 : decred_0.2.0-alpha_x64.msi can be installed but nothing happens when started. I am not aware of any logs, no error, nothing. I compiled from github previously and it worked. When pulled and started yesterday, after minutes it was hung here :
    catch { } // Ignore any errors, this will just result in leaving defaults empty.

    var syncTask = Task.Run(async () =>
    {
    return await SynchronizerViewModel.Startup(activeNetwork, appDataDir, args.SearchPathForWalletProcess);
    });
    var synchronizer = syncTask.Result;

    While testing Fsig's GUI, buying tickets, leaving laptop running overnight, dcrd ate over 3300 MB. Logs available, but no strange errors there.
     
  20. jrick

    jrick Member
    Developer

    Jan 4, 2016
    88
    81
    Male
    @root The Paymetheus in the 0.2.0 MSI will hang at startup if it was unable to open dcrwallet for some reason, for example, if you already had dcrwallet (or any other process) running in the background listening on the same RPC interfaces, or if it was unable to open the database. This is partially fixed in the development version (if an old dcrwallet was found running that wasn't stopped by an earlier paymetheus execution, it will be killed). Check task manager to see if you already had dcrwallet running as a background process.
     

Share This Page