Bitcoin Forum
June 19, 2024, 11:52:16 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 [107] 108 109 110 111 112 113 114 »
2121  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] [CHC] ChainCoin - AllCrypt - CPU/GPU - C11 - Paperwallet/explorer bounties on: July 23, 2014, 08:10:01 AM
I love this coin
 Kiss

anyone still around ?

It's been a week since last post in this thread.

Is the coin still alive? Network still works?

Sure is.

Got a block explorer on test at

http://minkiz.co/abe/chain/chaincoin

The Transactions panel takes aaages to appear, dunno why. Other than that, the new “geekz” branch with twitter bootstrap styling seems to be working tolerably well, as far as I can make out. Next task is to get the delivery vehicle sorted out.

Cheers

Graham
2122  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield - SK-1024 GPU| Prime CPU| POS | Shitcoin Cleanup| Unified Time on: July 22, 2014, 10:49:11 AM
It was a shitcoin yes, because the developer didn't expend the effort required to make a worthwhile coin, we have.

Why do you persist in embarrassing yourself? “the developer didn't expend the effort required to make a worthwhile coin” - that's completely bogus. You have no means of demonstrating the accuracy of that conjecture, let alone its relevance. The choice of fabrication hints strongly at narrow-minded, thoughtless intolerance.

Great programming skills, dangerously weak elsewhere. You should start to challenge your prejudices before they start to challenge you.

Despondently,

Graham
2123  Alternate cryptocurrencies / Altcoin Discussion / Re: Mintcoin Qt problem on: July 21, 2014, 03:44:14 PM
I am having a problem with the wallet opening ... Also I'm having difficulty finding the wallet.dat so I can backup.

Yes, that can happen for any number of reasons.

Unless you have a non-standard setup, you should be able to reproduce this:

Code:
$ ls ~/.MintCoin/
blk0001.dat  blkindex.dat  database/  db.log  debug.log  peers.dat  wallet.dat

There's your wallet, the wallet.dat file. Strictly speaking, you don't ever need to copy it back in to ~/.Mintcoin, you can restore within the wallet from a backup explicitly saved in , say ~/Documents/backupwallets/.

To get Mintcoin working again, first copy the wallet to a safe place then you can delete everything in that directory other than the wallet and start the MintCoin app again. Can't promise anything after that but the Ubuntu aspect is fairly standard, ~/<SomeCoin>/wallet.dat.

~ is unix for $HOME;  cd ~ and cd $HOME are the same thing.

HTH

Cheers,

Graham

2124  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN]Cassubian Detk (CDT) QUBIT PoW - first coin with market intervention on: July 21, 2014, 12:42:55 PM
I think we need a block explorer. This is essential for all serious exchanges and customers.
user pinemool is working on it, I'm in touch with him.

If you're sorted for hosting, there's an alternative option:

The necessary qubit-hash C interface module is available as an installable Python package from:
https://github.com/qubitcoin-project/qubit-hash.git
(which will install with python setup.py install)

A qubit-aware fork of Abe is available on:
https://github.com/qubitcoin-project/bitcoin-abe.git

This config, showing only what's uncommented, is to be saved as abe-det.conf and should get things rolling:
Code:
# Config file for Abe.
dbtype = sqlite3
connect-args = abe-q2c.sqlite

# Specify port and/or host to serve HTTP instead of FastCGI:
port 2750
host localhost

# datadir lists directories to scan for block files.
datadir += [
    {
        "dirname": "/home/USER/.detkcoin",
        "chain": "DetkCoin",
        "policy": "QubitChain",
        "code3": "DET",
        "address_version": "\u001d",
        "magic": "\u00ae\u00bf\u00c0\u00d1",
        "loader": "blkfile",    # See the comments for default-loader below.
        "conf": "detkcoin.conf"
    }
]

# "rescan" causes Abe to search all block files for new blocks.
rescan

# Create and use the abe_firstbits table.
use-firstbits

The first task is to read the blockchain into the db:
Code:
python -m Abe.abe --config abe-det.conf --commit-bytes 100000 --no-serve

When that's finished:
Code:
python -m Abe.abe --config abe-det.conf --commit-bytes 100000

