Bitcoin Forum
April 26, 2024, 09:14:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 [3] 4 »
41  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] [BEE2] [BEECOIN V2] POW X11/POS Hybrid - Coin Swap Procedures on: May 24, 2014, 04:31:01 PM
Not block it?Not block it?Not block it?Not block it?Not block it?Not block it?Not block it?Not block it?Not block it?Not block it?Not block it?Not block it?Not block it?Not block it?Not block it?Not block it?
42  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN][X11] X11 (Darkcoin etc) miner (based on sph-sgminer) on: May 24, 2014, 01:06:49 PM
Link to a Windows version compiled from this source code. Note, I have not inspected the source code. This was compiled as-is. https://www.dropbox.com/s/skv74wv378h5qnl/sgminerx11.rar

Tips are appreciated. Let me know if it runs or not.

File was incomplete, missing kernel
Oops, sorry. I was accustomed to releasing only binaries from other projects I totally forgot. Fixing now. Try it now. https://www.dropbox.com/s/skv74wv378h5qnl/sgminerx11.rar

When I joined the kernel and run error
My environment: windows 7 x64 amd 14.4
43  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN][X11] X11 (Darkcoin etc) miner (based on sph-sgminer) on: May 24, 2014, 12:59:33 PM
Link to a Windows version compiled from this source code. Note, I have not inspected the source code. This was compiled as-is. https://www.dropbox.com/s/skv74wv378h5qnl/sgminerx11.rar

Tips are appreciated. Let me know if it runs or not.

File was incomplete, missing kernel

When I joined the kernel and run error
My environment: windows 7 x64 amd 14.4
44  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN][X11] X11 (Darkcoin etc) miner (based on sph-sgminer) on: May 24, 2014, 12:50:16 PM
奇怪我的帖子呢?
45  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN][X11] X11 (Darkcoin etc) miner (based on sph-sgminer) on: May 24, 2014, 12:46:49 PM
Thank you very much! No windows can run version?
46  Bitcoin / Project Development / Re: Mining Portal Open Source Android client (statistic viewer) on: May 24, 2014, 08:59:59 AM
Good application, but there are many problems, such as scanning QR add mine pools are being given.
47  Alternate cryptocurrencies / Announcements (Altcoins) / Re: ★★★★ [CAIx] ★100% PoS ★1.6 Million Shares ★Limited Mining Period ★★★★ on: May 17, 2014, 06:28:13 PM
When caix can be mined? ? ?
48  Alternate cryptocurrencies / Announcements (Altcoins) / Re: ★★★★ [CAIx] ★100% PoS ★1.6 Million Shares ★Limited Mining Period ★★★★ on: May 16, 2014, 07:53:59 AM
Coind Error: No more PoW blocks
49  Bitcoin / Mining software (miners) / Re: Stratum Pool Server [Node.js] (supports POS/POW, SHA/Scrypt/Quark/X11, Vardiff) on: May 05, 2014, 12:35:21 PM
ERROR................

events.js:72
throw er; // Unhandled 'error' event
^
Error: bind EACCES
at errnoException (net.js:904:11)
at net.js:1072:30
at Object.12:1 (cluster.js:592:5)
at handleResponse (cluster.js:171:41)
at respond (cluster.js:192:5)
at handleMessage (cluster.js:202:5)
at process.EventEmitter.emit (events.js:117:20)
at handleMessage (child_process.js:322:10)
at Pipe.channel.onread (child_process.js:349:11)
2014-05-05 17:21:19 [Master] [Website] Website process died, spawning replacement...

xxxxx@mpos:~/nomp$

PS:
config.json

"website": {
    "enabled": true,
    "port": 80,
    "stratumHost": "localhost",
    "stats": {
        "updateInterval": 60,
        "historicalRetention": 43200,
        "hashrateWindow": 300
    },
    "adminCenter": {
        "enabled": true,
        "password": "password"
    }
},
50  Bitcoin / Mining software (miners) / Re: Stratum Pool Server [Node.js] (supports POS/POW, SHA/Scrypt/Quark/X11, Vardiff) on: May 05, 2014, 12:25:44 PM
Good~~~~~~~~~~~~~~~~ Grin
51  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][CATc] Cataloniacoin · Conference soon thanks to a Google dev · SCRYPT-N on: April 25, 2014, 02:56:55 AM
ERROR!!!!!!!!!!!!!!!!!!!

