Pages:
Author

Topic: [OLD][CSC]CasinoCoin ♠ A Digital Currency For The Regulated Online Gaming Sector - page 61. (Read 343078 times)

legendary
Activity: 1596
Merit: 1006
CSC deposit and withdraw enabled on alcurEX.
https://alcurex.com/#CSC-BTC

halibit
alcurex.com
legendary
Activity: 1270
Merit: 1000
Will update GitHub in the next day so others can get their own CSC p2pool nodes going.

If you don't want to wait here are the changes that need to be made:

DELETE the data directory at the root!

p2pool\networks\casinocoin.py
Code:
from p2pool.bitcoin import networks

PARENT = networks.nets['casinocoin']
SHARE_PERIOD = 10 # seconds
CHAIN_LENGTH = 24*60*60//10 # shares
REAL_CHAIN_LENGTH = 24*60*60//10 # shares
TARGET_LOOKBEHIND = 20 # shares
SPREAD = 60 # blocks
IDENTIFIER = '7A1B73A729CF5FC1'.decode('hex')
PREFIX = '79A544E00296E8BA'.decode('hex')
P2P_PORT = 23640
MIN_TARGET = 0
MAX_TARGET = 2**256//2**20 - 1
PERSIST = False
WORKER_PORT = 8840
BOOTSTRAP_ADDRS = 'xpool.net'.split(' ')
ANNOUNCE_CHANNEL = '#p2pool-csc'
VERSION_CHECK = lambda v: True
VERSION_WARNING = lambda v: None

p2pool\bitcoin\networks\casinocoin.py
Code:
import os
import platform

from twisted.internet import defer

from .. import data, helper
from p2pool.util import pack


