doublec
Legendary
Offline
Activity: 1078
Merit: 1005
|
|
December 28, 2011, 11:03:24 PM |
|
Is the ChainID just sequential, so that we can just bump it to 0x0004, or is it bits indicating something or other?
It is a number, not a bitfield. Incrementing should be fine. See the information in the merged mining specification for details of how it is used: New implementers: please pick your chain_id so that not clashing with existing chains requires as small a value of merkle_size as possible, or use a better algorithm to calculate the slot id for your chain.
|
|
|
|
Unthinkingbit (OP)
|
|
December 28, 2011, 11:07:27 PM |
|
For testing, this describes the approach I used for creating test networks to try it out when doing the i0coin patch. If you don't already have it you should also include the time travel exploit fix. The latter is also a block forking change so you could activate it at the same block as the merge mining switch if needed. We have a time travel exploit fix, from: http://devtome.org/wiki/index.php?title=Devcoin#Difficulty"The time difference is determined by sorting the blocks by time stamp, then subtracting the time stamp of the sixth block from the bottom from the time stamp of the sixth block from the top. This is to prevent the time travel exploit." How soon do we want it to go into effect? block 25000 maybe? or even sooner?
I suggest block 25,500 about two weeks from now because it'll take time to test it following Doublec's merged mining test procedure. Also, we'll need time for everyone to update their devcoin copy and stuff happens.
|
|
|
|
cablepair
|
|
December 28, 2011, 11:14:19 PM |
|
Yes you are right as of right now just to test it out I used Devcoin as parent chain and namecoin as aux chain, I can tell you though based on my experiences with merged mining I am quite sure the patches are working based on the fact that I am not getting any errors merging the two in my poolserverJ setup...
When I get a little time later I will experiment with Bitcoin as the parent chain and devcoin and namecoin as aux chains and see what happens
doublec, do you have a particular namecoind that you recommend? I know I heard you say vinced before but vinced wont coinbase, not the vinced off github anyways. If you have a particular namecoind that will merge and coinbase please let me know thanks
|
|
|
|
doublec
Legendary
Offline
Activity: 1078
Merit: 1005
|
|
December 28, 2011, 11:43:19 PM |
|
Yes you are right as of right now just to test it out I used Devcoin as parent chain and namecoin as aux chain, I can tell you though based on my experiences with merged mining I am quite sure the patches are working based on the fact that I am not getting any errors merging the two in my poolserverJ setup...
When I get a little time later I will experiment with Bitcoin as the parent chain and devcoin and namecoin as aux chains and see what happens
doublec, do you have a particular namecoind that you recommend? I know I heard you say vinced before but vinced wont coinbase, not the vinced off github anyways. If you have a particular namecoind that will merge and coinbase please let me know thanks
Bitcoin as the parent with devcoin as an aux chain will need the block value changed in GetAuxPowStartBlock. You can make it INT_MAX for testing purposes which will allow merge mining. You should do that on a closed network only otherwise the blocks will be orphaned. For namecoin I use the current master branch. You are correct that it doesn't support coinbasing, no version of namecoin supports that - except for custom builds that I'm not aware of being publicly available. Why do you need coinbase?
|
|
|
|
cablepair
|
|
December 29, 2011, 12:24:27 AM |
|
Actually ArtForz works with coinbasing so far... [01:21:20.063] New Block detected [35357] from source: DaemonSource[bitcoind-mm].namecoin - 0 lagging sources. [01:21:20.064] New Block detected [23533] from source: DaemonSource[bitcoind-mm].devcoin - 0 lagging sources. [01:21:20.067] New Block detected [159607] from source: DaemonSource[bitcoind-mm].bitcoin - 0 lagging sources. [01:21:20.067] Restoring workmap from file: /home/tom/poolserverj/tmp/workmap-8999.bin [01:21:20.158] Work fetcher thread waiting for WorkMaker to signal ready. [01:21:20.158] WorkMaker ready, launching work fetcher thread. [01:21:20.159] PoolServerJ is open for business
If I can actually mine blocks that remains to be seen, but this is progress
|
|
|
|
cablepair
|
|
December 29, 2011, 12:54:42 AM |
|
ive got a pool up right now, BTC as Parent with Devcoin and Namecoin as Aux chains its working well with no errors and im mining on it as we speak
|
|
|
|
cablepair
|
|
December 29, 2011, 01:12:52 AM |
|
will I not be able to mine any devcoin blocks merged until we hit block 25000?
because its mining right along with no errors but no devcoin blocks are being solved, and I have about 1500 mhash pointed at the merged mining pool with BTC as Parent, DVC, NMC as AUX
|
|
|
|
markm
Legendary
Offline
Activity: 2968
Merit: 1102
|
|
December 29, 2011, 03:17:19 AM |
|
will I not be able to mine any devcoin blocks merged until we hit block 25000?
because its mining right along with no errors but no devcoin blocks are being solved, and I have about 1500 mhash pointed at the merged mining pool with BTC as Parent, DVC, NMC as AUX
Right now that magic number is set to 45000, the nubmer that was used for Ixcoin's merged mining inauguration presumably. I will change it to 25500 in accordance with Unthinkingbit's judgement-call, and make a devcoind-mm.tgz source bundle to put on SourceForge for those who download from there. I think I will also apply the patches to GRouPcoind and set its magic block number closer to the present day so we can start testing it there too. Afterall its original purpuse was as a testbed for DeVCoin. Britcoin, Canadian Digital Notes, bitNicKeLs etc are of course also now clamouring for the patch so they can do clean new restarts of their chains instead of (well, actually as well as) moving their accounting over to the Open Transactions server. -MarkM-
|
|
|
|
cablepair
|
|
December 29, 2011, 03:24:55 AM |
|
groovy brother so all I need to do is upgrade the pools devcoin daemon to this new one and and then at block 25500 merged mining blocks will start happening? My pool is all ready and working 100% with Bitcoin as the parent chain and namecoin and devcoin as aux chains, ive been mining on it all night with my 8 ghash with no problems and have actually solved a name coin block (damn I feel lucky) Unthinkingbit I dont know what proof you need from me but let me know so I can provide it - I could sure use that bounty right about now! on a side note if any of you brothers involved in this devcoin project would like a @devcoin.org email address just let me know and I will hand them out for free take care have a good night and ttyl!
|
|
|
|
doublec
Legendary
Offline
Activity: 1078
Merit: 1005
|
|
December 29, 2011, 04:58:56 AM |
|
so all I need to do is upgrade the pools devcoin daemon to this new one and and then at block 25500 merged mining blocks will start happening?
Before the switch on block you can merge mine with devcoin as the parent chain and namecoin and/or i0coin as the auxiliary chains. The devcoin blocks solved here are valid for all clients. After block 25,000 (or whatever the decided switch on is) you can merge mine with bitcoin as the parent and devcoin as an auxiliary. Clients need to upgrade to accept the blocks produced in this configuration.
|
|
|
|
doublec
Legendary
Offline
Activity: 1078
Merit: 1005
|
|
December 29, 2011, 05:27:28 AM |
|
I have set up a permanent devcoin node running on bitparking.com (206.71.179.116) on the default port.
|
|
|
|
markm
Legendary
Offline
Activity: 2968
Merit: 1102
|
|
December 29, 2011, 05:53:57 AM |
|
On further consultation with Unthinkingbit, we have decided to use block 25000 as the magic number for merged mining commencement. Our chain ID is 0x004. These changes have been pushed to https://github.com/knotwork/old-devcoind-MarkM-
|
|
|
|
kjlimo
Legendary
Offline
Activity: 2114
Merit: 1031
|
|
December 29, 2011, 06:08:54 AM |
|
So will pool.devcoin.org merge mine BTC/NMC/I0C/IXC/DVC? If so, I think that'll attract a lot of traffic for those interested in merged mining.
IXC should be ready to merge mine within the week.
Then hopefully, by the end of January, most pools can start merge mining all of these coins to help them all be safer with more hashing power.
|
|
|
|
markm
Legendary
Offline
Activity: 2968
Merit: 1102
|
|
December 29, 2011, 06:23:57 AM |
|
Hopefully we can continue to push the envelope to discover how many chains a pool can manage to merged-mine all at once.
Adding it to GRouPcoin will be easy, then Britcoin, Canadian Digital Notes, Martian Botcoin etc can follow...
-MarkM-
|
|
|
|
markm
Legendary
Offline
Activity: 2968
Merit: 1102
|
|
December 29, 2011, 07:38:40 AM |
|
The merged mining patches broke devcoin-qt, seems to be the "not thread-safe" problem again, as it segfaults and coredumps with this message: devcoin-qt: /usr/include/boost/interprocess/sync/posix/interprocess_recursive_mutex.hpp:49: boost::interprocess::interprocess_recursive_mutex::~interprocess_recursive_mutex(): Assertion `res == 0' failed. This is presumably without even trying to mine, as neither on the commandline nor in any config file did I tell it to mine. EDIT: I have put it on github at https://github.com/knotwork/old-devcoin-qt-MarkM-
|
|
|
|
doublec
Legendary
Offline
Activity: 1078
Merit: 1005
|
|
December 29, 2011, 07:56:08 AM |
|
So will pool.devcoin.org merge mine BTC/NMC/I0C/IXC/DVC? If so, I think that'll attract a lot of traffic for those interested in merged mining.
I'll probably add it to mmpool to see how it goes. That'll give it 30-40 Ghash/s.
|
|
|
|
Unthinkingbit (OP)
|
|
December 29, 2011, 08:06:18 AM |
|
The merged mining patches broke devcoin-qt, seems to be the "not thread-safe" problem again, as it segfaults and coredumps with this message:
devcoin-qt: /usr/include/boost/interprocess/sync/posix/interprocess_recursive_mutex.hpp:49: boost::interprocess::interprocess_recursive_mutex::~interprocess_recursive_mutex(): Assertion `res == 0' failed.
This is presumably without even trying to mine, as neither on the commandline nor in any config file did I tell it to mine.
I searched for the error and found this: https://svn.boost.org/trac/boost/ticket/3951It seems that the problem occurred when -O2 or -O3 gcc optimizations were used: "I now also observed that the code works with templates if I compile it with -O1. If -O2 or -O3 is used, the assertion occurs. " along with boost 1.40, 1.41 or 1.42. It did not occur in boost 1.36, and was fixed in boost 1.45.
|
|
|
|
markm
Legendary
Offline
Activity: 2968
Merit: 1102
|
|
December 29, 2011, 08:08:55 AM |
|
My boost libs all seem to be indicating they are boost 1.46.0
-MarkM-
|
|
|
|
doublec
Legendary
Offline
Activity: 1078
Merit: 1005
|
|
December 29, 2011, 08:17:14 AM |
|
My pool is all ready and working 100% with Bitcoin as the parent chain and namecoin and devcoin as aux chains, ive been mining on it all night with my 8 ghash with no problems and have actually solved a name coin block (damn I feel lucky) I missed this, sorry. This means you're not actually mining devcoins at the moment. Your blocks will be created but then orphaned by the network as all the other nodes should reject them. You'll basically be mining your own fork of devcoin. What is the current hashrate of the entire devcoin network? Someone should ask allchains to support it, or provide an equivalent if possible.
|
|
|
|
Unthinkingbit (OP)
|
|
December 29, 2011, 09:13:23 AM |
|
My boost libs all seem to be indicating they are boost 1.46.0
What client GUI do i0coin and namecoin use?
|
|
|
|
|