g++ -c -DTEST_DATA_DIR=/home/map/coins-ns/CataloniacoinS/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/map/coins-ns/CataloniacoinS/src -I/home/map/coins-ns/CataloniacoinS/src/obj -DUSE_UPNP=0 -DUSE_IPV6=1 -I/home/map/coins-ns/CataloniacoinS/src/leveldb/include -I/home/map/coins-ns/CataloniacoinS/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj-test/sigopcount_tests.d -o obj-test/sigopcount_tests.o test/sigopcount_tests.cpp
test/scrypt_tests.cpp: In member function ‘void scrypt_tests::scrypt_hashtest::test_method()’:
test/scrypt_tests.cpp:24:108: error: ‘pblock’ was not declared in this scope
scrypt_N_1_1_256_sp_generic((const char*)&inputbytes[0], BEGIN(scrypthash), scratchpad, GetNfactor(pblock->nTime));
^
test/scrypt_tests.cpp:24:121: error: ‘GetNfactor’ was not declared in this scope
scrypt_N_1_1_256_sp_generic((const char*)&inputbytes[0], BEGIN(scrypthash), scratchpad, GetNfactor(pblock->nTime));
^
make: *** [obj-test/scrypt_tests.o] error 1

PS:
ubuntu 13.10 x64
52  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][CT]CarbonEmissionTradeCoin-Adaptive N Scrypt|Beautiful UI|Protect Earth on: April 15, 2014, 10:18:05 AM
Compile the source code can not be properly!!!!!
53  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][CT]CarbonEmissionTradeCoin-Adaptive N Scrypt|Beautiful UI|Protect Earth on: April 14, 2014, 04:41:18 PM
你们货币源代码有问题,是个什么情况?
无法正常编译
54  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [RED] REDCOIN - With bonus blocks and super blocks [LAUNCHED 30/06/13] on: February 05, 2014, 02:23:19 PM
Complete source code is not even money, with ulterior motives!~~~~~~
55  Alternate cryptocurrencies / Mining (Altcoins) / Re: Finding p2pool networks.py values for new altcoins on: February 01, 2014, 05:31:02 PM
I've recently tried to port p2pool to some newer alt coins and have been hitting a brick wall. I'm pretty sure this going beyond basic network.py values but I wanted to get some opinions.

I've tried setting this up for grandcoin, lottocoin, luckycoin and earthcoin. The one I'm most interested in getting to work is earthcoin, so let's take that one for example. This is the error I receive when running it.

Code:
Testing bitcoind RPC connection to 'http://127.0.0.1:5555/' with username 'user'...
2013-12-30 00:24:16.668394 > Error getting work from bitcoind:
2013-12-30 00:24:16.668474 > Traceback (most recent call last):
2013-12-30 00:24:16.668509 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
2013-12-30 00:24:16.668538 >     current.result = callback(current.result, *args, **kw)
2013-12-30 00:24:16.668566 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1095, in gotResult
2013-12-30 00:24:16.668598 >     _inlineCallbacks(r, g, deferred)
2013-12-30 00:24:16.668626 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2013-12-30 00:24:16.668675 >     result = result.throwExceptionIntoGenerator(g)
2013-12-30 00:24:16.668704 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2013-12-30 00:24:16.668732 >     return g.throw(self.type, self.value, self.tb)
2013-12-30 00:24:16.668759 > --- <exception caught here> ---
2013-12-30 00:24:16.668785 >   File "/home/x/p2pool-eac/p2pool/util/deferral.py", line 41, in f
2013-12-30 00:24:16.668812 >     result = yield func(*args, **kwargs)
2013-12-30 00:24:16.668838 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
2013-12-30 00:24:16.668866 >     result = g.send(result)
2013-12-30 00:24:16.668892 >   File "/home/x/p2pool-eac/p2pool/bitcoin/helper.py", line 49, in getwork
2013-12-30 00:24:16.668919 >     transactions=map(bitcoin_data.tx_type.unpack, packed_transactions),
2013-12-30 00:24:16.668945 >   File "/home/x/p2pool-eac/p2pool/util/pack.py", line 63, in unpack
2013-12-30 00:24:16.668972 >     obj = self._unpack(data, ignore_trailing)
2013-12-30 00:24:16.668998 >   File "/home/x/p2pool-eac/p2pool/util/pack.py", line 47, in _unpack
2013-12-30 00:24:16.669024 >     raise LateEnd()
2013-12-30 00:24:16.669050 > p2pool.util.pack.LateEnd:

Now, what I noticed is in the pack.py file, the functions
Code:
def _unpack(self, data, ignore_trailing=False):
        obj, (data2, pos) = self.read((data, 0))

        assert data2 is data

        if pos != len(data) and not ignore_trailing:
            raise LateEnd()

        return obj

 def unpack(self, data, ignore_trailing=False):
        obj = self._unpack(data, ignore_trailing)

        if p2pool.DEBUG:
            packed = self._pack(obj)
            good = data.startswith(packed) if ignore_trailing else data == packed
            if not good:
                raise AssertionError()

        return obj
is where the error is being thrown. The pos is always 1 character bigger then len(data) when the error is thrown. So setting the ignore_trailing=True eliminates the error, but when testing it against earthcoin, we hashed overnight and found a few blocks. However, none of them were actually committed to the blockchain and nothing was paid out. So I assume that is messing with the blocks submitted and they're not valid.

If you don't change that variable, the error that was mentioned is thrown for a while. Eventually it will connect to the wallet daemon, and you can actually hash in the pool, however the connection to the wallet will go unstable and the errors will start again. The connection to the wallet never really stabilizes.

Just for reference  here are my earthcoin network.py values.
Code:
earthcoin=math.Object(
        PARENT=networks.nets['earthcoin'],
        SHARE_PERIOD=10, # seconds
        CHAIN_LENGTH=3*60*60//5, # shares
        REAL_CHAIN_LENGTH=3*60*60//5, # shares
        TARGET_LOOKBEHIND=120, # shares
        SPREAD=30, # blocks
        IDENTIFIER='e137d5b8c6923410'.decode('hex'),
        PREFIX='7218c1a53ef629b0'.decode('hex'),
        P2P_PORT=9338,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=False,
        WORKER_PORT=19330,
        BOOTSTRAP_ADDRS=''.split(' '),
        ANNOUNCE_CHANNEL='#spool',
        VERSION_CHECK=lambda v: True,
    ),

Code:
earthcoin=math.Object(
        P2P_PREFIX='c0dbf1fd'.decode('hex'),
        P2P_PORT=15677,
        ADDRESS_VERSION=93,
        RPC_PORT=15678,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'earthcoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 10000*100000000 >> (height + 1)//525600,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=60, # s
        SYMBOL='EAC',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'earthcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/earthcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.earthcoin'), 'earthcoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://earthchain.info/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://earthchain.info/address/',
        TX_EXPLORER_URL_PREFIX='http://earthchain.info/tx/',
        SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
        DUMB_SCRYPT_DIFF=2**16,
        DUST_THRESHOLD=1e8,
    ),

If anyone that has better python skills than me, and a better knowledge of how p2pool works cares to help, I'd greatly appreciate it. Like I said, I don't think this is isolated to earthcoin as I've seen this behavior with several new alt coins. Also, I've posted a bug report on the official p2pool github in case anyone wants to contribute.

error error error error................
56  Alternate cryptocurrencies / Mining (Altcoins) / Re: Finding p2pool networks.py values for new altcoins on: February 01, 2014, 03:44:22 PM
I ask, why do I write infinitecoin unable to work?
IDENTIFIER and PREFIX wrong in the end there? This is my random sets of data should be written right way?

Code:
    infinitecoin=math.Object(
        P2P_PREFIX='fbc0b6db'.decode('hex'), #pchmessagestart
        P2P_PORT=9321,
        ADDRESS_VERSION=66, #pubkey_address  0xfb, 0xc0, 0xb6, 0xdb
        RPC_PORT=9322,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'infinitecoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 524288*100000000,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=30, # s
        SYMBOL='IFC',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Infinitecoin')
if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Infinitecoin/')
if platform.system() == 'Darwin' else os.path.expanduser('~/.infinitecoin'), 'infinitecoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://p2pool.com:2758/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://p2pool.com:2758/address/',
        TX_EXPLORER_URL_PREFIX='http://p2pool.com:2758/tx/',
        SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
        DUMB_SCRYPT_DIFF=2**16,
        DUST_THRESHOLD=0.03e8,
    ),

Code:
    infinitecoin=math.Object(
        PARENT=networks.nets['infinitecoin'],
        SHARE_PERIOD=10, # seconds target spacing--
        CHAIN_LENGTH=24*60*60//10, # shares--
        REAL_CHAIN_LENGTH=24*60*60//10, # shares--
        TARGET_LOOKBEHIND=20, # shares coinbase maturity
        SPREAD=60, # blocks---
        IDENTIFIER='fc656168639f686e'.decode('hex'),
        PREFIX='fe636f818e6c666a'.decode('hex'),
        P2P_PORT=10317,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=True,
        WORKER_PORT=9068,
        BOOTSTRAP_ADDRS=' '.split(' '),
        ANNOUNCE_CHANNEL='#p2pool-alt',
        VERSION_CHECK=lambda v: True,
    ),
