Merged mining + timetravel fix @19200 - must upgrade

Post Reply
smoothie
Posts: 34
Joined: Sun Jul 10, 2011 4:45 am
os: linux

Re: Merged mining block number

Post by smoothie »

I did not change the "emergency broadcast" key, and only Gavin has the key. That was an oversight. I will change it for the next release.

I think most people would check the forums once they notice that mining has slowed down by a factor of 3. This is assuming 66% of mining power is on the new version. Maybe we could count the pool mining power that is represented on this thread and see what % it is?

I think we should aim to do the switch during a slow period, so that a 5x slowdown will be very obvious to the 1/3 that did not upgrade.

At this rate, block 19,500 seems feasible for the merged mining update to take place given how slow blocks are being mined. It may actually end up being October before we adjust the difficulty.

nodemaster
Posts: 172
Joined: Wed Jun 15, 2011 12:46 pm
os: linux

Re: Merged mining block number

Post by nodemaster »

To be honest I'm very interested in getting merged mining to work ASAP. But on the other hand I'm asking myself if there is anybody out there who has a working configuration which is testable with RC2. I'm anxious that we are committing ourself to a block number only to find out there are a lot of bugs. ATM my alpha pool is the only possibility (I know about) to publicly test a merged mining pool and this pool is down ATM because I'm unable to run RC2 as it's segfaulting as soon as I try to start it in testnet mode. Furthermore there seem to be an issue with RC2 not connecting to peers in non-testnet mode.

I'd really like to get this issues sorted out before we discuss about an earlier release. At the moment I'd like to stick for block 24k. If we get a working configuration and a reasonable amount of people who confirm a RC is working we can start earlier.
Access .bit domains with Firefox in 4 easy steps: https://masterpool.eu/proxy
MasterPool Namecoin Mining Pool

vinced
Posts: 63
Joined: Wed May 18, 2011 1:16 am

Re: Merged mining block number

Post by vinced »

nodemaster wrote:To be honest I'm very interested in getting merged mining to work ASAP. But on the other hand I'm asking myself if there is anybody out there who has a working configuration which is testable with RC2. I'm anxious that we are committing ourself to a block number only to find out there are a lot of bugs. ATM my alpha pool is the only possibility (I know about) to publicly test a merged mining pool and this pool is down ATM because I'm unable to run RC2 as it's segfaulting as soon as I try to start it in testnet mode. Furthermore there seem to be an issue with RC2 not connecting to peers in non-testnet mode.

I'd really like to get this issues sorted out before we discuss about an earlier release. At the moment I'd like to stick for block 24k. If we get a working configuration and a reasonable amount of people who confirm a RC is working we can start earlier.
I have RC3 up. It fixes the connectivity issue. That was caused by the API for GetDefaultPort() changing upstream without me noticing. This version also modifies the alert public key for future releases.

I couldn't find any segfault issues. You could try to run it under gdb and post a stack trace, and also clearing out the testnet directory.

Is anybody else experiencing the segfault?
!v | Namecoin founder | https://dot-bit.org/

nodemaster
Posts: 172
Joined: Wed Jun 15, 2011 12:46 pm
os: linux

Re: Merged mining block number

Post by nodemaster »

vinced wrote: I have RC3 up. It fixes the connectivity issue. That was caused by the API for GetDefaultPort() changing upstream without me noticing. This version also modifies the alert public key for future releases.
Yes thank you very much. https://alpha.masterpool.eu is now running RC3 in testnet mode. I'm testing with phoenix miner and cpuminer and had no problem so far.
vinced wrote: I couldn't find any segfault issues. You could try to run it under gdb and post a stack trace, and also clearing out the testnet directory.

Is anybody else experiencing the segfault?
Stupid me :oops: Didn't even think about cleaning the directory. I removed everything besides wallet.dat and everything was fine.
Access .bit domains with Firefox in 4 easy steps: https://masterpool.eu/proxy
MasterPool Namecoin Mining Pool

nodemaster
Posts: 172
Joined: Wed Jun 15, 2011 12:46 pm
os: linux

Re: Merged mining block number

Post by nodemaster »

Mhmmm, I don't rely on information about a block is solved from merged-mine-proxy, but how do I have to interpret this output?

Code: Select all

2011-07-31T12:55:42.362092,solve,0,0
Is this a solution, rejected by both blockchains?
Access .bit domains with Firefox in 4 easy steps: https://masterpool.eu/proxy
MasterPool Namecoin Mining Pool

nodemaster
Posts: 172
Joined: Wed Jun 15, 2011 12:46 pm
os: linux

Re: Merged mining block number

Post by nodemaster »

We solved four testnet BTC blocks on http://alpha.masterpool.eu. They are maturing but it looks quite good. All aux work is rejected:

Code: Select all

