481
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Fast Blake-256 Cryptographic Coin for CPU/GPU/FPGA
|
on: April 05, 2014, 11:44:28 AM
|
I'd be willing to help with this as ive always been interested in getting it working. a good idea if you are good with sql is to work out the sql structure (and the configs in use) here: http://github.com/60E/php-mpos About the worker auth, i have a module in my repo which will get eloipool to use the database to authorise users. Eloipool will also likely need the db query modified to work efficiently with MPOS or you will run into a lot of cron errors (i ran eloipool before i began work on stratum) Awesome this might help thanks any other help, tips, tricks most welcome will add that auth module to eloipool no problemo im in #cryptopools on freenode irc if u need any help fast (theres a few other pool ops in there too).
|
|
|
483
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][BLC] Blakecoin Fast Blake-256 Cryptographic Coin for CPU/GPU/FPGA
|
on: April 05, 2014, 10:39:11 AM
|
BlueDragon747, thanks for the status update, its reassuring to hear progress is being made behind the scenes. Nice trick there squeezing more megahashes out of the fpgas. I was curious how you are implementing multiple coins in MPOS. Will it be a plugin system so pool operators can choose which blockchains to mine, and can miners choose which they participate in? I would imagine there might be a limit to how many blockchains can be concurrently merge mined, either from a limitation of MPOS, eliopool, or some technical parameter. If each aux chain has to insert a code into the Blakecoin blockchain, how many would it take to exceed the max file size of a block? Not sure if im asking the right questions but u get the idea no other pool operators have offered to help with this so its up to me atm I think a plugin system is off due to time constraints and some of the merge is hard coded as it is for most merge mine pools, its still going to be tricky for other pool operators to setup, this I am quite sure as it has been that way for me so far no issues with max size of block but there is a limit to the size of the work header with this method of merging I would guess it might have issues >6 Aux coins without changing some stuff in miner/eloipool, there is another way to merge mine by just using the nonce and submitting it to the wallet to solve this is far more flexible for large merge but slightly more random/out of order finds and is a little more difficult to work out shares and payouts it is also heavy load for the wallets, atm the issue is mostly with the front end of the pool so not going to play with this until its needed e.g 6+ aux coins merged, MPOS is a PITA to mod and I may look into doing something more basic if I keep getting issues (which I do even on normal BLC pools) Edit Note: eloipool handles: blockchains(with MMP), worker shares, current/new work, blocks, difficulty, submissions etc. to the miner/wallet and then it saves the worker shares in the DB, most of this is set in the config or hard coded in MMP and will work regardless of MPOS.
MPOS does the rest of what you see calculates all stats, payouts for shares, all the user stuff and it detects if eloipool found a block but it has very few direct interaction with the actual pool software(eloipool) most of the time it is working directly with the wallet (multisend and other api calls) or uses the DB and reads the shares table that eloipool is saving too
the current pool configuration is like a layered system with MPOS working on top of the service eloipool provides hence why you can use any worker name for cgminer and it will accept them as eloipool does not check the worker exists in DB it only uses the shares table so you will only get credited for shares if you first set the worker up within MPOS
for chain swapping you would run some sort of custom cronjob its not something you would do in MPOS and the Aux chains are set in MMP and hard coded so could only really change the main chain by stopping and starting another eloipool with a different config/chain, not very useful atm only useful if you wanted to do multipool + merge mining
I have not finished the merge mining yet and still quite a few bugs to solve, I am testing some new code this weekend hope it works ok Effect of the Real World: My time is split between working on any contract work (IT Consulting/Management) and the projects I am working on BLC/Games etc. the rest of the time is just spent eating, sleeping and other every day stuff, I don't have any big investors helping with any costs so all my projects are self funded atm I'd be willing to help with this as ive always been interested in getting it working. a good idea if you are good with sql is to work out the sql structure (and the configs in use) here: http://github.com/60E/php-mpos About the worker auth, i have a module in my repo which will get eloipool to use the database to authorise users. Eloipool will also likely need the db query modified to work efficiently with MPOS or you will run into a lot of cron errors (i ran eloipool before i began work on stratum)
|
|
|
486
|
Alternate cryptocurrencies / Pools (Altcoins) / Re: [ANN][Profit-switching scrypt+ASIC Pool] multipool.us
|
on: April 04, 2014, 01:35:00 PM
|
I know, at least at one time, multipool used a copy of stratum mining as created by Marek Palatinus. Also, your stratum server for freicoin was, at least at one time, run on a version of stratum mining for freicoin that used an AGPL (v3) license. (Here's where we briefly discussed setting up a stratum server for freicoin. http://freicoin.freeforums.org/stratum-mining-frc-fork-t346-20.html#p5762).eSeeing as the AGPLv3 license requires you to give the public a copy of your code, I am hereby requesting a copy of any code (and changes) to be publicly released and (if you do not mind) linked on your page. I have not been able to find the links on your page and, in the past, you have not given me a copy of the source as requested. I understand your hesitance in publicising the code. However, I think it would be beneficial to all if you are able to give out a copy. This would allow newer users to understand the inner-workings of some of the alt-coins you support. If this copy of your pool code is no longer used, I am still requesting a copy as I was unable to find (even in archived copies of your page) a link to the code as required by AGPLv3. Thank you. AGPL license text can be found here: http://www.gnu.org/licenses/agpl-3.0.htmlA quote of the section I am referring to: Quote 13. Remote Network Interaction; Use with the GNU General Public License. Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License. you can email it to ahmed_bodi@msn.com
|
|
|
488
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] [MYR] Myriad - Multi Algo - SHA or Scrypt or Qubit or Skein or Groestl
|
on: April 03, 2014, 09:13:24 PM
|
It also isn't clear to me how a node calculates the best chain. If it is cumulative difficulty, without any normalisation, then what is to stop someone reversing a sequence of low difficulty blocks (e.g. Scrypt or Qubit ones, currently) by means of a single high difficulty block (SHA256D, currently)?
The SHA difficulty is independent from the other algos, so a high difficulty SHA block will not overwrite a low difficulty Scrypt block for example. Just in the last hour or so I've seen a chain of five non-SHA256D blocks (112715-112719) erased by a single SHA256D block (112715): [code edited out]How should this happen if they are truly independent? anyone want to give this a technical explanation.. maybe a simple explanation too Dev is only one that can atm This is general block reorg (also known as a chain of orphans) it happens with a block time of 30 seconds. hell even with the 10 min block time of bitcoin it happens. In myriadcoin every algo has equal standing as each has an equal score. You can see in many POS/POW coins. POS orphans POW as POS has a higher score than its POW counterpart. Ahmed exactly! the coin is broken because a single SHA block can force a reorganization and orphan many blocks from other algos. This allows for easy double spending with minimal hashrate. Just mine SHA from the last SHA block ignoring blocks from other algos. When you mine your new SHA block, all the others will be orphaned. If there are enough to confirm a transaction (which is very likely), you can double spend. But it can be fixed using normalization. Scrypt is about 1024 times SHA. You'd have to calculate the relative weight for other algos. dev: you can contact me if you need help fixing this, I have experience with alt PoWs - I'm the developer of Riecoin (new primes PoW - currently cpu only) Someone mentioned a bounty for a technical study on 51% attacks. Is that real? where can I learn about this bounty? what do you need exactly? Besides fixing this "high diff algo reorganization attack", I have some ideas for preventing 51% attacks on a coin like this. regards, gatra Thanks for your offer. PM sent. There is a 15,500 MYR bounty for analysis. I can also put up another 15K MYR for your assistance. an idea to prevent panic: there's an easy workaround (until a new client is released): when waiting for confirmations, wait for X blocks with SHA (the one with highest difficulty by far) instead of just waiting for X blocks. So if you currently wait for 6 blocks, wait instead for 30 blocks and you should be safe ( 6 blocks * 5 algos = 30 blocks ). This would give you the same expected security in average. 1 thing is confusing me though. how can a person ignore blocks? ur forgetting that theres over 30 TH on the myriad network. it would take some real sha256 power to do any kind of attacks even on the sha algorithm
|
|
|
489
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] [MYR] Myriad - Multi Algo - SHA or Scrypt or Qubit or Skein or Groestl
|
on: April 03, 2014, 04:03:35 PM
|
It also isn't clear to me how a node calculates the best chain. If it is cumulative difficulty, without any normalisation, then what is to stop someone reversing a sequence of low difficulty blocks (e.g. Scrypt or Qubit ones, currently) by means of a single high difficulty block (SHA256D, currently)?
The SHA difficulty is independent from the other algos, so a high difficulty SHA block will not overwrite a low difficulty Scrypt block for example. Just in the last hour or so I've seen a chain of five non-SHA256D blocks (112715-112719) erased by a single SHA256D block (112715): SetBestChain: new best=ba0b9ccc3e83c08b0de4142245e606eca3951302a9a9a78c5f7019234b365222 height=112713 pow_algo=2 log2_work=65.474041 tx=330385 date=2014-04-03 12:31:53 progress=0.999997 SetBestChain: new best=617f423cd8c90ccbdbde160de509a0b0268f0c17dbaf57ed449a039f52d5dd7c height=112714 pow_algo=3 log2_work=65.474042 tx=330394 date=2014-04-03 12:32:14 progress=0.999993 SetBestChain: new best=6d96a7a4a3ffc0d9ebed505d5fbd9c0673cac1fb038ac2c3e5804bcb5f293c62 height=112715 pow_algo=1 log2_work=65.474042 tx=330395 date=2014-04-03 12:32:48 progress=0.999995 SetBestChain: new best=ebbb1b24cbb4567bb37bf133c0361a2ebf8f0e45c4a55318edb829f488b3c23b height=112716 pow_algo=2 log2_work=65.474042 tx=330396 date=2014-04-03 12:33:18 progress=0.999999 SetBestChain: new best=0788ff62e6b0778dc101e5908607bb220bc3d9f0e1cca8fad0dce2781d8e2a43 height=112717 pow_algo=3 log2_work=65.474042 tx=330397 date=2014-04-03 12:33:23 progress=0.999997 SetBestChain: new best=e263272617f9f0eeba2d57cda5c1747535432c5929744be1bbb30f0cd4464e84 height=112718 pow_algo=2 log2_work=65.474042 tx=330398 date=2014-04-03 12:33:39 progress=0.999998 SetBestChain: new best=71822da2194d901d2df14ca9686d4b70a9cb278976f0a9ee2d0809fcf9758943 height=112719 pow_algo=2 log2_work=65.474042 tx=330399 date=2014-04-03 12:33:54 progress=0.999999 SetBestChain: new best=00000000000001da15b00bfbe1a0a5e309a1ab30feb18229a82a4451e4dc0fb8 height=112715 pow_algo=0 log2_work=65.474165 tx=330395 date=2014-04-03 12:33:02 progress=0.999987 SetBestChain: new best=7ac3dd626976acb299c05a56f0605336a6488a5ef59db342ad36c501e33163f4 height=112716 pow_algo=2 log2_work=65.474165 tx=330401 date=2014-04-03 12:34:12 progress=0.999998 SetBestChain: new best=116bcc515a9055f8491889db4ff154811536a7bbe227e153ee490c106d5de2da height=112717 pow_algo=1 log2_work=65.474165 tx=330404 date=2014-04-03 12:34:21 progress=0.999998 SetBestChain: new best=00000000000006427de1c271a517c8fa6aad9fd71b88202188273d8b0114825f height=112718 pow_algo=0 log2_work=65.474285 tx=330405 date=2014-04-03 12:34:16 progress=0.999995 SetBestChain: new best=b447160fbd0a6a78352a529661477b38627c5322d5f84416b9fbbb70f9525d7d height=112719 pow_algo=1 log2_work=65.474285 tx=330406 date=2014-04-03 12:34:43 progress=0.999997 SetBestChain: new best=0000000000000932e208c27af7eca23e65bb2a5686cb282eb11cc3b8cff7c6d3 height=112720 pow_algo=0 log2_work=65.474399 tx=330407 date=2014-04-03 12:34:56 progress=0.999998 SetBestChain: new best=feeca208a769da31451fd51f324dc80e2dfb2dfacdb3234a4f2617fb5032bf12 height=112721 pow_algo=3 log2_work=65.4744 tx=330415 date=2014-04-03 12:35:04 progress=0.999999
How should this happen if they are truly independent? anyone want to give this a technical explanation.. maybe a simple explanation too Dev is only one that can atm This is general block reorg (also known as a chain of orphans) it happens with a block time of 30 seconds. hell even with the 10 min block time of bitcoin it happens. In myriadcoin every algo has equal standing as each has an equal score. You can see in many POS/POW coins. POS orphans POW as POS has a higher score than its POW counterpart. Ahmed
|
|
|
492
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] [MYR] Myriad - Multi Algo - SHA or Scrypt or Qubit or Skein or Groestl
|
on: April 03, 2014, 12:37:52 PM
|
Why do multiple algos make it more secure? Isn't it basically as secure as the weakest link, i.e. the algo with (relatively) least mining power?
since the algos are independent one algo compromised means only 20% of the blockchains is compromised. unlike chained algos like x11 where the algos are sequential and if one link is broken the chain is broken. myr ftw. With a single blockchain secured by five algos (with independent difficulties), what does it mean for "20% of the blockchains" to be compromised? Surely a blockchain is either compromised or it's not. Can you expand please? It's only a metaphorical picture. If a malicious attacker would gain leverage over 1 algo (20% of the blockchain) there are 4 other algos that will secure the blockchain, thus the blockchain will remain unaffected. We only use the percentages to give a better idea of what a 51% attack would look like to myr. There was a 51% accident on scrypt last week about the same time it happened on AUR. You know what happened ? Nothing. The pool with 51% of scrypt forked and that's about it, the blockchain had no reaction whatsover to the fork created and ignored it like business as usual. Like it was explained above 51% in one algo is only about 11% of the whole hash power. It's like cutting off a reptile's limb, the rest of the body remains unaffected and it will grow back the said limb imediately. Well, I still don't get your point, sorry. If a malicious attacker gains leverage over one algo, what is to stop him launching a double spending attack using that algo, and reversing several transactions from other algos (no matter how much mining power is put onto them)? Done correctly, a double spending attack could potentially net a malicious attacker substantial funds; more than legitimate mining at least. It also isn't clear to me how a node calculates the best chain. If it is cumulative difficulty, without any normalisation, then what is to stop someone reversing a sequence of low difficulty blocks (e.g. Scrypt or Qubit ones, currently) by means of a single high difficulty block (SHA256D, currently)? Perhaps these points are just me being dumb. The technical study on 51% attacks that you have put the bounty out for will be most welcome. In the meantime feel fee to point out my mistakes (in technical terms, without harming reptiles, plz). What you're missing in there is that the speed of the other algo's acts as a rate limiter as far as i know. as the retarget works to ensure there is an even distribution of 30 second blocks per algo.
|
|
|
|