57  Other / Beginners & Help / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: January 29, 2014, 07:01:07 PM
ddl_implicit_commit=true
create_table_epilogue=''
Abe/DataStore.py:526: Warning: Converting column 'a' from VARCHAR to TEXT
  store.cursor.execute(stmt)
Abe/DataStore.py:526: Warning: Converting column 'b' from VARCHAR to TEXT
  store.cursor.execute(stmt)
max_varchar=4294967295
clob_type=LONGTEXT
Abe/DataStore.py:526: Warning: Converting column 'test_varbit' from VARCHAR to TEXT
  store.cursor.execute(stmt)
binary_type=hex
int_type=int
Created silly table abe_dual
sequence_type=mysql
limit_style=native
Abe/DataStore.py:526: Warning: Converting column 'txout_scriptPubKey' from VARCHAR to TEXT
  store.cursor.execute(stmt)
Abe/DataStore.py:526: Warning: Converting column 'txin_scriptSig' from VARCHAR to TEXT
  store.cursor.execute(stmt)
Opened /home/mapleshadow/.chncoin/blk0001.dat
block_tx 1 1
block_tx 2 2
block_tx 3 3
58  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: January 29, 2014, 06:59:49 PM
ddl_implicit_commit=true
create_table_epilogue=''
Abe/DataStore.py:526: Warning: Converting column 'a' from VARCHAR to TEXT
  store.cursor.execute(stmt)
Abe/DataStore.py:526: Warning: Converting column 'b' from VARCHAR to TEXT
  store.cursor.execute(stmt)
max_varchar=4294967295
clob_type=LONGTEXT
Abe/DataStore.py:526: Warning: Converting column 'test_varbit' from VARCHAR to TEXT
  store.cursor.execute(stmt)
binary_type=hex
int_type=int
Created silly table abe_dual
sequence_type=mysql
limit_style=native
Abe/DataStore.py:526: Warning: Converting column 'txout_scriptPubKey' from VARCHAR to TEXT
  store.cursor.execute(stmt)
Abe/DataStore.py:526: Warning: Converting column 'txin_scriptSig' from VARCHAR to TEXT
  store.cursor.execute(stmt)
Opened /home/mapleshadow/.chncoin/blk0001.dat
block_tx 1 1
block_tx 2 2
block_tx 3 3
59  Other / Beginners & Help / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: January 29, 2014, 04:31:08 PM
datastore.py----------------------
    {"chain":"CinnamonCoin",
     "code3":"CIN", "address_version":"\x1c", "magic":"\xcd\xf2\xc0\xef"},

cin.conf--------------
default-loader = blkfile
dbtype MySQLdb
connect-args {"user":"abe","db":"abe_cin","passwd":"<xxx>"}
datadir = /home/xxx/.CinnamonCoin
upgrade
port 2755
host 12.10.2.222

shell------------
python -m Abe.abe --config config/cin.conf --commit-bytes 100000 --no-serve

error:
Opened /home/xxx/.CinnamonCoin/blk0001.dat
Chain not found for magic number dbc0dbf2 in block file /home/xxx/.CinnamonCoin/blk0001.dat at offset 0.

why?????????
Should not find cdf2c0ef thing?
Why instead to search dbc0dbf2?
60  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: January 21, 2014, 06:29:23 AM
Failed to catch up {'blkfile_offset': 1309247667, 'blkfile_number': 1, 'chain_id': 8, 'loader': None, 'dirname': u'/home/mapleshadow/.dogecoin', 'id': 1}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2639, in catch_up
    if not store.catch_up_rpc(dircfg):
  File "Abe/DataStore.py", line 2804, in catch_up_rpc
    format = "binary")
  File "Abe/DataStore.py", line 2340, in export_tx
    'prevout_hash': store.hashout(prevout_hash),
  File "Abe/DataStore.py", line 334, in rev
    return x[::-1]
TypeError: 'NoneType' object has no attribute '__getitem__'
Abe initialized.
Listening on http:

try rpc instead of blkfile
Will, conf file how to write this code?
And this tip:
ddl_implicit_commit=true
create_table_epilogue=''
max_varchar=4294967295
clob_type=CLOB
binary_type=buffer
int_type=str
Created silly table abe_dual
sequence_type=update
limit_style=native
genesis transaction unavailable via RPC; see import-tx in abe.conf
catch_up_rpc: abort
Opened /home/maple/.digitalcoin/blk0001.dat


Should be written so?
default-loader = blkfile
Pages: « 1 2 [3] 4 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!