November 12, 2025, 05:58:20 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Stouse49

Pages: 1 [2] 3 4 ... 32
16
Project Development / Re: GoldCoin TestNet Round #2 for the New Client
« on: February 03, 2018, 08:25:51 PM »
Please Join In on the TestNet part 2.  This test should last about 1 week, unless we find some serious bugs!

My new address:  mn1fqhdZYVhCrwTyJj5sRp8bwEXgFyjF3P

17
Project Development / Re: TestNet for GoldCoin Client Upgrade
« on: February 02, 2018, 11:31:56 PM »
This topic is finished.  Do not post any questions or comments here.

Instead go here:  https://www.goldcointalk.org/index.php?topic=4061.0

18
Project Development / GoldCoin TestNet Round #2 for the New Client
« on: February 02, 2018, 11:27:21 PM »
There are two versions to use in the testnet.
  • The Old Client - 0.7.5
  • The New Client - 0.14.2

Install the software
The install packages are zip files.  They contain the programs and folders that will be used for the blockchain.  It doesn't interfere with other wallets on your system.  Unzip these folders where you want and run the "1. start-client" command.  Other commands such as mining may be present in the packages.   If you delete the package after unzipping and running the client, you will loose your wallet.

Windows
old - https://github.com/Stouse49/goldcoin/releases/download/vv0.7.5.0-testnet/Windows.GoldCoin.0.7.5.TestNet.zip
new - https://github.com/Stouse49/Goldcoin-GLD/releases/download/v0.14.2.1-testnet-march/Windows.GoldCoin.Core.0.14.2.1.TestNet-march.zip

Mac
old - https://github.com/Stouse49/goldcoin/releases/download/vv0.7.5.0-testnet/Mac.GoldCoin.0.7.5.TestNet.zip (may not connect)
new -

Linux

Mining
Information to be added later.

Super Users (Exchanges, Mining Pools, etc)

Source Code:
oldhttps://github.com/Stouse49/goldcoin [branch = testnet]
Build instructions: https://www.goldcointalk.org/index.php?topic=3764.msg18102#msg18102

newhttps://github.com/Stouse49/Goldcoin-GLD [branch = testnet]
Build instructions:  https://github.com/goldcoin/Goldcoin-GLD/tree/goldcoin-master/doc

Mining
old - solo - https://github.com/pooler/cpuminer,
Code: [Select]
$ minerd -o 127.0.0.1:<rpc port, default=18121> -u <user> -p <password> -t <threads, such as 2>new - Solo - https://github.com/mikeghen/litecoin-solo-mining-tutorial

server.js - example
Code: [Select]
var myCoin = {
    "name": "Goldcoin",
    "symbol": "GLD",
    "algorithm": "scrypt",
     "peerMagic": "fdc2b4dd",
     "peerMagicTestnet": "fcc5b4dd"
};

var Stratum = require('stratum-pool');