The above should start an instance of Abe on http://localhost:2750

HTH

Cheers

Graham
2125  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] CoinShield - SK-1024 GPU| Prime CPU| POS | Shitcoin Cleanup| Unified Time on: July 20, 2014, 07:52:17 PM
Reserve your username, Sign up now prelaunch: http://coinshieldtalk.org  Smiley

http://coinshieldtalk.org/forum/coin-shield-talk/shitcoin-petitions/105-digitalcommerce

That's a brilliant start; cogent, articulate, with a wealth of supporting proof. It's exactly the kind of the persuasive and constructive discussion that you were so confidently expecting.


And the reality is exactly what I was expecting.

Sadly,

Graham


2126  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][MOON] Mooncoin: You know where it's headed! KGW exploit FIXED 4/3/2014 on: July 20, 2014, 03:25:30 PM
The period is actually dependent on the blockchain height, so timing is imprecise.

The party won't be starting tomorrow, though  Sad Mooncoin block generation is running about three weeks behind the calculated rate ...

if(nHeight > 193076 && nHeight < 203158)

Block explorer reports latest blockchain height as 169985 2014-07-20 15:15:38

Code:
>>> ((193076 - 169985) * 90) / 3600 / 24
24

Plenty of time to order cakes, pop and silly hats for the party.

Cheers

Graham
2127  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][MOON] Mooncoin: You know where it's headed! KGW exploit FIXED 4/3/2014 on: July 20, 2014, 03:09:14 PM
Another thing, tomorrow should be one of the special days with mooncoin? As is described on the first page of this thread?

On July 21st, 2014 it will be the 45th anniversary of the lunar landing by the Apollo 11 astronauts. On this date, Mooncoin will begin to release one MOON for every USD spent on the Apollo space program at an accelerated rate: 25.4 billion!

so... what exactly will happen tomorrow???

Mining rewards will rise sharply, for a period of roughly one week. The period is actually dependent on the blockchain height, so timing is imprecise.

From the horse's mouth, so to speak:

   if(nHeight <= 100000) {
                nSubsidy = (1 + generateMTRandom(seed, 1999999)) * COIN;
        } else if(nHeight > 193076 && nHeight < 203158)// for _roughly_ one week, the cost of the Apollo
                nSubsidy = 2519841 * COIN;                 // program will be paid back -- 25.4bn MOON!
        } else if(nHeight <= 203518) {
                nSubsidy = (1 + generateMTRandom(seed, 999999)) * COIN;
        } else if(nHeight <= 250000) {
                nSubsidy = (1 + generateMTRandom(seed, 599999)) * COIN;
        } else if(nHeight <= 300000) {
                nSubsidy = (1 + generateMTRandom(seed, 349999)) * COIN;
        } else if(nHeight <= 350000) {
                nSubsidy = (1 + generateMTRandom(seed, 174999)) * COIN;
        } else if(nHeight <= 375000) {
                nSubsidy = (1 + generateMTRandom(seed, 99999)) * COIN;
        } else if(nHeight <= 384400) {
                nSubsidy = (1 + generateMTRandom(seed, 49999)) * COIN;
        }


Cheers

Graham
2128  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: July 20, 2014, 02:28:02 AM
anyway, i'm assuming abe is creating an html file somewhere, and i need to get Apache2 to point to it by default.

No, Abe generates the html on the fly, the htdocs directory holds common styling and graphics.

You'll probably find it easier to uncomment the section in the config file:

Code:
# Specify port and/or host to serve HTTP instead of FastCGI:
#port 2750
#host localhost

and make sure it works in vanilla mode first before settling down to enjoy the delights of FCGI param config.

Cheers

Graham
2129  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: July 18, 2014, 05:51:07 PM
Ok Thanks,

I'm now at the point where it's trying to import the chain module:

someone has graciously pointed me to an x13 hash module ... I ran the setup.py file, and it installed the python packages.

I still need the x13 hash .py and .pyc files to copy to ABE's \Chain\ directory.

1. General advice: you do not want to copy .pyc or .pyo files, they are machine-specific (byte-)compiled code, Python's equivalent of C's .o files. Your machine will generate its own from the Python source.

