Tutorial: Getting A Dedicated Chain Server Set Up On Your Raspberry Pi 2

Discussion in 'Technical Support' started by ClokworkGremlin, Jan 30, 2016.

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

    alex2bk New Member

    Nov 4, 2016
    5
    0
    Male
    China
    Hello,

    I've successfully created my wallet in the cmd prompt and I've written down my seed and hex. When I go to the web wallet, there is no option for me to "Specify my wallet seed", there are only two options "testnet" and "single wallet address", in the advanced options. How can I import my seed before/after creating a web wallet? (I can create a web wallet, just can't enter the seed anywhere)

    Also when using claymore's dual miner I can never connect, I just get "dcr authorization error: null", I enter my details -dwal (the getnewaddress I requested when creating the wallet) -dpsw (tried both "x" and entering my password) it still won't connect.

    Can someone please shine some light on these two issues, I'm using Ubuntu 16.04. Thanks.
     
  2. ClokworkGremlin

    ClokworkGremlin Sr. Member

    Jan 10, 2016
    535
    381
    Male
    Whatever I want.
    The webwallet and chain server are two completely different systems.
     
  3. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    Assuming you followed the link from the decred.org website, click back -> click the menu icon -> click add wallet -> import wallet. You really should use dcrwallet or the web wallet not both since they may not notice transactions that the other makes.

    You're probably using a pool that expects a worker name (something like alex2bk.mydesktop) instead of an address.
     
    alex2bk and ClokworkGremlin like this.
  4. alex2bk

    alex2bk New Member

    Nov 4, 2016
    5
    0
    Male
    China
    Thank you for your replies, I'll have another go at it later.
     
  5. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    Just a heads up for the Raspberry Pi full noders/stakers, go 1.8 should be released in the next few weeks. It enables code optimization for ARM that helps a ton. Release candidate 1 is out.

    Here's a comparison of benchmarks of blake256 on a Raspberry Pi 3:

    Code:
    benchmark             old ns/op     new ns/op     delta
    BenchmarkHash1K-4     114093        50138         -56.06%
    BenchmarkHash8K-4     911251        400085        -56.09%
    BenchmarkFull64-4     16958         7523          -55.64%
    
    benchmark             old MB/s     new MB/s     speedup
    BenchmarkHash1K-4     8.98         20.42        2.27x
    BenchmarkHash8K-4     8.99         20.48        2.28x
    BenchmarkFull64-4     3.77         8.51         2.26x
    
    And ODROID-XU4:

    Code:
    benchmark             old ns/op     new ns/op     delta
    BenchmarkHash1K-8     44591         12994         -70.86%
    BenchmarkHash8K-8     359279        103663        -71.15%
    BenchmarkFull64-8     7794          2382          -69.44%
    
    benchmark             old MB/s     new MB/s     speedup
    BenchmarkHash1K-8     22.96        78.80        3.43x
    BenchmarkHash8K-8     22.80        79.02        3.47x
    BenchmarkFull64-8     8.21         26.86        3.27x
    
     
  6. chappjc

    chappjc Full Member
    Developer Pool Operator (PoS)

  7. jcv

    jcv Full Member
    Developer

    Sounds like I should update to 1.8 on something to redo my arm benchmarks pretty soon.

    Now if I could just get my one 64bit arm box working with something reasonable...
     
  8. jcv

    jcv Full Member
    Developer

    Has anyone tried on a beaglebone black? I've got one of those sitting around here, half considering giving it a shot since it isn't doing anything.
     
  9. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    I used to run btcd on one in the earlier days of Bitcoin and that worked ok. I'd imagine just dcrd should run ok. If it's not doing anything else then the 1 core and 512MB of RAM shouldn't be much of a problem.
     
  10. jrick

    jrick Member
    Developer

    Jan 4, 2016
    88
    81
    Male
    Any full node (especially bitcoin, not so much decred right now, but maybe later??) running only on 512MB memory makes me a little queasy. I tend to give my nodes at least 1 or 2 GB in case of bursty mempool allocations.
     
    chappjc likes this.
  11. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    Yeah just because you can doesn't mean you should :)

    It'd probably be fine for testnet but it might OOM on mainnet. Swap is kind of a no-go on SD cards too since the board will basically become unresponsive at that point since the i/o is so slow.
     
  12. jrick

    jrick Member
    Developer

    Jan 4, 2016
    88
    81
    Male
    For reference, here are my current dcrd nodes:

    Code:
       PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP     
      5935 1001      421M  400M sleep   59    0   9:15:49 0.2% dcrd/20
      4706 1000      361M  335M sleep    1    0  43:45:56 0.0% dcrd/19
    
    So if that is the ONLY thing the box is doing, it should be ok as long as the network doesn't get significantly more volume.

    I'm also running a testnet btcd node on here as well. It's currently sitting at 841M resident.
     
  13. JardCrocker

    JardCrocker New Member

    Nov 10, 2017
    1
    0
    Male
    Virginia,USA
    Hi..i am a new user here. As per my knowledge dcrwallet is implemented such that it asks dcrd for chain-related information it needs to maintain balances via the RPC server. This is why it needs to talk to dcrd via RPC. In the future an SPV style mode will be added where it no longer requires a full node to be running in order to perform its job.
     

Share This Page