var pool = Stratum.createPool({

    "coin": myCoin,

    "auxes": [],

    "address": "n33ZW9SXvtCXRvsP7gjQqYFaEwxwpXoWpC", //Address to where block rewards are given

    /* Block rewards go to the configured pool wallet address to later be paid out to miners,
       except for a percentage that can go to, for examples, pool operator(s) as pool fees or
       or to donations address. Addresses or hashed public keys can be used. Here is an example
       of rewards going to the main pool op, a pool co-owner, and NOMP donation. */
    // "rewardRecipients": {
    //     "n37vuNFkXfk15uFnGoVyHZ6PYQxppD3QqK": 1.5, //1.5% goes to pool op
    //     "mirj3LtZxbSTharhtXvotqtJXUY7ki5qfx": 0.5, //0.5% goes to a pool co-owner
    // },

    "blockRefreshInterval": 1000, //How often to poll RPC daemons for new blocks, in milliseconds


    /* Some miner apps will consider the pool dead/offline if it doesn't receive anything new jobs
       for around a minute, so every time we broadcast jobs, set a timeout to rebroadcast
       in this many seconds unless we find a new job. Set to zero or remove to disable this. */
    "jobRebroadcastTimeout": 55,

    /* Some attackers will create thousands of workers that use up all available socket connections,
       usually the workers are zombies and don't submit shares after connecting. This features
       detects those and disconnects them. */
    "connectionTimeout": 1200, //Remove workers that haven't been in contact for this many seconds

    /* Sometimes you want the block hashes even for shares that aren't block candidates. */
    "emitInvalidBlockHashes": false,

    /* Enable for client IP addresses to be detected when using a load balancer with TCP proxy
       protocol enabled, such as HAProxy with 'send-proxy' param:
       http://haproxy.1wt.eu/download/1.5/doc/configuration.txt */
    "tcpProxyProtocol": false,

    /* If a worker is submitting a high threshold of invalid shares we can temporarily ban their IP
       to reduce system/network load. Also useful to fight against flooding attacks. If running
       behind something like HAProxy be sure to enable 'tcpProxyProtocol', otherwise you'll end up
       banning your own IP address (and therefore all workers). */
    "banning": {
        "enabled": true,
        "time": 600, //How many seconds to ban worker for
        "invalidPercent": 50, //What percent of invalid shares triggers ban
        "checkThreshold": 500, //Check invalid percent when this many shares have been submitted
        "purgeInterval": 300 //Every this many seconds clear out the list of old bans
    },

    /* Each pool can have as many ports for your miners to connect to as you wish. Each port can
       be configured to use its own pool difficulty and variable difficulty settings. varDiff is
       optional and will only be used for the ports you configure it for. */
    "ports": {
        "3333": { //A port for your miners to connect to
            "diff": 32, //the pool difficulty for this port

            /* Variable difficulty is a feature that will automatically adjust difficulty for
               individual miners based on their hashrate in order to lower networking overhead */
            "varDiff": {
                "minDiff": 8, //Minimum difficulty
                "maxDiff": 512, //Network difficulty will be used if it is lower than this
                "targetTime": 15, //Try to get 1 share per this many seconds
                "retargetTime": 90, //Check to see if we should retarget every this many seconds
                "variancePercent": 30 //Allow time to very this % from target without retargeting
            }
        },
        "3256": { //Another port for your miners to connect to, this port does not use varDiff
            "diff": 256 //The pool difficulty
        }
    },

    /* Recommended to have at least two daemon instances running in case one drops out-of-sync
       or offline. For redundancy, all instances will be polled for block/transaction updates
       and be used for submitting blocks. Creating a backup daemon involves spawning a daemon
       using the "-datadir=/backup" argument which creates a new daemon instance with it's own
       RPC config. For more info on this see:
          - https://en.bitcoin.it/wiki/Data_directory
          - https://en.bitcoin.it/wiki/Running_bitcoind */
    "daemons": [
        {   //Main daemon instance
            "host": "127.0.0.1",
            "port": 19332,
            "user": "Stouse49",
            "password": "x"
        }
        // {   //Backup daemon instance
        //     "host": "127.0.0.1",
        //     "port": 19344,
        //     "user": "litecoinrpc",
        //     "password": "testnet"
        // }
    ],


    /* This allows the pool to connect to the daemon as a node peer to receive block updates.
       It may be the most efficient way to get block updates (faster than polling, less
       intensive than blocknotify script). It requires the additional field "peerMagic" in
       the coin config. */
    "p2p": {
        "enabled": false,

        /* Host for daemon */
        "host": "127.0.0.1",

        /* Port configured for daemon (this is the actual peer port not RPC port) */
        "port": 18121,

        /* If your coin daemon is new enough (i.e. not a [beep]coin) then it will support a p2p
           feature that prevents the daemon from spamming our peer node with unnecessary
           transaction data. Assume its supported but if you have problems try disabling it. */
        "disableTransactions": true

    }

}, function(ip, port , workerName, password, callback){ //stratum authorization function
    console.log("Authorize " + workerName + ":" + password + "@" + ip);
    callback({
        error: null,
        authorized: true,
        disconnect: false
    });
});

pool.on('share', function(isValidShare, isValidBlock, data){

    if (isValidBlock)
        console.log('Block found');
    else if (isValidShare)
        console.log('Valid share submitted');
    else if (data.blockHash)
        console.log('We thought a block was found but it was rejected by the daemon');
    else
        console.log('Invalid share submitted')

    console.log('share data: ' + JSON.stringify(data));
});