2. Save the code below as Abe/Chain/X13Chain.py

Code:
 Copyright(C) 2014 by Abe developers.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License along with this program.  If not, see
# <http://www.gnu.org/licenses/agpl.html>.

from . import BaseChain

class X13Chain(BaseChain):
    """
    A blockchain that hashes block headers using the X13 algorithm.
    The current implementation requires the x13_hash module:
    https://github.com/mindfox/x13-hash
    """

    def block_header_hash(chain, header):
        import x13_hash
        return x13_hash.getPoWHash(header)

A quick comparison of the above code with the existing X11Chain.py code will be repaid by a better understanding of the programming skills used here  Wink

Quote
Code:
ImportError: No module named myX13coin
Given the above, you can now move to importing X13Chain instead of myx13chain.

If your coin has PoS, you'll probably need to import and inherit from PpcPosChain. If so, save this code as Abe/Chain/X13PosChain.py and use “X13PosChain” as the policy.

Code:
# Copyright(C) 2014 by Abe developers.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public
# License along with this program.  If not, see
# <http://www.gnu.org/licenses/agpl.html>.

from .X13Chain import X13Chain
from .PpcPosChain import PpcPosChain

class X13PosChain(X13Chain, PpcPosChain):
    pass

HTH

Cheers

Graham
2130  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: July 18, 2014, 02:06:09 PM
Comment out the entire check, as below.

Code:
     
        # Get a new block ID.
        block_id = int(store.new_id("block"))
        b['block_id'] = block_id

        # if chain is not None:
        #    # Verify Merkle root.
        #    if b['hashMerkleRoot'] != chain.merkle_root(tx_hash_array):
        #        raise MerkleRootMismatch(b['hash'], tx_hash_array)

        # Look for the parent block.
        hashPrev = b['hashPrev']
        if chain is None:
            # XXX No longer used.
            is_genesis = hashPrev == util.GENESIS_HASH_PREV
        else:
            is_genesis = hashPrev == chain.genesis_hash_prev

2131  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] Potential Markets de-listed from Bittrex on Friday, July 18th on: July 18, 2014, 09:09:55 AM
... we don't take it personally.  

Thanks for being sufficiently vacuous to highlight Bittrex' apparent complete capitulation to the PnD goldrush. The Bittrex beauty contest algorithm is insensitive to temporally-related features of the domain and the “short-termism” generated by this lacuna will inevitably be reflected in the exchange's range and I echo the earlier poster's concern about bad coins driving out good.

No, it's not personal; it's marketing --- and I recommend you reassess whether this exercise is properly communicating Bittrex' core brand values (although, going by the responses, I suspect it may well be performing exactly as intended).

Cheers

Graham
2132  Bitcoin / Project Development / Re: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: July 18, 2014, 01:05:31 AM
... edited the Datastore.py

Code:
IndentationError: expected an indented block

I'll hazard a guess that it's a whitespace issue, mixed spaces and tabs or 8-space tabs, or something.

Cheers,

Graham

2133  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN]Cassubian Detk (CDT) QUBIT PoW - first coin with market intervention on: July 17, 2014, 11:45:20 PM
Hi Alice,

On the main page there should be the list all existing qubit algo coins ... with their current diff.

Are you quite certain about that (highlighted) requirement? I can't see how it can sensibly be achieved - am I missing something?


Cheers

Graham
2134  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DCN] Deepcoin secure hashing (CPU/GPU) 100% PoW on: July 17, 2014, 02:28:51 PM
start bounty for block explorer and I will donate 25k deepcoin

I'm confident I can provide a block explorer but how do we stand for hosting it?


Cheers,

Graham

2135  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] <TGC> Third Generation Coin & Proof of Burn & Dcrypt Algo on: July 17, 2014, 02:24:42 PM


Write louder! We can't hear you.

Are you still in contact with liyang19901122? Basically, I'm asking if you have any details of how you're going to bring TGC up to Slimcoin's current status?

The github commit records show that you created the a/c, liyang19901122 forked slimcoin at commit a8be716fa426d7c021bca932ea3dd6ca103c481e, rebranded it and dropped it into the repos for you to pick up the ball and run from there.

Unfortunately, you were a bit early with the fork and now TGC is missing the subsequent changes to slimcoin that enable it to work as designed.

Are you intending to bring the TGC code up to date or simply abandon it? If the former, do you have the requisite technical support?

Or are we all done here? I wouldn't blame you if we are, slimcoin has been presenting the dev with a significant technical challenge and BitCoin 0.7.3 is an odd choice of foundation for a 2014 altcoin.


Cheers

Graham
2136  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Suggestion: a sticky of dead coins? on: July 17, 2014, 10:33:47 AM
Like I said I can maintain a fairly good list if need be.

We can see your “fairly good” and raise you a “comprehensive”:

* Listed by name: http://minkiz.co/coin/name/
* Listed by symbol http://minkiz.co/coin/symbol/
* Listed with mugshot http://minkiz.co/coin/

We're striving to publish the list as Linked Open Data - there's a LOD browser (http://minkiz.co/lod), a SPARQL endpoint (http://minkiz.co/sparql)
and an associated OWL ontology specialised to cryptocurrency: DOACC, a Description of a CryptoCurrency, browsable on http://minkiz.co/ontology/doacc.

It's all published as Open Source ofc (both abox and tbox): http://github.com/DOACC

Quote
It will be all relative determination . At least and update on each coin that is close to death can take place in the updated thread.

The absence of a complete list may have caused you to underestimate the magnitude of the task.

Cryddit maintains the Necronomicon (https://bitcointalk.org/index.php?topic=588413.0), a list of dead coins, published as an updated thread. Nice effort, shame about the publishing engine, we thought - hence our taking the Linked Open Data route.

I strongly urge you to heed the caveat about the difficulty of working without an operational definition of your primary discriminator. And at best, it can only be an ostensive definition (http://en.wikipedia.org/wiki/Ostensive_definition) with all the contention and controversy that implies.

Cheers,

Graham

Edited format
2137  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][Q2C] QubitCoin new secure hashing (CPU/GPU) (NEW) Update 0.8.4.1 on: July 17, 2014, 03:52:04 AM
Announcing a modest technical program for QubitCoin

Acting as self-appointed technical lead, I created the qubitcoin-project organisation (https://github.com/qubitcoin-project) on github. Unlike an individual developer's account, an organisation account provides basic membership functions plus some support for team working. It is a practical means of effecting collective ownership and control of the coin's key resources. Feel free to PM me with your github a/c name or send me email at gjh@bel-epa.com.

As a first step to stability, I collected up all the QubitCoin code resources and committed them to the org's repository. This includes the original wallet code, the cpu miner and the p2pool code (which we should think about possibly running ourselves as a means of generating some operating/promotional budget.)

I also added the work I've been doing in parallel - reworking the graphics and upgrading the code to Bitcoin 0.8.6.

And so to the details of the announcement.

A modest technical program

I've been looking into ways of developing the coin technically without changing the economic parameters.  I've been making a few posts on Mooncoin in response to Moonies' suggestions of a change of pow algo and in the course of doing the background reading for the response, I found an interesting set of results from 2009 Classification of the SHA-3 candidates, including reported performance statistics in cpb (cycles per message block) for 256 and 512 output lengths (sometimes labelled "-32" or "-64") on 32 & 64-bit host architectures. I include it here because it's exemplary and I also need to reference the detail ....

Name_of_hash_function32-bit_archClass'n64-bit_archClass'n
ARIRANG-25620A55.3E
ARIRANG-51214.9AA11.2B
AURORA-25624.3B15.4B
AURORA-51246.9B27.4E
BLAKE-3228.3B16.7B
BLAKE-6461.7C12.3B
Blender-32105.8E105.8E
Blender-64122.4E164.2E
BMW-2568.6AA7.85AA
BMW-51213.37AA4.06AA
Cheetah-25615.3A10.5A
Cheetah-51283.8D15.6C
Chi-25649C26D
Chi-51278D16C
CRUNCH-25629.9C16.9B
CRUNCH-51286.4D46.9E
CubeHash8/1-25614A11A
CubeHash16/1-51214A11A
DynamicSHA-25627.9B27.9D
DynamicSHA-51247.2B47.2E
DynamicSHA2-25621.9B21.9C
DynamicSHA2-51267.3C67.1E
ECHO-25638D32D
ECHO-25683D66E
Edon-R-2569.1AA5.9AA
Edon-R-51213.7AA2.9AA
EnRUPT-2568.3AA8.3A
EnRUPT-5125.1AA5.1AA
Essence-256149.8E19.5B
Essence-512176.5E23.5D
Fugue-25636.2C61E
Fugue-51274.6D132.7E
Grøstl-25622.9B22.4D
Grøstl-51237.5A30.1E
Hamsi-25622B25D
JH-25621.3B16.8B
JH-51221.3AA16.8D
Keccak-25635.4C10.1A
Keccak-51268.9C20.3D
LANE-25640.4D25.6D
LANE-512152.2E145.3E
Lesamnta-25659.2E52.7E
Lesamnta-51254.5B51.2E
Luffa-25613.9AA13.4A
Luffa-51225.5AA23.2D
Lux-25616.7A28.2D
Lux-51214.9AA12.5B
MD6-25668E28D
MD6-512106D44E
NaSHA-25639D28.4D
NaSHA-51238.9A29.3E
SANDstorm-25662.5E36.5D
SANDstorm-512296.8E95.3E
Sarmal-25619.2A10A
Sarmal-51223.3AA12.6B
SHA-25629.3C20.1C
SHA-51255.2C13.1C
Shabal-25618.4A13.5A
Shabal-51218.4AA13.5C
SHAvite-3-25635.3C26.7C
SHAvite-3-51255B38.2E
SIMD-25612AA11A
SIMD-512118E85E
Skein-25621.6A7.6AA
Skein-51220.1AA6.1AA
TIB3-25612.9AA7.6A
TIB3-51217.5AA6.3AA
Twister-25635.8C15.8B
Twister-51239.6A17.5D
Vortex-25646.2D69.4E
Vortex-51256C90E

I checked the qubit algos against the results and there seems some technical (and promotional) advantage to be gained by revising the qubit algo. Revisions are unexceptional in cryptography, pragmatism rules; the result matrix seems to suggest that two of the slower algos could be simply replaced by two faster ones. I've pulled the qubit-algo results out of the big table, so I can illustrate what and how much.

Code:
/*
             512  |  256
            32 64 | 32 64
luffa       AA D  | AA A
cubehash     A A  |  A A
shavite      B E  |  C C < bmw   AA AA | AA AA
simd         E E  | AA A
echo         D E  |  D D < skein  A AA | AA AA

*/

I will have to dig deep into the crypto benchmarks (http://bench.cr.yp.to/results-sha3.html) for contemporary figures but it looks like a starting point

Why leave SIMD unchanged despite its E-grade performance in 512bits? Because it's irrelevant. In the candidate submission packs, each algo's performance is described and for nearly all the NIST candidates, the 256-bit length implementation is faster than the 512-bit. Bitcoin itself (our code heritage) uses 256-bit hashes throughout. The choice of a 512-bit format can be traced back to SiFcoin, the first chained-algo altcoin and QubitCoin's direct ancestor. The rationale for the decision is google-translated here:
Quote
Topic: Sifcoin (inflationary fork). Start 23/06/2013
hesh function for the signature block header changed from sha-256 (sha-256 ()), on the daisy chain of the candidates / finalists and winner sha-3. Blake, BMW, Groestl, JH, Keccak, Skein. All functions of the 512-bit, but the end result is truncated to 256 bits. [...] Complication chain to a length of 6 different hash functions and increased bit depth to intermediate 512 - an attempt to protect from further development of highly efficient Mh / s gpu-algorithms and theory, "simple" Gh / s devices)
If that strategy ever afforded any protection it has now long since expired and the declared “rationale” has since mutated into a rich tradition of security theatre and superstition that's well on its way to becoming out-and-out pantomime.

The performance of NIST candidates on ASIC and FPGA implementations is what they were judged on. In Nov 2011 NIST were giving away all-in-one ASIC chips that carried implementations of all of the finalists plus a reference implementation of SHA2. The literature is very specific, the SHA3 session of 2010 CHES Workshop has some very good papers, e.g. “Fair and Comprehensive Methodology for Comparing Hardware Performance of Fourteen Round Two SHA-3 Candidates using FPGAs”.

I've been gaining invaluable insights by working through post-NIST review papers such as AlAhmad  and Alshaikhli’s “Broad View of Cryptographic Hash Functions” (IJCSI International Journal of Computer Science Issues, Vol. 10, Issue 4, No 1, July 2013).

Quote
We also evaluated the impact of technology scaling on FPGA and ASIC, i.e. we estimated the impact of more advanced technology nodes on our results. For FPGAs, the scaling factors are generally hard to quantify because different FPGA families may have drastically different architectures. In [3], researchers have already demonstrated the influence of different technology nodes on the FPGA results for SHA-3 Round 2 candidates. For example, when moving from a 90nm Xilinx Spartan3E to a 65nm Xilinx Virtex-5, the basic logic element changes from 4-LUT to 6-LUT. In addition, the presence of hardened IP blocks, such as embedded memory (Block RAM), clocking management blocks and DSP functions, can lead to differences between two FPGAs within even the same technology node. Therefore, our comparisons of the 14 SHA3 designs in FPGA are specifically made for a Xilinx 65nm Virtex-5 FPGA. For other FPGA technologies, we recommend the use of an automated framework such as ATHENA [3].

As they say, “the devil is in the detail”. Following up the ATHENA reference, I found results for both FPGA and ASIC benchmarks for the SHA3 2nd- and 3rd-round candidates. They have rather a fine selection of options of ASIC benchmark:


Algorithm Group:
    o Round 3 SHA-3 Candidates & SHA-2
    o Round 2 SHA-3 Candidates & SHA-2
Implementation Type:
    o 130nm Process, Virginia Tech, Optimization for Throughput/Area
    o 65nm Process, ETH Zurich and GMU, Optimization for Throughput/Area
    o 65nm Process, ETH Zurich, Optimization for Minimum Area at Throughput = 2.488 Gbit/s
Ranking:
    o Throughput/Area
    o Throughput
    o Area
    o Power
    o Energy/Bit

All this was in full flood well before SiFcoin was launched in mid-2013; there was no justification for hand-wavy references to theoretical ASIC solutions.

Angles of approach

We can see an opportunity for couple of possibly useful speedups that might act to reduce the differential between CPU and GPU:

i) we might gain a speed-up by switching to a couple of allegedly-faster algos and
ii) we might be able to gain some performance improvement by abandoning the ineffective, unnecessarily burdensome 512-bit format and returning to 256-bit hashing.

If there is a performance penalty for using 512-bit hash lengths, then it's quite a high price to pay for unnecessary extra security - ECRYPT II's 2012 annual review of key lengths maintains that 256 bits will provide protection from 2014 to 2040 and the NSA Suite B recommends 256 bits for SECRET, reserving a whopping 384 bits for TOP SECRET.

However, it's not obvious that either course will be successful, contemporary hardware is considerably more sophisticated and performance varies by algo and architecture. There are extensive graphs of performance at bench.cr.yp.to, in cycles per byte of message block, here's a scaled-down screenshot



Clearly, there's only one sane option, try it and see.

1. Reducing hash length to 256-bits

Straightforward to do, everything's limited to a single file: hashblock.h

I'm using an i3 2367M (1.40GHz) with AVX.

I used QubitCoin version v0.8.3.15 for tests

mainNet 512bit -> 256bit
"hashespersec" : 33939,
"hashespersec" : 34336,
"hashespersec" : 35520,
"hashespersec" : 34927,
"hashespersec" : 35380,
"hashespersec" : 35380,
"hashespersec" : 35046,
"hashespersec" : 35155,
"hashespersec" : 35126,
"hashespersec" : 35019,
"hashespersec" : 32447,
"hashespersec" : 34966,
"hashespersec" : 34717,

After the change, running on testnet3

testNet 256bit -> 256bit
"hashespersec" : 40336,
"hashespersec" : 40458,
"hashespersec" : 39867,
"hashespersec" : 39558,
"hashespersec" : 40691,
"hashespersec" : 40526,
"hashespersec" : 40566,
"hashespersec" : 38682,
"hashespersec" : 40358,
"hashespersec" : 39698,
"hashespersec" : 40623,

Seems clear enough, a noticeable speed-up, about the magnitude one might expect

2. Swapping algos
Again, quite straightforward, just a couple of files affected:

After the algo swap, running on testnet3

revised qubit
testNet 256bit -> 256bit
"hashespersec" : 44704,
"hashespersec" : 44259,
"hashespersec" : 44392,
"hashespersec" : 44673,
"hashespersec" : 44580,
"hashespersec" : 44103,
"hashespersec" : 44552,
"hashespersec" : 44552,
"hashespersec" : 44113,
"hashespersec" : 44315,
"hashespersec" : 44660,

As above, apparently.

After migrating the code from its 0.8.3 branch to the 0.8.6 master, I was dismayed to see the hash rate drop to 20k. A brief investigation fingered the disabled KGW, so I swapped it out for the more favourably-viewed Digishield block retargeting - and the hash rate returned to its prior elevated level.

The next step is to invite people to make a direct comparison on their own machine: hashespersec for 0.8.3/4 client vs 0.8.6 client. The code is in the organisation's repository: https://github.com/qubitcoin-project/QubitCoinQ2C, I hope to be able to make an OS X binary available.

To enable a client for testnet, you either call it on the command line with a -testnet=1 argument or add testnet=1 to the config file. There's a temporary testNetDNSSeed hard-coded in, so the client should find the node straight away.

With respect to DNSseeds: as far as I can ascertain, DNSSeeds (as a source of node IPs) don't actually need to be an node running on a server of their own, they (or it) can be simply implemented via common-or-garden DNS resolution, resolving to the address of a known server hosting a full node. It's horribly centralized but that's the practical reality of hard-coding DNSSeeds into the source.

The upshot of this is ... to be independent of addnode lists, the source code needs to include the IP address of at least one known, hosted node assigned with the responsibility for broadcasting the peers. In QubitCoin, this function was originally combined with a mining pool (and perhaps even the block explorer) all running off the same IP address but, as we are discovering, this degree of centralisation can be problematic when the centre collapses.

We (Ngaio and I) run a server (for as long as we can afford to pay for it) and we could host it all, just as krecu did. But sustaining that demands fiat, not q2c (even if we had any) and we're unsure whether the community is strong enough to support stumping up real $$$.

From a pragmatic standpoint, for as long as we have the bitcointalk and reddit threads, DNSSeeds are mainly a technical nicety which we can't afford right now but can hope to have again soon.

Now that there's some genuine basis for viewing Qubitcoin as a “technical altcoin”, the next order of business will be to address the issue of setting up an organisational structure. Hopefully, I'll have a little less to say.

Cheers

Graham

2138  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][MOON] Mooncoin: You know where it's headed! KGW exploit FIXED 4/3/2014 on: July 15, 2014, 01:01:50 AM
I must be missing something ...



(Falcoin - https://bitcointalk.org/index.php?topic=684100.0)

How can Keccak in a NIST5 chain turn in a faster performance than when running alone?

Cryptological peer pressure?

Cheers

Graham
2139  Alternate cryptocurrencies / Announcements (Altcoins) / Re: CDT CREDIT on hold since 03/2014 Looking For DEV Team Members. on: July 14, 2014, 10:28:00 AM
CDT CREDIT on hold since 03/2014

If you wish to consult a list of trading symbols that have already been used, Minki keeps an up-to-date, alphabetically-ordered one:

http://minkiz.co/coin/symbol/


HTH


Graham
2140  Alternate cryptocurrencies / Altcoin Discussion / Re: A lot of believed to be dead coins are more then back to life it seems|my find on: July 12, 2014, 07:10:52 PM
If you think there may be some old favourites that have temporarily slipped your recall, you can refresh your memory at Minkiz “All da coinz”:

http://minkiz.co/coin/

(sssh, not quite ready to ANN yet)


Cheers,

Graham
Pages: « 1 ... 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 [107] 108 109 110 111 112 113 114 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!