BitcoinMiner:
AUX proof-of-work found
     our hash: 475d2b123b999b2051e3586254bfd9bd4726fb64cf9794eb4087eb1f022c9e36
  parent hash: 0000000000d67b27c9d96ec3a75ec77c075ae6d01c293bad8be280f41679941a
       target: 00000003c3220000000000000000000000000000000000000000000000000000
CBlock(hash=475d2b123b999b2051e3, ver=65793, hashPrevBlock=00000000e25c4892c34c, hashMerkleRoot=7d09b33b8e, nTime=1312116003, nBits=1d03c322, nNonce=0, vtx=1)
  CTransaction(hash=7d09b33b8e, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, -1), coinbase 0422c3031d010152)
    CTxOut(nValue=50.00000000, scriptPubKey=0471ab6fa918e2420c7bb8d2d5d8b4)
  vMerkleTree: 7d09b33b8e
07/31/11 12:55 generated 50.00
keypool keep 26
ERROR: CheckProofOfWork() : AUX POW is not allowed at this block
ERROR: CheckBlock() : proof of work failed
InvalidChainFound: invalid block=475d2b123b999b2051e3  height=13194  work=7968550158478
InvalidChainFound:  current best=00000000e25c4892c34c  height=13193  work=7967408559300
ERROR: SetBestChain() : ConnectBlock failed
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
ERROR: BitcoinMiner : ProcessBlock, block not accepted
But as the error message states this is due to the block number: AUX POW is not allowed at this block
Access .bit domains with Firefox in 4 easy steps: https://masterpool.eu/proxy
MasterPool Namecoin Mining Pool

nodemaster
Posts: 172
Joined: Wed Jun 15, 2011 12:46 pm
os: linux

Re: Merged mining block number

Post by nodemaster »

Sorry for littering this thread, but there is a question that came to my mind. On Masterpool we are generating Testnet BTC fine. But Testnet NMC are rejected (I guess due to the fact that block 24k is hardcoded) Do we have a possibility to test if the namecoind if working properly above block 24k?

The only solution I can think of is to patch the source to a reasonable low block value, disable IRC in bitcoind.conf and team up with another person who has this version running and letting namecoind connect to only this namecoind. Right? Or are there much simpler alternatives?
Access .bit domains with Firefox in 4 easy steps: https://masterpool.eu/proxy
MasterPool Namecoin Mining Pool

zamgo
Posts: 32
Joined: Tue Jul 19, 2011 9:09 am

Re: Merged mining block number

Post by zamgo »

nodemaster wrote:Sorry for littering this thread, but there is a question that came to my mind. On Masterpool we are generating Testnet BTC fine. But Testnet NMC are rejected (I guess due to the fact that block 24k is hardcoded) Do we have a possibility to test if the namecoind if working properly above block 24k?
Time to upgrade testnet! We should be able to get most testnet'ers to agree to a switchover testnet-blocknumber and client upgrade. See post

sacarlson
Posts: 4
Joined: Mon Jul 25, 2011 4:44 am
os: linux

Re: Merged mining block number

Post by sacarlson »

If you want to do some testing of merge mining I have setup 2 new chains to play with using MultiCoin-exp I have a low power chain with difficulty of .05 bitcoin.conf.mergmineTEST and the new high difficulty of 23509.0 with bitcoin.conf.beerA . For more details see bellow.

We now are at preliminary review of the new BeerTokens crypto currency spec that uses MultiCoin-exp as the client. The multicoin-exp config spec is presently published and will be updated from this site: http://exchange.beertokens.info/docs/mu ... conf.beerA . It is set to start at "difficulty" : 23509.0 , That is designed to be merge mined by other namecoin miners and or bitcoin miners. It is designed to pay .0001 BEER for each mined block up to block number 50,000 where it will pay .001 BEER. This is all we could possibly afford to pay for mining at the start. If we find we can't get miners to this payoff we might have to wait for licensed mining. For some details on how to setup MultiCoin-exp for merge mining of BeerTokens see https://bitcointalk.org/index.php?topic ... #msg394289 . If you have any problems setting it up please ask us direct at freenode chat #multicoin so that we know what we need to add to the documentation to make it work for more people. Note the spec is not finalized yet and it will be evolving over the next few days or weeks.

doublec
Posts: 149
Joined: Mon May 23, 2011 12:47 am
os: linux
Location: Auckland, New Zealand
Contact:

Re: Merged mining block number

Post by doublec »

So luke-jr who runs the Eligius bitcoin pool claims that there is a security exploit in the merged mining code:
17:02 < luke-jr> bliket_: will you still like me if I exploit the security hole in merged mining? <.<
...
17:06 < doublec> luke-jr: have you notified vinced of what you think the security issue is?
17:07 < luke-jr> doublec: no, I prefer to exploit it
He's also mentioned it on IRC in the past. Vince, has he got in touch with you about this or is he trolling?

Post Reply