pool.on('log', function(severity, logKey, logText){
    console.log(severity + ': ' + '[' + logKey + '] ' + logText);
});

console.log("Starting Pool")
pool.start();
console.log("Pool started", pool)

19
Project Development / Re: TestNet for GoldCoin Client Upgrade
« on: February 01, 2018, 11:26:29 PM »
Downloaded the updated client as Greg suggested on Telegram, started it but it says 7 weeks behind and its not finding nodes.

Also, there is still a Litecoin icon in the Help menu -> About Goldcoin Core.

The new client is not ready to run on the testnet.  Thanks for the info on the litecoin icon.

20
Project Development / Re: TestNet for GoldCoin Client Upgrade
« on: February 01, 2018, 11:25:26 PM »
okay
deleted the old client
downloaded the client again
the pool should be also up to date now.

Is there a node to add ?

The new client is not ready to run yet.  It will have an addnode built in.

21
Project Development / Re: TestNet for GoldCoin Client Upgrade
« on: January 31, 2018, 10:27:44 PM »
If you are running the new or old client on the testnet, please close down your clients.

In the next few days, we will be restarting the testnet with new clients.

22
Project Development / Re: TestNet for GoldCoin Client Upgrade
« on: January 20, 2018, 07:07:14 PM »
I bought coins yesterday on cryptopia, can I transfer them to a new purse when it is ready?

Yes, when it is ready that will be possible.

23
Mining & Pools / Re: dns.navy gldpool not showing my address
« on: January 15, 2018, 11:19:12 PM »
I can only do what I can do with what I have to do it with. Right now, anyway.
But, I am seeing accepted shares 11/11 with the green "yes!" on the same line in the interface.

So, how do I interpret that?

I just want to be productive and so if I have to mine another coin to use to buy GLD with, I will.
Just need some advice.

[Still have not gotten an explanation as to why address is not showing on "Workers" tab.
I'm not pool hopping and intend to stay for the long blocks, so...?]

Right now I don't see any miners on the pool. 

To answer your question about why your address doesn't show up on the pool page, we would need to ask the pool operators.  Its possible that something is wrong with their website and how it reports what is happening with the pool.  As stated earlier, currently there are no miners in the pool according to their site.

If you are still submitting shares that get accepted, then something is working correctly for the pool, but not everything.

24
Project Development / Re: TestNet for GoldCoin Client Upgrade
« on: January 14, 2018, 02:42:31 AM »
I believe it is going to be ready in a few weeks, however don't quote me on that.

We will be running the testnet for perhaps 2 more weeks.  We are also waiting for the miners connected to new clients to be the majority, as one of tests is to see what happens when the new clients reject blocks from old client miners.

25
Technical Discussion / Re: [Official] Daily(almost) Update Thread
« on: January 12, 2018, 03:08:07 AM »
Today's Updates(check post date):
  • Finishing up test case code.
  • Generated randoms have lower bound bias. Fixing..
  • Fixed issue. Was a problem with random value being rounded up which was causing the most probable scenario, id=0 for the probability set not being chosen.
  • Finding optimal adjustment values..

As you can see below the goal is a curve that can drop quickly but rises slowly.. (see the behavior of the blue line). The gold line is ideal and green is what we currently have. Our current difficulty algorithm is actually on the spot but this is only for case like this where hashpower rises steadily. I'll do some tests with some fringe cases (like the one our network is currently experiencing).



  • Signing off.. 8:18PM doing fringe test cases tomorrow/also need to check for timing attack parameters

In your simulation, what was the average block time after the GoldenRiver code stabilized?

26
Project Development / Re: GoldCoin Mac Client
« on: January 10, 2018, 11:24:19 AM »
The error comes from something missing in the GoldCoin app or your system or the combination thereof.  You will have to wait until the new client is out or use another computer and transfer your wallet.dat file.

27
Project Development / Re: TestNet for GoldCoin Client Upgrade
« on: January 07, 2018, 05:30:43 PM »
Thanks MicroGuy; I've gotten as far as I can with trying to load the test client after using the config file. 
The error I received was:  'Failed to open mempool file from disk. Continuing anyway.'

I tried to copy the mempool.dat file over to the testnet folder, but am now stuck with the Gui screen of 'Loading the Wallet' and my testnet debug.log files shows 'Imported mempool transactions from disk: 0 successes, 0 failed, 0 expired'

So I'm currently stuck at the moment unable to proceed.  I'll keep looking for fixes, but the closest thing I could find was a bug from the bitcoin core wallet with the same issue - https://github.com/bitcoin/bitcoin/pull/9813

If anyone has ideas, let me know.

The mempool.dat file can be deleted.  It is a file that contains unconfirmed transactions, no client when first run will have that file in the data folder.  Was this error given before the client closed itself down?

On my systems, I also saw the message about the mempool file missing in the debug logs, but the clients ran without any issues.

28
Mining & Pools / Re: Prohashing Solo Mining Goldcoin issues
« on: January 07, 2018, 11:25:45 AM »
You should check Prohashing support:

https://forums.prohashing.com/index.php
https://prohashing.com/help.html

"solo" is a mode at Prohashing where you only get paid if you mine the block.  The effects of the pool and contributing shares does not apply in that case.

29
Nothing appears to be wrong in your debug.log.  It looks like your node is connecting and downloading blocks.

How is your mining setup?

If you actually mine blocks you will see things like this:

Code: [Select]
CreateNewBlock(): total size 1000
Flushing wallet.dat
Flushed wallet.dat 101ms
BitcoinMiner:
proof-of-work found 
  hash: 000006fd4bb5564dc4c50486c49a17e2fe0ca48bf87076f832c1d60d026f77db 
target: 00000fffff000000000000000000000000000000000000000000000000000000
CBlock(hash=1c97479c43e8435cd7d9, PoW=000006fd4bb5564dc4c5, ver=1, hashPrevBlock=63ee26429068a53a39ab, hashMerkleRoot=b7704b3163, nTime=1514879863, nBits=1e0fffff, nNonce=281018368, vtx=1)
  CTransaction(hash=b7704b3163, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, -1), coinbase 04773b4b5a0101062f503253482f)
    CTxOut(nValue=10000.00000000, scriptPubKey=0368d568ccf557c37da15707c13f88)
  vMerkleTree: b7704b3163
generated 10000.00
keypool keep 3
AddToWallet b7704b3163  new
NotifyTransactionChanged b7704b3163a82e8070504de919cec88cf05df23642e7f9fa76f69668b41cf3e7 status=0
updateWallet b7704b3163a82e8070504de919cec88cf05df23642e7f9fa76f69668b41cf3e7 0
SetBestChain: new best=1c97479c43e8435cd7d9  height=1  work=2097169  date=01/02/2018 07:57:43
ProcessBlock: ACCEPTED
   inWallet=1 inModel=0 Index=0-0 showTransaction=0 derivedStatus=0
keypool added key 104, size=101
keypool reserve 4

Code: [Select]
BitcoinMiner:
proof-of-work found 
  hash: 00000471ccf65cb3da55115040fbb62d75cb630832956beb48d854fb05de927c 
target: 000007d798000000000000000000000000000000000000000000000000000000
CBlock(hash=6fb412e64413e4d82028, PoW=00000471ccf65cb3da55, ver=1, hashPrevBlock=48b0f33bc7ef7833b41f, hashMerkleRoot=0f10785710, nTime=1515230274, nBits=1e07d798, nNonce=443744384, vtx=1)
  CTransaction(hash=0f10785710, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, -1), coinbase 044294505a0104062f503253482f)
    CTxOut(nValue=1000.00000000, scriptPubKey=03486979745564f5e0f826c2f3b083)
  vMerkleTree: 0f10785710
generated 1000.00
keypool keep 473
Local has found possible valid block... queueing until timestamp is valid
Flushing wallet.dat

30
Project Development / Re: TestNet for GoldCoin Client Upgrade
« on: January 07, 2018, 11:06:16 AM »
I ve downloaded the 14.2 version, then i added the conf file to the windows folder which included the wallet.dat file, then the icon turned into green, which indicates the testnet :)

If one downloads from the links above, they are setup for testnet already.  In fact, they are setup such that one can run both the new client and the old client on the same system without interfering with one another.

However, if one builds from the source, then extra configuration is required (creating goldcoin.conf with testnet=1, etc).

Pages: 1 [2] 3 4 ... 32