P2P_PREFIX = 'fac3b6da'.decode('hex')
P2P_PORT = 47950
ADDRESS_VERSION = 28
RPC_PORT = 47970
RPC_CHECK = defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'casinocoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        ))
SUBSIDY_FUNC = lambda height: 1*100000000
POW_FUNC = lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data))
BLOCK_PERIOD = 30 # s
SYMBOL = 'CSC'
CONF_FILE_FUNC = lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'casinocoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/casinocoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.casinocoin'), 'casinocoin.conf')
BLOCK_EXPLORER_URL_PREFIX = 'http://csc.blockexp.info/block/'
ADDRESS_EXPLORER_URL_PREFIX = 'http://csc.blockexp.info/address/'
TX_EXPLORER_URL_PREFIX = 'http://csc.blockexp.info/tx/'
SANE_TARGET_RANGE = (2**256//1000000000 - 1, 2**256//1000 - 1)
DUMB_SCRYPT_DIFF = 2**16
DUST_THRESHOLD = 0.03e8
legendary
Activity: 1270
Merit: 1000
legendary
Activity: 1862
Merit: 1002
I'm using the new wallet and found our first block


you are mining with your wallet??


pool mining with the new wallet.


http://csc.smarterhash.com
Thank you very much! CSC address so I can send you a tip for finding new blocks

CLMPREvMVaH58pFwbMnj7SMxND2QjaEaQa


Would you mind if we sync the primary seed with your wallet. If it's ok, what's the address of your wallet?
Here's the address for block 1575000: Cf3UqemLcedDgET2KiBoFHw1abL4aECpkt

b2b9b7aa1b75d8d48efc2bbe88424f92dab94569a95903085115e5e91df04ce0-000

/solominer



Menat IP address, but it's ok. the primary seed is working now. This seemed to be the majority of the problem.
newbie
Activity: 2
Merit: 0
"true","2016-07-13T17:29:23","Mined","","CKD1D63K6bDXzvLaP9En8v77n93mA1pMXv","1.00","247600a0c360f1375d71d1909776b30d0a84470662a88fd9832293ee3be2f8d8-000"
"true","2016-07-13T15:50:38","Mined","","CTXKrAEtVfXn9qmAcAeGtST1hfDfx7eXHV","1.00","6ba7d03a52355299d9c65ba12b84b91ca4cdb459bb2adafcb666a86590f3afdb-000"
"true","2016-07-13T15:33:16","Mined","","Cf3UqemLcedDgET2KiBoFHw1abL4aECpkt","1.006","b2b9b7aa1b75d8d48efc2bbe88424f92dab94569a95903085115e5e91df04ce0-000"
newbie
Activity: 2
Merit: 0
I'm using the new wallet and found our first block


you are mining with your wallet??


pool mining with the new wallet.


http://csc.smarterhash.com
Thank you very much! CSC address so I can send you a tip for finding new blocks

CLMPREvMVaH58pFwbMnj7SMxND2QjaEaQa


Would you mind if we sync the primary seed with your wallet. If it's ok, what's the address of your wallet?
Here's the address for block 1575000: Cf3UqemLcedDgET2KiBoFHw1abL4aECpkt

b2b9b7aa1b75d8d48efc2bbe88424f92dab94569a95903085115e5e91df04ce0-000

/solominer

legendary
Activity: 1862
Merit: 1002
It should work on ubuntu 14.04 or debian 7 and 8 just fine with libboost 1.54.

Ubuntu 14 works! DL'ing chain....pool will be back once that is done.

You needed those extra packages right?
legendary
Activity: 1270
Merit: 1000
It should work on ubuntu 14.04 or debian 7 and 8 just fine with libboost 1.54.

Ubuntu 14 works! DL'ing chain....pool will be back once that is done.
legendary
Activity: 1862
Merit: 1002
Ok blocks are coming in now regularly. I think it's recovering.

I asked rudy to restart his block explorer wallets. They seem stuck on 1574999. However, sites like coinwars are displaying the proper block count: http://www.coinwarz.com/cryptocurrency

legendary
Activity: 1862
Merit: 1002
BTW, the primary seed is close to finishing indexing it's new blockchain copy.

{
    "version" : 3000000,
    "protocolversion" : 80001,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 1572338,
    "timeoffset" : -1,
    "connections" : 37,
    "proxy" : "",
    "difficulty" : 20.97820147,
    "testnet" : false,
    "keypoololdest" : 1430805937,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00001000,
    "errors" : ""
}


And we have a seed with more blocks:

   {
        "addr" : "104.172.24.79:18593",
        "services" : "00000003",
        "lastsend" : 1468470669,
        "lastrecv" : 1468470743,
        "bytessent" : 344055,
        "bytesrecv" : 441898,
        "blocksrequested" : 0,
        "conntime" : 1468468117,
        "version" : 80001,
        "subver" : "/LTSV3:3.0.0/",
        "inbound" : true,
        "startingheight" : 1576072,
        "banscore" : 0
    },


Once the primary seed catches up I'll check the peer list to see if we start catching 3.0.0 wallets up. If  this occurs and the old versions are rejected as originally expected, we may have just avoided having to release a new wallet version. I'll update soon.


Ok I have some good news. The chain is advancing normally on the primary seed. I can see other peers catching up now.

{
    "version" : 3000000,
    "protocolversion" : 80001,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 1576204,
    "timeoffset" : -1,
    "connections" : 35,
    "proxy" : "",
    "difficulty" : 2.45063049,
    "testnet" : false,
    "keypoololdest" : 1430805937,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00001000,
    "errors" : ""
}


If you find that your wallet is stuck at 1574999, please restart your wallet.  I'll confirm with Andre when he in back online, but we may not need an immediate client update if the chain is now advancing properly.


legendary
Activity: 1862
Merit: 1002
BTW, the primary seed is close to finishing indexing it's new blockchain copy.

{
    "version" : 3000000,
    "protocolversion" : 80001,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 1572338,
    "timeoffset" : -1,
    "connections" : 37,
    "proxy" : "",
    "difficulty" : 20.97820147,
    "testnet" : false,
    "keypoololdest" : 1430805937,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00001000,
    "errors" : ""
}


And we have a seed with more blocks:

   {
        "addr" : "104.172.24.79:18593",
        "services" : "00000003",
        "lastsend" : 1468470669,
        "lastrecv" : 1468470743,
        "bytessent" : 344055,
        "bytesrecv" : 441898,
        "blocksrequested" : 0,
        "conntime" : 1468468117,
        "version" : 80001,
        "subver" : "/LTSV3:3.0.0/",
        "inbound" : true,
        "startingheight" : 1576072,
        "banscore" : 0
    },


Once the primary seed catches up I'll check the peer list to see if we start catching 3.0.0 wallets up. If  this occurs and the old versions are rejected as originally expected, we may have just avoided having to release a new wallet version. I'll update soon.
legendary
Activity: 1862
Merit: 1002
Going to bring the pool back up using a temporary daemon (Windows QT) as the Linux one will not build or run.
Downloading the blockchain now...will post when it is done.

This is just a temporary deal since I may still shut down the CSC pool for good if I can't compile on Ubuntu server 12.04.5 LTS.

MINERS: Please use a fallback pool!

Tried Ubuntu server 16 (new install using ubuntu-16.04-server-amd64.iso) with no luck using the pre-compiled daemon with the same error as Ubuntu server 12. Did not try to compile again on Ubuntu server 16 as I figured at this point it is just broken.

Ubuntu 16 is not a good idea. In fact, Ubuntu is general is usually a bad idea. They take packages directly from Debian testing. Personally, I would recommend Debian 8 if you value stability.

Anyway, Ubuntu 16 includes boost 1.58. To use that you may need additional compiler directives. It should work on ubuntu 14.04 or debian 7 and 8 just fine with libboost 1.54.

On my ubuntu 14.04 vm, I had to install the following additional packages to migrate from 2.0.x to the current 3.0.0:


libboost-filesystem1.54.0
libboost-program-options1.54.0
libboost-thread1.54.0

root@alpha01:~# lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 14.04.4 LTS
Release:   14.04
Codename:   trusty

legendary
Activity: 1270
Merit: 1000
Going to bring the pool back up using a temporary daemon (Windows QT) as the Linux one will not build or run.
Downloading the blockchain now...will post when it is done.

This is just a temporary deal since I may still shut down the CSC pool for good if I can't compile on Ubuntu server 12.04.5 LTS.

MINERS: Please use a fallback pool!

Tried Ubuntu server 16 (new install using ubuntu-16.04-server-amd64.iso) with no luck using the pre-compiled daemon with the same error as Ubuntu server 12. Did not try to compile again on Ubuntu server 16 as I figured at this point it is just broken.

Edit: Ubuntu server 14 worked.
hero member
Activity: 553
Merit: 500
I'm using the new wallet and found our first block


you are mining with your wallet??


pool mining with the new wallet.


http://csc.smarterhash.com
Thank you very much! CSC address so I can send you a tip for finding new blocks

us.smarterhash.com

CLMPREvMVaH58pFwbMnj7SMxND2QjaEaQa


Would you mind if we sync the primary seed with your wallet. If it's ok, what's the address of your wallet?
legendary
Activity: 1862
Merit: 1002
I'm using the new wallet and found our first block


you are mining with your wallet??


pool mining with the new wallet.


http://csc.smarterhash.com
Thank you very much! CSC address so I can send you a tip for finding new blocks

CLMPREvMVaH58pFwbMnj7SMxND2QjaEaQa


Would you mind if we sync the primary seed with your wallet. If it's ok, what's the address of your wallet?
legendary
Activity: 1862
Merit: 1002
Talked to andre. He's on a flight back now. I'm going to go through his commit this morning and suggest a fix. When he gets home, he will test it and build a new release.
hero member
Activity: 553
Merit: 500
why are people dumping in cryptopia??? i don't understand...

LOL - Panic Selling is not an Investment Strategy...at least to anyone with a brain.
sr. member
Activity: 316
Merit: 250
why are people dumping in cryptopia??? i don't understand...
hero member
Activity: 627
Merit: 500
Is there a newer wallet beyond 3.0.0?
legendary
Activity: 1019
Merit: 1001
Spectreproject Community Manager
can confirm on block 1575380 right now on smarterhash
he runs a tight ship
edit - update -  getting confirms as well
Pages:
Jump to: